From: David C. <D. C. <si...@te...> - 2000-04-20 01:52:20
|
I was doing a little video testing, profiling large numbers of blits to the framebuffer, and noticed a few interesting facts... A blit of a 7k bmp from one SWSURFACE to another took less than a millisecond. Woohoo! update_rect((0,0,0,0)) is expensive, but not prohibitivly so. Updating a 640 x 480 surface all at once only took about 20 times longer than updating a 64 x 48 rectangle, in spite of the fact that the surface is 100 times bigger than the rectangle. There was no performance difference between windowed and fullscreen drawing. Blitting a png takes about 50% longer than an identical bmp. (Of course, the png is compressed to 5% of the bmp's size :) Out of curiousity, is anyone able to create a HWSURFACE? I'm simply unable, using the setup below. I realize this is kind of off topic, so feel free to ignore this question :) i586 Celeron 525 Voodoo3 video card XFree86 3.3.5 Kernel 2.2.12 SVGA video driver Preliminary pySDL documentation: http://www3.telus.net/futility/futility/docs/pysdl/index.html -- I'd rather be lost in my empyrean world, Than live down on earth... I can't explain Why I don't belong to this same world - I don't fit in, And I will not stay. - Paula Cole, Saturn Girl |