Applied context restoring
[framework/osp/uifw.git] / src / ui / inc / FUiAnim_DisplayManager.h
index aa74c3c..67205a6 100644 (file)
@@ -49,6 +49,10 @@ public:
        static result ReleaseInstance(void);
        static bool __wakeUpEventAdded;
 
+       // For restoring gl context
+       typedef void (*RestoreContextCallback)(void);
+       static void SetRestoreContextCallback(RestoreContextCallback pRestoreContextCallback);
+       static void RestoreContext(void);
 public:
        _RootVisualElement* CreateRoot(void);
 
@@ -80,6 +84,7 @@ private:
        static int __eventType;
        static void* __pWakeUpEventHandler;
        static _DisplayManager* __pInstance;
+       static RestoreContextCallback __pRestoreContextCallback;
 }; // _DisplayManager
 
 }}} //namespace Tizen { namespace Ui { namespace Animations