diff options
Diffstat (limited to 'include/views/SkOSWindow_Mac.h')
-rw-r--r-- | include/views/SkOSWindow_Mac.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/views/SkOSWindow_Mac.h b/include/views/SkOSWindow_Mac.h index 98e76b0..3a26d5a 100644 --- a/include/views/SkOSWindow_Mac.h +++ b/include/views/SkOSWindow_Mac.h @@ -33,7 +33,12 @@ public: static OSStatus EventHandler(EventHandlerCallRef inHandler, EventRef inEvent, void* userData); - void doPaint(void* ctx); + void doPaint(void* ctx); + + + bool attachGL(const SkBitmap* offscreen); + void detachGL(); + void presentGL(); protected: // overrides from SkEventSink @@ -43,10 +48,12 @@ protected: // overrides from SkView virtual void onAddMenu(const SkOSMenu*); virtual void onSetTitle(const char[]); + private: void* fHWND; void* fHVIEW; + void* fAGLCtx; typedef SkWindow INHERITED; }; |