aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-02 15:38:06 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-02 15:38:06 +0000
commit3b0a8da8a5b484b981cbf73bfbaca1945b5b83c2 (patch)
tree478527450811a6c38e67cd5cf914826a0310104c /include
parent0d831725f6d3e68650c8d3cbcafd7f4986b4b2cc (diff)
Add EGL context for Windows.
Diffstat (limited to 'include')
-rw-r--r--include/utils/SkEGLContext.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/utils/SkEGLContext.h b/include/utils/SkEGLContext.h
index daa0667f8e..77c444e779 100644
--- a/include/utils/SkEGLContext.h
+++ b/include/utils/SkEGLContext.h
@@ -9,8 +9,8 @@
#include <X11/Xlib.h>
#include <GL/glx.h>
#elif defined(SK_BUILD_FOR_WIN32)
- #include <Windows.h>
- #include <GL/GL.h>
+ #include <Windows.h>
+ #include <GL/GL.h>
#else
#endif
@@ -36,6 +36,10 @@ private:
Display *display;
Pixmap pixmap;
GLXPixmap glxPixmap;
+#elif defined(SK_BUILD_FOR_WIN32)
+ HWND fWindow;
+ HDC fDeviceContext;
+ HGLRC fGlRenderContext;
#else
#endif