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

Issue 6356058: Left over cleanup from r4416 (fix for lingering AA clip mask bug) (Closed)

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

Description

This CL consolidates duplicate code in the GrClipMaskManager and GrSoftwarePathRender into a helper method in GrSWMaskHelper. Left over from: http://codereview.appspot.com/6351055/

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed code review issues #

Patch Set 3 : fixed variable name #

Total comments: 4

Patch Set 4 : checking that the code is unchanged #

Patch Set 5 : Used isStageEnabled #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -84 lines) Patch
M src/gpu/GrClipMaskManager.cpp View 1 4 1 chunk +8 lines, -29 lines 0 comments Download
M src/gpu/GrSWMaskHelper.h View 1 2 chunks +23 lines, -7 lines 0 comments Download
M src/gpu/GrSWMaskHelper.cpp View 1 2 3 4 1 chunk +47 lines, -14 lines 0 comments Download
M src/gpu/GrSoftwarePathRenderer.cpp View 1 2 chunks +14 lines, -34 lines 0 comments Download

Messages

Total messages: 6
robertphillips
12 years ago (2012-07-03 17:37:11 UTC) #1
bsalomon
http://codereview.appspot.com/6356058/diff/1/src/gpu/GrSWMaskHelper.h File src/gpu/GrSWMaskHelper.h (right): http://codereview.appspot.com/6356058/diff/1/src/gpu/GrSWMaskHelper.h#newcode83 src/gpu/GrSWMaskHelper.h:83: static void DrawTextureOnRect(GrAutoScratchTexture* ast, Let's move your comment from ...
12 years ago (2012-07-03 18:02:50 UTC) #2
robertphillips
I believe this addresses all the earlier issues. http://codereview.appspot.com/6356058/diff/1/src/gpu/GrSWMaskHelper.h File src/gpu/GrSWMaskHelper.h (right): http://codereview.appspot.com/6356058/diff/1/src/gpu/GrSWMaskHelper.h#newcode83 src/gpu/GrSWMaskHelper.h:83: static ...
11 years, 12 months ago (2012-07-09 13:57:28 UTC) #3
bsalomon
LGTM http://codereview.appspot.com/6356058/diff/7/src/gpu/GrSWMaskHelper.cpp File src/gpu/GrSWMaskHelper.cpp (right): http://codereview.appspot.com/6356058/diff/7/src/gpu/GrSWMaskHelper.cpp#newcode212 src/gpu/GrSWMaskHelper.cpp:212: GrAssert(NULL == drawState->getTexture(kPathMaskStage)); I think this should be ...
11 years, 12 months ago (2012-07-09 14:28:28 UTC) #4
TomH
http://codereview.appspot.com/6356058/diff/7/src/gpu/GrSWMaskHelper.cpp File src/gpu/GrSWMaskHelper.cpp (right): http://codereview.appspot.com/6356058/diff/7/src/gpu/GrSWMaskHelper.cpp#newcode212 src/gpu/GrSWMaskHelper.cpp:212: GrAssert(NULL == drawState->getTexture(kPathMaskStage)); Probably so! Well, !isStageEnabled()
11 years, 12 months ago (2012-07-09 14:53:14 UTC) #5
robertphillips
11 years, 12 months ago (2012-07-09 16:33:12 UTC) #6
committed as r4474

http://codereview.appspot.com/6356058/diff/7/src/gpu/GrSWMaskHelper.cpp
File src/gpu/GrSWMaskHelper.cpp (right):

http://codereview.appspot.com/6356058/diff/7/src/gpu/GrSWMaskHelper.cpp#newco...
src/gpu/GrSWMaskHelper.cpp:212: GrAssert(NULL ==
drawState->getTexture(kPathMaskStage));
On 2012/07/09 14:53:14, TomH wrote:
> Probably so!
> Well, !isStageEnabled()

Done.
Sign in to reply to this message.

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