[SDL] Just a curious question
slouken at devolution.com
Fri Aug 6 14:14:05 PDT 1999
> Does anyone elses SDL app run much faster as root? All Im doing is creating a
> single surface and doing a direct access to the surface to draw some pixels.
> The surface is just created using SDL_SWSURFACE so it should be in system mem.
> Heres some averages for the user and the root running from TOP. Also when I
> run it as root, the memory the program uses goes from 3megs to 36 megs, whys
This is very strange. Is the application running fullscreen?
If so, it can memory map the video memory (which shows up as app memory)
and set the MTRR range.
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software
"Any sufficiently advanced bug is indistinguishable from a feature"
-- Rich Kulawiec
More information about the SDL