Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: include/gpu/gl/angle/SkANGLEGLContext.h

Issue 947263002: Remove EGL header from SkANGLELContext.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/gl/angle/SkANGLEGLContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/gl/angle/SkANGLEGLContext.h
diff --git a/include/gpu/gl/angle/SkANGLEGLContext.h b/include/gpu/gl/angle/SkANGLEGLContext.h
index 90707011e80c066eaf5a8be97e8c74ff52aad5fb..6705248f25d7984b336a50fadc725801d1276cbb 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
« no previous file with comments | « no previous file | src/gpu/gl/angle/SkANGLEGLContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698