FB commands - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: General (http://qbasicnews.com/newforum/forum-6.html) +--- Forum: General/Misc (http://qbasicnews.com/newforum/forum-18.html) +--- Thread: FB commands (/thread-5840.html) |
FB commands - rayjohn01 - 01-28-2005 It appears that some sdl commands like sdl_delay 5000 , works directly in FB , but sdl_flip does not , but flip does -- any simple explanation -- I am new to FB and sdl. Ray Second question , on my machine , flip appears slow and color depth dependant -- is there any way to avoid flipping the whole screen just because you've drawn a few points -- my question relates to moving graphic objects around under keyboard control -- to see it move you have to flip the screen after each move -- If I am using a full screen and 1024x768 pixels at 8 bit color depth , it is twice as slow at QB4.0 I realise there is a screen difference -- but qb operates at two disadvantages any way , it's only 16 bits and the horizontal scan rate is less for the smaller screen ---- so to me FB should be faster , Any explanation or guidance would be welcome Ray FB commands - Sterling Christensen - 01-28-2005 The next version of FB won't require FLIP anymore, so you won't have to redraw the whole screen - it should be faster. sdl_flip should work if you call it like so: Code: SDL_Flip SDL_GetVideoSurface |