View Single Post
Old 01-24-2012, 01:25 AM   #127
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
It has no problem fitting a 640x480 window on an 800x600 display though:
Code:
[root@kindle test]# ./testblitspeed
SDL_GetVideoInfo():
  hardware surface available: {true}
  window manager available: {false}
  accelerated hardware->hardware blits: {false}
  accelerated hardware->hardware colorkey blits: {false}
  accelerated hardware->hardware alpha blits: {false}
  accelerated software->hardware blits: {false}
  accelerated software->hardware colorkey blits: {false}
  accelerated software->hardware alpha blits: {false}
  accelerated color fills: {false}
  video memory: (1000)

Details for Source Surface:
  width      : 640
  height     : 480
  depth      : 32 bits per pixel
  pitch      : 2560
  alpha      : 255
  colorkey   : 0x0
  red bits   : 0x00FF0000 mask, 16 shift, 0 loss
  green bits : 0x0000FF00 mask, 8 shift, 0 loss
  blue bits  : 0x000000FF mask, 0 shift, 0 loss
  alpha bits : 0x00000000 mask, 0 shift, 8 loss
  flags      : SDL_SWSURFACE

Details for Destination Surface:
  width      : 640
  height     : 480
  depth      : 32 bits per pixel
  pitch      : 2560
  alpha      : 255
  colorkey   : 0x0
  red bits   : 0x00FF0000 mask, 16 shift, 0 loss
  green bits : 0x0000FF00 mask, 8 shift, 0 loss
  blue bits  : 0x000000FF mask, 0 shift, 0 loss
  alpha bits : 0x00000000 mask, 0 shift, 8 loss
  flags      : SDL_SWSURFACE

Testing blit speed for 10 seconds...
Non-blitting crap accounted for 0 percent of this run.
2012 blits took 10039 ms (200 fps).
geekmaster is offline   Reply With Quote