View source for Talk:Smedia Glamo 3362

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Talk:Smedia Glamo 3362.

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 (300 blits)

     128x160 tiles -> 35 FPS (15 blits)

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