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 

Draw buffer and display buffer

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



Joined: 22 Feb 2008
Posts: 10

PostPosted: Sat Apr 05, 2008 5:38 am    Post subject: Draw buffer and display buffer Reply with quote

When attempting to draw parts on the screen rather than clearing the whole screen and re drawing all parts I am currently faced with a problem: all images (except the first screen sized background image) disappear, and then reappear once the I draw the next object. I am sure that this has to do with the draw buffer and display buffer having different contents. This is for an application that does not have a high frame rate (i.e. around 1 frame per second). So my question is:

1. Can I copy pixels from the display buffer to the draw buffer? If so how?

2. When should I be flushing the cache using sceKernelDcacheWritebackAll();?

Thanks
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