diff options
author | 2015-03-17 12:33:33 -0700 | |
---|---|---|
committer | 2015-03-17 12:33:33 -0700 | |
commit | dc963b9264908f53650c40a97cff414101dd3e88 (patch) | |
tree | d5cc25b979332459fcbf794ab343a282f923752b /src/gpu/gl/GrGLCaps.h | |
parent | 9d2049db6e4332d0c35e00b1d7fb075a839205a1 (diff) |
Improve tracking of bound FBOs in GrGLGpu.
Committed: https://skia.googlesource.com/skia/+/d2ad8eb5801e2c8c0fa544a6a776bb46eedde2a0
Committed: https://skia.googlesource.com/skia/+/b2af2d8b83ca4774c3b3bb1e49bc72605faa9589
Committed: https://skia.googlesource.com/skia/+/0b70b86a7e9fda52ee7ebc1b9897eeaa09b9abef
Committed: https://skia.googlesource.com/skia/+/6ba6fa15261be591f33cf0e5df7134e4fc6432ac
Review URL: https://codereview.chromium.org/949263002
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 5 |
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; |