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

Issue 6221065: Remove SoftwarePathRenderer from GrContext's path renderer chain (Closed)

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

Description

Next step in refactoring SW-only clip mask creation logic (i.e., useSWOnlyPath)

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -14 lines) Patch
M include/gpu/GrContext.h View 3 chunks +4 lines, -1 line 0 comments Download
M src/gpu/GrAddPathRenderers_default.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 4 chunks +5 lines, -6 lines 0 comments Download
M src/gpu/GrContext.cpp View 8 chunks +29 lines, -6 lines 6 comments Download

Messages

Total messages: 3
robertphillips
12 years, 6 months ago (2012-05-22 21:45:09 UTC) #1
bsalomon
LGTM, you an choose whether to pay attention to any my nits or not. http://codereview.appspot.com/6221065/diff/1/src/gpu/GrContext.cpp ...
12 years, 6 months ago (2012-05-23 12:35:21 UTC) #2
robertphillips
12 years, 6 months ago (2012-05-23 13:19:51 UTC) #3
committed as r4036

http://codereview.appspot.com/6221065/diff/1/src/gpu/GrContext.cpp
File src/gpu/GrContext.cpp (right):

http://codereview.appspot.com/6221065/diff/1/src/gpu/GrContext.cpp#newcode1938
src/gpu/GrContext.cpp:1938: if (NULL == fSoftwarePathRenderer) {
On 2012/05/23 12:35:21, bsalomon wrote:
> very minor, but should we put this in the if below? No need to create it if we
> never need it. 

Done.

http://codereview.appspot.com/6221065/diff/1/src/gpu/GrContext.cpp#newcode1947
src/gpu/GrContext.cpp:1947: return fSoftwarePathRenderer;
Done - used second variant.

http://codereview.appspot.com/6221065/diff/1/src/gpu/GrContext.cpp#newcode2010
src/gpu/GrContext.cpp:2010: : fPathRendererChain(NULL)
On 2012/05/23 12:35:21, bsalomon wrote:
> nit: why are these singled out for being initialized differently then
everything
> else? I don't really have a pref for init lists or not (and find the ordering
> warnings particularly annoying for POD members), but this seems a bit
arbitrary.
> 

Done.
Sign in to reply to this message.

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