Revert "Don't require AA in order to use shader-based clips"
This reverts commit 2596567793
.
TBR=robertphillips@google.com
Review URL: https://codereview.chromium.org/981723009
This commit is contained in:
parent
5c518a8622
commit
55f0b18ee0
@ -292,7 +292,8 @@ bool GrClipMaskManager::setupClipping(GrPipelineBuilder* pipelineBuilder,
|
||||
SkVector clipToRTOffset = { SkIntToScalar(-clip.origin().fX),
|
||||
SkIntToScalar(-clip.origin().fY) };
|
||||
if (elements.isEmpty() ||
|
||||
this->installClipEffects(pipelineBuilder, arfp, elements, clipToRTOffset, devBounds)) {
|
||||
(requiresAA && this->installClipEffects(pipelineBuilder, arfp, elements, clipToRTOffset,
|
||||
devBounds))) {
|
||||
SkIRect scissorSpaceIBounds(clipSpaceIBounds);
|
||||
scissorSpaceIBounds.offset(-clip.origin());
|
||||
if (NULL == devBounds ||
|
||||
|
Loading…
Reference in New Issue
Block a user