Add support for GL_CHROMIUM_flipy
Review URL: http://codereview.appspot.com/5413051/
git-svn-id: http://skia.googlecode.com/svn/trunk@2723 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrGpuGL.h b/src/gpu/GrGpuGL.h
index 3b8e6d7..eba162e 100644
--- a/src/gpu/GrGpuGL.h
+++ b/src/gpu/GrGpuGL.h
@@ -55,6 +55,7 @@
, fBGRAIsInternalFormat(false)
, fTextureSwizzleSupport(false)
, fUnpackRowLengthSupport(false)
+ , fUnpackFlipYSupport(false)
, fPackRowLengthSupport(false) {
memset(fAASamples, 0, sizeof(fAASamples));
}
@@ -102,6 +103,9 @@
// Is there support for GL_UNPACK_ROW_LENGTH
bool fUnpackRowLengthSupport;
+ // Is there support for GL_UNPACK_FLIP_Y
+ bool fUnpackFlipYSupport;
+
// Is there support for GL_PACK_ROW_LENGTH
bool fPackRowLengthSupport;