aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSurfaceCharacterization.cpp
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-04-26 16:31:38 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-26 21:44:43 +0000
commita070ed7fccd8bc9c5f314e1a4ac090c497862836 (patch)
treeecc4a4e13087343c756472d77385f46b20149653 /src/core/SkSurfaceCharacterization.cpp
parent848271111d6982fc0666fb195da1d9d8d279746e (diff)
Add InternalSurfaceFlag so we know if RenderTargetProxys and RenderTargets use GL FBO 0.
Bug: skia:7748 Change-Id: I2fda3cde12ccdef19fe06ff287a8024b58d28ef0 Reviewed-on: https://skia-review.googlesource.com/124048 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/core/SkSurfaceCharacterization.cpp')
-rw-r--r--src/core/SkSurfaceCharacterization.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkSurfaceCharacterization.cpp b/src/core/SkSurfaceCharacterization.cpp
index b82f2a681f..930e96fc39 100644
--- a/src/core/SkSurfaceCharacterization.cpp
+++ b/src/core/SkSurfaceCharacterization.cpp
@@ -25,6 +25,7 @@ bool SkSurfaceCharacterization::operator==(const SkSurfaceCharacterization& othe
fStencilCnt == other.fStencilCnt &&
fIsTextureable == other.fIsTextureable &&
fIsMipMapped == other.fIsMipMapped &&
+ fUsesGLFBO0 == other.fUsesGLFBO0 &&
fSurfaceProps == other.fSurfaceProps;
}