COMMON: Add a feature flag for toggling fullscreen keeping the same GFX context

This commit is contained in:
Bastien Bouclet 2017-08-26 22:13:25 +02:00
parent d645bbcefd
commit 9214605e13

View File

@ -331,6 +331,19 @@ public:
*/
kFeatureVSync,
/**
* When a backend supports this feature, it guarantees the graphics
* context is not destroyed when switching to and from fullscreen.
*
* For OpenGL that means the context is kept with all of its content:
* texture, programs...
*
* For TinyGL that means the backbuffer surface is kept.
*
* ResidualVM specific
*/
kFeatureFullscreenToggleKeepsContext,
/**
* The presence of this feature indicates whether the displayLogFile()
* call is supported.