diff options
author | 2015-02-23 10:51:13 -0800 | |
---|---|---|
committer | 2015-02-23 10:51:13 -0800 | |
commit | 93276c683d383142dfad31a01c6fdb1c810b6c1f (patch) | |
tree | e3b9fdc6e1a4e65d0153551380eb19a93321ccec /include/gpu/gl/angle | |
parent | 44906c66285b81d641e692bde6ec5c8f010e30b6 (diff) |
Remove EGL header from SkANGLELContext.h
TBR=egdaniel@google.com
Review URL: https://codereview.chromium.org/947263002
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 |