Draw buffer and display buffer

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
jpspe
Posts: 10
Joined: Fri Feb 22, 2008 8:30 am

Draw buffer and display buffer

Post by jpspe »

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
Post Reply