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

Issue 1407883004: Remove GrPipelineBuilder from getPathRenderer call (Closed)

Created:
5 years, 1 month ago by robertphillips
Modified:
5 years, 1 month 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

Remove GrPipelineBuilder from getPathRenderer call Logically this CL: Moves the PathRendererChain from GrContext to GrDrawManager - this was needed to untangled the Path-Chain/Renderer header mess - this entailed adding getDrawingMgr so the CMM could access the PathRenderingChain - this also entailed re-adding freeGpuResources to the GrDrawingMgr Moves the CanDrawArgs struct up stack Removes the GrPipelineBuilder from the CanDrawArgs struct Committed: https://skia.googlesource.com/skia/+/687378229aecefc0ab7e639181593774ec8a4290

Patch Set 1 #

Total comments: 2

Patch Set 2 : update to ToT #

Patch Set 3 : Propagate parameter struct up-stack #

Patch Set 4 : Hide GrContext::drawingManager entry point #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -242 lines) Patch
M gyp/gpu.gypi View 1 2 2 chunks +1 line, -1 line 0 comments Download
M include/gpu/GrContext.h View 1 2 3 6 chunks +4 lines, -15 lines 0 comments Download
M include/gpu/GrPathRendererChain.h View 1 2 1 chunk +0 lines, -81 lines 0 comments Download
M src/gpu/GrClipMaskManager.h View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 3 11 chunks +65 lines, -28 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 5 chunks +2 lines, -48 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 3 chunks +24 lines, -14 lines 0 comments Download
M src/gpu/GrDrawingManager.h View 1 2 4 chunks +15 lines, -1 line 0 comments Download
M src/gpu/GrDrawingManager.cpp View 1 2 4 chunks +37 lines, -1 line 0 comments Download
M src/gpu/GrPathRenderer.h View 1 2 4 chunks +13 lines, -11 lines 0 comments Download
A + src/gpu/GrPathRendererChain.h View 1 2 3 chunks +8 lines, -17 lines 0 comments Download
M src/gpu/GrPathRendererChain.cpp View 1 2 2 chunks +3 lines, -16 lines 0 comments Download
M src/gpu/GrPipelineBuilder.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M src/gpu/batches/GrStencilAndCoverPathRenderer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
robertphillips
PTAL. I'm not crazy about this but I think it is marginally better than having ...
5 years, 1 month ago (2015-10-27 19:47:50 UTC) #2
bsalomon
https://codereview.chromium.org/1407883004/diff/1/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/1407883004/diff/1/include/gpu/GrContext.h#newcode336 include/gpu/GrContext.h:336: GrPathRenderer* getPathRenderer( Maybe we should just pass the RT ...
5 years, 1 month ago (2015-10-27 19:54:03 UTC) #3
robertphillips
PTAL https://codereview.chromium.org/1407883004/diff/1/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/1407883004/diff/1/include/gpu/GrContext.h#newcode336 include/gpu/GrContext.h:336: GrPathRenderer* getPathRenderer( On 2015/10/27 19:54:03, bsalomon wrote: > ...
5 years, 1 month ago (2015-10-29 14:51:32 UTC) #10
bsalomon
It all seems fine with one question: Do you really want to expose the drawing ...
5 years, 1 month ago (2015-10-29 14:58:10 UTC) #11
robertphillips
On 2015/10/29 14:58:10, bsalomon wrote: > It all seems fine with one question: Do you ...
5 years, 1 month ago (2015-10-29 17:15:46 UTC) #12
bsalomon
lgtm
5 years, 1 month ago (2015-10-29 17:48:45 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/1407883004/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407883004/50001
5 years, 1 month ago (2015-10-29 17:50:43 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-29 18:05:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407883004/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407883004/50001
5 years, 1 month ago (2015-10-29 19:11:26 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 19:12:25 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:50001) as
https://skia.googlesource.com/skia/+/687378229aecefc0ab7e639181593774ec8a4290

Powered by Google App Engine
This is Rietveld 408576698