Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5485)

Issue 6445052: GrClip no longer translates its clips (to better mimic SkClipStack's behavior) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by robertphillips
Modified:
12 years, 4 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

This seemed the cleanest way to get the translation capabilities required for the SkClipStack delivered apart from all the other changes (i.e., dumbing down GrClip a bit)

Patch Set 1 #

Patch Set 2 : Added comments #

Total comments: 5

Patch Set 3 : moved coordinate space xform into contains & streamlined setting of viewMatrix #

Patch Set 4 : updated to r4846 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -91 lines) Patch
M include/gpu/GrClip.h View 1 2 3 2 chunks +5 lines, -13 lines 0 comments Download
M src/gpu/GrClip.cpp View 1 2 3 6 chunks +17 lines, -10 lines 0 comments Download
M src/gpu/GrClipMaskManager.h View 1 2 3 2 chunks +2 lines, -10 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 3 22 chunks +88 lines, -51 lines 0 comments Download
M src/gpu/GrTextContext.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
M tests/ClipCacheTest.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
robertphillips
12 years, 4 months ago (2012-07-27 18:12:10 UTC) #1
bsalomon
http://codereview.appspot.com/6445052/diff/1001/src/gpu/GrClipMaskManager.cpp File src/gpu/GrClipMaskManager.cpp (right): http://codereview.appspot.com/6445052/diff/1001/src/gpu/GrClipMaskManager.cpp#newcode768 src/gpu/GrClipMaskManager.cpp:768: GrMatrix m; I think you can just say: drawState->viewMatrix()->setTranslate(...); ...
12 years, 4 months ago (2012-07-27 18:24:43 UTC) #2
robertphillips
I think we should revisit the canvas-space/device-space issue after we've implemented the logic to prevent ...
12 years, 4 months ago (2012-07-30 12:01:32 UTC) #3
bsalomon
LGTM http://codereview.appspot.com/6445052/diff/1001/src/gpu/GrClipMaskManager.cpp File src/gpu/GrClipMaskManager.cpp (right): http://codereview.appspot.com/6445052/diff/1001/src/gpu/GrClipMaskManager.cpp#newcode774 src/gpu/GrClipMaskManager.cpp:774: } On 2012/07/30 12:01:32, robertphillips wrote: > I ...
12 years, 4 months ago (2012-07-30 12:46:12 UTC) #4
robertphillips
12 years, 4 months ago (2012-07-31 12:18:48 UTC) #5
committed as r4848
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b