diff options
author | 2015-01-13 13:13:59 -0800 | |
---|---|---|
committer | 2015-01-13 13:13:59 -0800 | |
commit | 3c1096fc0740a1b572fdae6f879ac62d516ebc39 (patch) | |
tree | 9967c5e67b5101ca1992d43ff7a5a024c7641227 /src/gpu/gl/GrGLCaps.h | |
parent | bb928a0c0a4ddc11b05771e9eaa33f1058cc022a (diff) |
fix for FB fetch on nexus 10 ES3.0
BUG=skia:3304
Review URL: https://codereview.chromium.org/807143006
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 4 |
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; |