On May 30, 08 20:43:39 +0200, Stefan Dösinger wrote: > Am Freitag, 30. Mai 2008 19:57:32 schrieb Matthias Hopf: > > At least on suspend to RAM many GPUs can probably be programmed to keep > > VRAM contents alive. In that case you wouldn't have to save that data > > as well. > It's a bit far fetched and probably out of question here, but Direct3D has > the > concept of a "lost device" for cases like that. Whenever the video memory
AFAIR this concept has been nuked with D3D10, because it created too many issues with the 3D clients. AFAIK You get a "lost device" also if you changed from a fullscreen 3D app to the desktop. > Now OpenGL doesn't have that, apps rely on opengl to restore their textures. > However, it might be an option to add an extension which allows apps to tell > the GL implementation that it can deal with lost resources. If non-game apps > like Compiz support this, it would be enough to improve the suspend > performance considerably. Agreed. Matthias -- Matthias Hopf <[EMAIL PROTECTED]> __ __ __ Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ [EMAIL PROTECTED] Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
