forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SDL problem

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Nige



Joined: 29 Sep 2005
Posts: 10

PostPosted: Thu Nov 03, 2005 7:25 am    Post subject: SDL problem Reply with quote

It looks like the latest update to SDL has broken something. What was a normal SDL application is now a flickering mess - I think it's due to the newly-added sceGuSync in PSP_FlipHWSurface. Can someone verify?

--Edit: Sorry, it wasn't a problem in SDL after all! D'oh.
Back to top
View user's profile Send private message Visit poster's website
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Thu Nov 03, 2005 12:51 pm    Post subject: Reply with quote

Until SDL waits on VBlank there might be some tearing in SDL apps. As a temporary solution I'd suggest waiting on vblank before a Flip or UpdateRects.

It is possible that moving sceGuSync to FlipHWSurface has caused an issue with certain combinations of screen updates ie: hw accelerated blits + anything else. Perhaps LockHWSurface also needs a sceGuSync (maybe it should lock the surface as well).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group