Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Issue 1355353002: Create GrDraw and start fast pathing src over rects (Closed)

Created:
5 years, 3 months ago by joshua.litt
Modified:
4 years, 11 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@strokerect2
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Create GrDraw and start fast pathing src over rects BUG=skia:

Patch Set 1 #

Patch Set 2 : tweak #

Patch Set 3 : minor move #

Patch Set 4 : add memory management on batch #

Patch Set 5 : rebase #

Total comments: 45

Patch Set 6 : feedback incorporated #

Patch Set 7 : tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+528 lines, -69 lines) Patch
M gyp/gpu.gypi View 1 chunk +6 lines, -0 lines 0 comments Download
M include/gpu/GrDrawContext.h View 1 2 3 4 5 6 3 chunks +9 lines, -5 lines 0 comments Download
M src/gpu/GrAtlasTextContext.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 3 4 5 3 chunks +16 lines, -3 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 5 chunks +8 lines, -11 lines 0 comments Download
M src/gpu/batches/GrAAFillRectBatch.h View 1 2 3 4 5 1 chunk +4 lines, -6 lines 0 comments Download
M src/gpu/batches/GrAAFillRectBatch.cpp View 1 2 3 4 5 4 chunks +36 lines, -31 lines 0 comments Download
M src/gpu/batches/GrBatch.h View 1 2 3 4 5 3 chunks +13 lines, -0 lines 0 comments Download
M src/gpu/batches/GrBatch.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/batches/GrNonAAFillRectBatch.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/gpu/batches/GrNonAAFillRectBatch.cpp View 1 2 3 4 5 1 chunk +8 lines, -4 lines 0 comments Download
M src/gpu/batches/GrNonAAStrokeRectBatch.h View 2 chunks +4 lines, -1 line 0 comments Download
M src/gpu/batches/GrRectBatchFactory.h View 3 chunks +13 lines, -4 lines 0 comments Download
M src/gpu/batches/GrTInstanceBatch.h View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
A src/gpu/draws/GrDraw.h View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download
A + src/gpu/draws/GrDraw.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
A src/gpu/draws/GrDrawRect.h View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
A src/gpu/draws/GrDrawRect.cpp View 1 2 3 4 5 1 chunk +245 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
joshualitt
okay, the only thing left really to do is to move the storage for the ...
5 years, 3 months ago (2015-09-22 19:43:16 UTC) #2
bsalomon
https://codereview.chromium.org/1355353002/diff/80001/src/gpu/batches/GrBatch.h File src/gpu/batches/GrBatch.h (right): https://codereview.chromium.org/1355353002/diff/80001/src/gpu/batches/GrBatch.h#newcode115 src/gpu/batches/GrBatch.h:115: template <class T> T* getSnapStorage() { Can we do ...
5 years, 3 months ago (2015-09-23 13:49:38 UTC) #3
robertphillips
https://codereview.chromium.org/1355353002/diff/80001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/1355353002/diff/80001/src/gpu/SkGpuDevice.cpp#newcode509 src/gpu/SkGpuDevice.cpp:509: Where did this use to get handled ? https://codereview.chromium.org/1355353002/diff/80001/src/gpu/batches/GrAAFillRectBatch.cpp ...
5 years, 2 months ago (2015-09-25 12:48:49 UTC) #4
joshualitt
feedback incorporated, I also got rid of the virtual call to execute. There are three ...
5 years, 2 months ago (2015-09-25 18:17:13 UTC) #5
robertphillips
5 years, 2 months ago (2015-09-25 20:00:35 UTC) #6
https://codereview.chromium.org/1355353002/diff/80001/src/gpu/draws/GrDrawRec...
File src/gpu/draws/GrDrawRect.cpp (right):

https://codereview.chromium.org/1355353002/diff/80001/src/gpu/draws/GrDrawRec...
src/gpu/draws/GrDrawRect.cpp:25: 
On 2015/09/25 18:17:13, joshualitt wrote:
> On 2015/09/25 12:48:49, robertphillips wrote:
> > AAStroke
> > AAFill
> > BWStroke
> > BWFill
> > 
> > ?
> 
> Brian doesn't like BW

I proposing a reordering not a renaming.

Powered by Google App Engine
This is Rietveld 408576698