aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-03-17 12:33:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-17 12:33:33 -0700
commitdc963b9264908f53650c40a97cff414101dd3e88 (patch)
treed5cc25b979332459fcbf794ab343a282f923752b /src/gpu/gl/GrGLCaps.h
parent9d2049db6e4332d0c35e00b1d7fb075a839205a1 (diff)
Improve tracking of bound FBOs in GrGLGpu.
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r--src/gpu/gl/GrGLCaps.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index 1b77ed0e32..932e66fdfc 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -267,6 +267,10 @@ public:
bool fullClearIsFree() const { return fFullClearIsFree; }
bool dropsTileOnZeroDivide() const { return fDropsTileOnZeroDivide; }
+
+ bool preferBindingToReadAndDrawFramebuffer() const {
+ return fPreferBindingToReadAndDrawFramebuffer;
+ }
/**
* Returns a string containing the caps info.
@@ -389,6 +393,7 @@ private:
bool fDropsTileOnZeroDivide : 1;
bool fFBFetchSupport : 1;
bool fFBFetchNeedsCustomOutput : 1;
+ bool fPreferBindingToReadAndDrawFramebuffer : 1;
const char* fFBFetchColorName;
const char* fFBFetchExtensionString;