aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2017-11-03 23:09:34 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-06 16:40:39 +0000
commite4aa0c4207c4bd8b4b63ed520f36110c71a9b062 (patch)
tree36f56c0c9f66564f3138cab9162cf7c05dbf42e8 /src
parent9f545bc18a1fdff64d40104028c6d8449e660a6e (diff)
Disable CCPR while we sort out clipping
The current usage of CCPR by clipping code is suboptimal. This is causing regressions on the bots and projects like Flutter that make heavy use of clipPath. Disabling CCPR while we fix it up. Bug: skia:7190 Bug: flutter:12839 Change-Id: I03af5249b53cf2eab5a13d85a5f87708030c8666 Reviewed-on: https://skia-review.googlesource.com/67920 Reviewed-by: Derek Sollenberger <djsollen@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp b/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp
index ee14c94eb4..73b7e75307 100644
--- a/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp
+++ b/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp
@@ -23,9 +23,6 @@ using DrawPathsOp = GrCoverageCountingPathRenderer::DrawPathsOp;
using ScissorMode = GrCCPRCoverageOpsBuilder::ScissorMode;
bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps) {
-#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- return false;
-#else
const GrShaderCaps& shaderCaps = *caps.shaderCaps();
return shaderCaps.geometryShaderSupport() &&
shaderCaps.texelBufferSupport() &&
@@ -37,7 +34,6 @@ bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps) {
caps.isConfigRenderable(kAlpha_half_GrPixelConfig, /*withMSAA=*/false) &&
GrCaps::kNone_MapFlags != caps.mapBufferFlags() &&
!caps.blacklistCoverageCounting();
-#endif // SK_BUILD_FOR_ANDROID_FRAMEWORK
}
sk_sp<GrCoverageCountingPathRenderer>