aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-01-13 13:13:59 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-13 13:13:59 -0800
commit3c1096fc0740a1b572fdae6f879ac62d516ebc39 (patch)
tree9967c5e67b5101ca1992d43ff7a5a024c7641227 /src/gpu/gl/GrGLCaps.h
parentbb928a0c0a4ddc11b05771e9eaa33f1058cc022a (diff)
fix for FB fetch on nexus 10 ES3.0
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r--src/gpu/gl/GrGLCaps.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index 7ccb1d9f5d..77baf38a96 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -172,6 +172,8 @@ public:
*/
bool fbFetchSupport() const { return fFBFetchSupport; }
+ bool fbFetchNeedsCustomOutput() const { return fFBFetchNeedsCustomOutput; }
+
const char* fbFetchColorName() const { return fFBFetchColorName; }
const char* fbFetchExtensionString() const { return fFBFetchExtensionString; }
@@ -372,8 +374,8 @@ private:
bool fIsCoreProfile : 1;
bool fFullClearIsFree : 1;
bool fDropsTileOnZeroDivide : 1;
- // TODO(joshualitt) encapsulate the FB Fetch logic in a feature object
bool fFBFetchSupport : 1;
+ bool fFBFetchNeedsCustomOutput : 1;
const char* fFBFetchColorName;
const char* fFBFetchExtensionString;