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

Issue 1131553002: Isolate GrBufferAllocPools inside GrBatchTarget (Closed)

Created:
5 years, 7 months ago by robertphillips
Modified:
5 years, 7 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Isolate GrBufferAllocPools inside GrBatchTarget This CL refactors the location of the GrBufferAllocPools so they reside entirely inside the GrBatchTarget. This is in preparation for making them use scratch resources. Committed: https://skia.googlesource.com/skia/+/e40d39725908d99d255496025411e5c9ca32663e

Patch Set 1 #

Patch Set 2 : update to ToT #

Patch Set 3 : Update #

Patch Set 4 : Remove tunnelling #

Patch Set 5 : minor cleanup #

Total comments: 2

Patch Set 6 : Address code review comments #

Patch Set 7 : update to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -206 lines) Patch
M gm/beziereffects.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M gm/convexpolyeffect.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M include/gpu/GrContext.h View 1 2 3 4 5 6 4 chunks +0 lines, -6 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 3 chunks +4 lines, -12 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.cpp View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 2 3 3 chunks +4 lines, -9 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/GrAtlasTextContext.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
M src/gpu/GrBatch.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/GrBatch.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrBatchTarget.h View 1 2 3 4 5 4 chunks +19 lines, -12 lines 0 comments Download
M src/gpu/GrBatchTarget.cpp View 1 2 3 2 chunks +25 lines, -5 lines 0 comments Download
M src/gpu/GrBufferAllocPool.cpp View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M src/gpu/GrCommandBuilder.h View 1 2 3 4 1 chunk +1 line, -7 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 11 chunks +9 lines, -51 lines 0 comments Download
M src/gpu/GrDefaultPathRenderer.cpp View 1 2 3 4 5 6 3 chunks +3 lines, -8 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 2 3 4 5 chunks +4 lines, -13 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 4 5 6 3 chunks +1 line, -13 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/GrInOrderCommandBuilder.h View 1 2 3 1 chunk +1 line, -5 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 1 2 3 1 chunk +1 line, -7 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 1 chunk +3 lines, -8 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/GrPrimitiveProcessor.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/GrTargetCommands.h View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download
M src/gpu/GrTargetCommands.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M src/gpu/GrTessellatingPathRenderer.cpp View 1 2 1 chunk +1 line, -5 lines 0 comments Download
M src/gpu/GrTest.cpp View 1 2 3 2 chunks +1 line, -6 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 21 (9 generated)
robertphillips
5 years, 7 months ago (2015-05-07 13:00:47 UTC) #2
bsalomon
Really nice to see the removal of the pools from all these layers! https://codereview.chromium.org/1131553002/diff/80001/src/gpu/GrBatchTarget.h File ...
5 years, 7 months ago (2015-05-07 14:28:40 UTC) #3
robertphillips
https://codereview.chromium.org/1131553002/diff/80001/src/gpu/GrBatchTarget.h File src/gpu/GrBatchTarget.h (right): https://codereview.chromium.org/1131553002/diff/80001/src/gpu/GrBatchTarget.h#newcode129 src/gpu/GrBatchTarget.h:129: void unmap() { On 2015/05/07 14:28:40, bsalomon wrote: > ...
5 years, 7 months ago (2015-05-07 14:34:21 UTC) #4
bsalomon
lgtm
5 years, 7 months ago (2015-05-07 14:44:34 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131553002/100001
5 years, 7 months ago (2015-05-07 15:04:48 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 15:10:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131553002/100001
5 years, 7 months ago (2015-05-07 15:25:01 UTC) #11
commit-bot: I haz the power
Failed to apply patch for src/gpu/GrDefaultPathRenderer.cpp: While running git apply --index -3 -p1; error: patch ...
5 years, 7 months ago (2015-05-07 15:25:16 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131553002/120001
5 years, 7 months ago (2015-05-07 15:28:21 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 15:38:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131553002/120001
5 years, 7 months ago (2015-05-07 16:51:12 UTC) #20
commit-bot: I haz the power
5 years, 7 months ago (2015-05-07 16:51:47 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/e40d39725908d99d255496025411e5c9ca32663e

Powered by Google App Engine
This is Rietveld 408576698