aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-02 15:25:12 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-02 15:25:12 +0000
commit2b64f84b4b188c94eec7fff96081e85d435a92d8 (patch)
tree7ed5a28102d8a8a3fa1ea3f7db644d72f85d0498 /include
parent4e3875348b2cc33f40cd86442d4d1a29b25dcf93 (diff)
Add SkNativeGLContext implementation for iOS.
R=caryclark@google.com Review URL: https://codereview.appspot.com/6589055 git-svn-id: http://skia.googlecode.com/svn/trunk@5767 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/gpu/gl/SkNativeGLContext.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gpu/gl/SkNativeGLContext.h b/include/gpu/gl/SkNativeGLContext.h
index 36461ba7b2..52118da86e 100644
--- a/include/gpu/gl/SkNativeGLContext.h
+++ b/include/gpu/gl/SkNativeGLContext.h
@@ -12,7 +12,6 @@
#if defined(SK_BUILD_FOR_MAC)
#include <AGL/agl.h>
-
#elif defined(SK_BUILD_FOR_ANDROID)
#include <GLES2/gl2.h>
#include <EGL/egl.h>
@@ -51,6 +50,8 @@ public:
EGLContext fOldEGLContext;
EGLDisplay fOldDisplay;
EGLSurface fOldSurface;
+ #elif defined(SK_BUILD_FOR_IOS)
+ void* fEAGLContext;
#endif
};
@@ -75,6 +76,8 @@ private:
EGLContext fContext;
EGLDisplay fDisplay;
EGLSurface fSurface;
+#elif defined(SK_BUILD_FOR_IOS)
+ void* fEAGLContext;
#endif
};