diff options
Diffstat (limited to 'include/views/SkOSWindow_Mac.h')
-rw-r--r-- | include/views/SkOSWindow_Mac.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/views/SkOSWindow_Mac.h b/include/views/SkOSWindow_Mac.h index b09f1dd5e4..01fa29f334 100644 --- a/include/views/SkOSWindow_Mac.h +++ b/include/views/SkOSWindow_Mac.h @@ -19,9 +19,15 @@ public: virtual bool onDispatchClick(int x, int y, Click::State state, void* owner); - void detachGL(); - bool attachGL(); - void presentGL(); + + enum SkBackEndTypes { + kNone_BackEndType, + kNativeGL_BackEndType, + }; + + void detach(); + bool attach(SkBackEndTypes attachType); + void present(); protected: // overrides from SkEventSink |