[SDL] SDL_BlitSurface and getpixel(): Windows Vs Linux

Sam Lantinga slouken at devolution.com
Tue Jul 30 10:55:01 PDT 2002

> I'm no expert w/ SDL, but I think I can partially answer this. I assume
> that with Mandrake your getpixel test is accessing pixels on a software
> surface, and your Windows XP getpixel test is accessing pixels on a
> hardware surface, that would explain the differences in those times.
> Somebody correct me if I'm wrong. Is that what's going on? Do you have
> software surfaces in Mandrake and hardware surfaces in Windows XP?
> Because as far as I understand it, accessing pixels, like a getpixel
> test would do, is much quicker to a software surface than to a hardware
> surface, since it has to go through the PCI/AGI bus. Right?

Yep, that's correct.

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment

More information about the SDL mailing list