Disable the indirect stroke tessellator
TBR=bsalomon@google.com Bug: skia:10419 Change-Id: I54d1a61e5551670cb905cfc03dfb245b91fc9832 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/414236 Reviewed-by: Chris Dalton <csmartdalton@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
parent
a9109c50fb
commit
c7abc8bfa0
@ -194,6 +194,7 @@ void GrStrokeTessellateOp::prePrepareTessellator(GrPathShader::ProgramArgs&& arg
|
||||
fViewMatrix, &fPathStrokeList,
|
||||
matrixMinMaxScales,
|
||||
strokeCullBounds);
|
||||
#if 0
|
||||
} else if (fTotalCombinedVerbCnt > 50 && !(fShaderFlags & ShaderFlags::kDynamicColor)) {
|
||||
// Only use the log2 indirect tessellator if we're drawing a somewhat large number of verbs
|
||||
// and the stroke doesn't use dynamic color. (The log2 indirect tessellator can't support
|
||||
@ -203,6 +204,7 @@ void GrStrokeTessellateOp::prePrepareTessellator(GrPathShader::ProgramArgs&& arg
|
||||
matrixMinMaxScales,
|
||||
strokeCullBounds,
|
||||
fTotalCombinedVerbCnt, arena);
|
||||
#endif
|
||||
} else {
|
||||
fTessellator = arena->make<GrStrokeFixedCountTessellator>(fShaderFlags, fViewMatrix,
|
||||
&fPathStrokeList,
|
||||
|
Loading…
Reference in New Issue
Block a user