PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GDERR_BACKBUFFERLOST

how can i get GDERR_BACKBUFFERLOST without flipping the display ? (m_display.Flip() == GDERR_BACKBUFFERLOST))


thanks
Can you please explain your problem in more detail?
I think he wants to know if we can find out if the backbuffer has been lost without actually flipping the display, with a IsBackbufferLost() function maybe?

I don't think there is such a function in the current GapiDraw. Am I right?

--Eric
Ok.. This will be adressed in the next beta. SurfacesLost() will be added. I might as well throw in a BackBufferLost() as well. Right now one has to check the result code of each Blt if surfaces have been lost (if using full screen hardware acceleration). The next beta will simplify this with a simple check which can result in a call to CreateSurfaces() or whatever.

Please let me know if you need a quick fix. I could wrap up a new betarelease in a matter of hours...
hi johan!

would be great if you can do this in your next release. but it doesn´t hurry now. if you can do
this in the next two month it would be great.

thanks for your help and fast reply.

ITT
Right now one has to check the result code of each Blt if surfaces have been lost (if using full screen hardware acceleration).


Is this only for the PC or for all devices as well? I was unaware of this :(

Thanks.
Only PC.. Only in full screen... Only with 1.10..
can you post the link where i can download last release.
thanks ITT
Regarding the lost surfaces:

Only PC.. Only in full screen... Only with 1.10..


In the case that Blt or BltFast returns lost surface, is reloading manually all the surfaces the only solution?

Thanks!

--Eric
You don't need to re-create the surfaces.. But the contents of them may have been modified if they are stored in video memory.