aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.h
diff options
context:
space:
mode:
authorGravatar cblume <cblume@chromium.org>2016-03-01 14:08:28 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-01 14:08:28 -0800
commit09bd2c09b6b36737df289fdb5fa38c280162cbb8 (patch)
tree76b2cf57c1bb6e5a6890b3b98f4c7e1a09624e0c /src/gpu/gl/GrGLCaps.h
parent5b9ad7620b36858f99fef0763d7fc04d024fd71d (diff)
Disabling calls to TexParameteri when the values do not exist on ES2.
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r--src/gpu/gl/GrGLCaps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index 724bab6258..06deaafae1 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -342,6 +342,8 @@ public:
*/
bool srgbWriteControl() const { return fSRGBWriteControl; }
+ bool mipMapLevelAndLodControlSupport() const { return fMipMapLevelAndLodControlSupport; }
+
/**
* Returns a string containing the caps info.
*/
@@ -418,6 +420,7 @@ private:
bool fExternalTextureSupport : 1;
bool fRectangleTextureSupport : 1;
bool fTextureSwizzleSupport : 1;
+ bool fMipMapLevelAndLodControlSupport : 1;
BlitFramebufferSupport fBlitFramebufferSupport;