diff options
Diffstat (limited to 'include/gpu/gl/angle')
-rw-r--r-- | include/gpu/gl/angle/SkANGLEGLContext.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/gpu/gl/angle/SkANGLEGLContext.h b/include/gpu/gl/angle/SkANGLEGLContext.h index 90707011e8..6705248f25 100644 --- a/include/gpu/gl/angle/SkANGLEGLContext.h +++ b/include/gpu/gl/angle/SkANGLEGLContext.h @@ -12,8 +12,6 @@ #include "gl/SkGLContext.h" -#include <EGL/egl.h> - class SkANGLEGLContext : public SkGLContext { public: ~SkANGLEGLContext() SK_OVERRIDE; @@ -32,15 +30,16 @@ public: return ctx; } - static EGLDisplay GetD3DEGLDisplay(EGLNativeDisplayType nativeDisplay); + // The param is an EGLNativeDisplayType and the return is an EGLDispay. + static void* GetD3DEGLDisplay(void* nativeDisplay); private: SkANGLEGLContext(); void destroyGLContext(); - EGLContext fContext; - EGLDisplay fDisplay; - EGLSurface fSurface; + void* fContext; + void* fDisplay; + void* fSurface; }; #endif |