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

Issue 6300070: Split GrContext's AA Rect drawing methods into helper class (Closed)

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

Description

Simple refactoring to split these into their own file in preparation for reuse by the AA Clip mask code.

Patch Set 1 #

Patch Set 2 : Fixed file header comments #

Total comments: 9

Patch Set 3 : Made GrAARectRenderer ref countable #

Patch Set 4 : Renamed cleanUp method #

Patch Set 5 : Added call to reset to freeGpuResources #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -239 lines) Patch
M gm/gmmain.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gyp/gpu.gyp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M include/core/SkInstCnt.h View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
A include/gpu/GrAARectRenderer.h View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 2 chunks +2 lines, -17 lines 0 comments Download
A src/gpu/GrAARectRenderer.cpp View 1 2 3 1 chunk +237 lines, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 6 chunks +10 lines, -217 lines 0 comments Download

Messages

Total messages: 7
robertphillips
12 years, 4 months ago (2012-06-08 12:35:07 UTC) #1
bsalomon
Could we make the name a little more specific than "Helper" (e.g. GrAARectRenderer)? http://codereview.appspot.com/6300070/diff/2001/include/gpu/GrAARectHelper.h File ...
12 years, 4 months ago (2012-06-08 13:22:16 UTC) #2
robertphillips
This version renames the class as suggested and makes it ref countable. http://codereview.appspot.com/6300070/diff/2001/include/gpu/GrAARectHelper.h File include/gpu/GrAARectHelper.h ...
12 years, 3 months ago (2012-06-11 18:34:40 UTC) #3
bsalomon
http://codereview.appspot.com/6300070/diff/2001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/6300070/diff/2001/src/gpu/GrContext.cpp#newcode84 src/gpu/GrContext.cpp:84: fAARectHelper.cleanUp(); On 2012/06/11 18:34:40, robertphillips wrote: > Done - ...
12 years, 3 months ago (2012-06-11 19:12:32 UTC) #4
robertphillips
http://codereview.appspot.com/6300070/diff/2001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/6300070/diff/2001/src/gpu/GrContext.cpp#newcode84 src/gpu/GrContext.cpp:84: fAARectHelper.cleanUp(); I have renamed the function to reset. I ...
12 years, 3 months ago (2012-06-11 19:52:32 UTC) #5
bsalomon
Let's call reset() from freeGpuResources, then LGTM On 2012/06/11 19:52:32, robertphillips wrote: > http://codereview.appspot.com/6300070/diff/2001/src/gpu/GrContext.cpp > ...
12 years, 3 months ago (2012-06-11 19:59:43 UTC) #6
robertphillips
12 years, 3 months ago (2012-06-12 00:33:09 UTC) #7
committed as r4233
Sign in to reply to this message.

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