Talk:Smedia Glamo 3362

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
  
 
You can try it for xlib. Scale bg.png up an down. You will notice the difference
 
You can try it for xlib. Scale bg.png up an down. You will notice the difference
Link to source: [http://astabs.de/playground/xblit.tar.gz]
+
Link to source: [http://astabs.de/playground/blits.tar.gz]
  
 
----
 
----

Revision as of 22:57, 27 July 2010

Blitting with hardware acceleration is only supported in xlib NOT in SDL. The Size of the tiles should be big. I used 128x160 in a 640x480 resolution. Speed tests:

SDL: 32x32 tiles -> 13 FPS

     128x160 tiles -> 3 FPS


xlib: 32x32 tiles -> 12-13 FPS

     128x160 tiles -> 35 FPS

You can try it for xlib. Scale bg.png up an down. You will notice the difference Link to source: [1]


Personal tools

Blitting with hardware acceleration is only supported in xlib NOT in SDL. The Size of the tiles should be big. I used 128x160 in a 640x480 resolution. Speed tests:

SDL: 32x32 tiles -> 13 FPS

     128x160 tiles -> 3 FPS


xlib: 32x32 tiles -> 12-13 FPS

     128x160 tiles -> 35 FPS

You can try it for xlib. Scale bg.png up an down. You will notice the difference Link to source: [1]