aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLDefines.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-19 19:06:09 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-19 19:06:09 +0000
commitf3a60c09b975f50bbd14215df10effffd2fd46e8 (patch)
treecbe688acf9cdecd769c92a7f3fbe860eb399711b /src/gpu/gl/GrGLDefines.h
parent4c75f241cb75f202cfa51569ba8dc4749a28a9f7 (diff)
Add support for IMG's MSAA extension.
Review URL: https://codereview.chromium.org/12875005 git-svn-id: http://skia.googlecode.com/svn/trunk@8241 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGLDefines.h')
-rw-r--r--src/gpu/gl/GrGLDefines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLDefines.h b/src/gpu/gl/GrGLDefines.h
index e0e8398795..2ab9570818 100644
--- a/src/gpu/gl/GrGLDefines.h
+++ b/src/gpu/gl/GrGLDefines.h
@@ -658,6 +658,8 @@
#define GR_GL_DEPTH24_STENCIL8 0x88F0
#define GR_GL_MAX_SAMPLES 0x8D57
+// GL_IMG_multisampled_render_to_texture uses a different value for GL_MAX_SAMPLES
+#define GR_GL_MAX_SAMPLES_IMG 0x9135
#define GR_GL_RENDERBUFFER_WIDTH 0x8D42
#define GR_GL_RENDERBUFFER_HEIGHT 0x8D43