diff options
author | joshualitt <joshualitt@chromium.org> | 2015-02-23 14:44:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-23 14:44:58 -0800 |
commit | 44701df5ce572ac3cccec785cf52103d3d5d14a5 (patch) | |
tree | b2f3b5465cc8490261163006376c7f7a30b5399e /gm/texturedomaineffect.cpp | |
parent | 98c251bc7eec5aa236700d9936c740f2744788db (diff) |
Move clip off of draw target
BUG=skia:
Review URL: https://codereview.chromium.org/947443003
Diffstat (limited to 'gm/texturedomaineffect.cpp')
-rw-r--r-- | gm/texturedomaineffect.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp index d39375b3a2..72a5839632 100644 --- a/gm/texturedomaineffect.cpp +++ b/gm/texturedomaineffect.cpp @@ -130,7 +130,9 @@ protected: pipelineBuilder.setRenderTarget(rt); pipelineBuilder.addColorProcessor(fp); - tt.target()->drawSimpleRect(&pipelineBuilder, GrColor_WHITE, viewMatrix, + tt.target()->drawSimpleRect(&pipelineBuilder, + GrColor_WHITE, + viewMatrix, renderRect); x += renderRect.width() + kTestPad; } |