commit | 09bd2c09b6b36737df289fdb5fa38c280162cbb8 | [log] [tgz] |
---|---|---|
author | cblume <cblume@chromium.org> | Tue Mar 01 14:08:28 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Mar 01 14:08:28 2016 -0800 |
tree | 76b2cf57c1bb6e5a6890b3b98f4c7e1a09624e0c | |
parent | 5b9ad7620b36858f99fef0763d7fc04d024fd71d [diff] [blame] |
Disabling calls to TexParameteri when the values do not exist on ES2. BUG=590804 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1750833003 Review URL: https://codereview.chromium.org/1750833003
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index 724bab6..06deaaf 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h
@@ -342,6 +342,8 @@ */ bool srgbWriteControl() const { return fSRGBWriteControl; } + bool mipMapLevelAndLodControlSupport() const { return fMipMapLevelAndLodControlSupport; } + /** * Returns a string containing the caps info. */ @@ -418,6 +420,7 @@ bool fExternalTextureSupport : 1; bool fRectangleTextureSupport : 1; bool fTextureSwizzleSupport : 1; + bool fMipMapLevelAndLodControlSupport : 1; BlitFramebufferSupport fBlitFramebufferSupport;