Merge branch 'master' into blender2.8
[blender.git] / intern / ghost / intern / GHOST_SystemWin32.h
index 03c9344..e1fd82e 100644 (file)
@@ -132,6 +132,21 @@ public:
            const bool exclusive = false,
            const GHOST_TEmbedderWindowID parentWindow = 0);
 
+
+       /**
+        * Create a new offscreen context.
+        * Never explicitly delete the window, use disposeContext() instead.
+        * \return  The new context (or 0 if creation failed).
+        */
+       GHOST_IContext *createOffscreenContext();
+
+       /**
+        * Dispose of a context.
+        * \param   context Pointer to the context to be disposed.
+        * \return  Indication of success.
+        */
+       GHOST_TSuccess disposeContext(GHOST_IContext *context);
+
        /***************************************************************************************
         ** Event management functionality
         ***************************************************************************************/