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

Issue 1157773003: Move SkGpuDevice::internalDrawPath to GrBlurUtils::drawPathWithMaskFilter (Closed)

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

Description

Move SkGpuDevice::internalDrawPath to GrBlurUtils::drawPathWithMaskFilter This CL is ugly but it: removes the stored SkGpuDevice back pointer from GrTextContext (at the cost of passing more parameters) moves SkGpuDevice::internalDrawPath to GrDrawContext::drawPathFull Unfortunately, the GrTextContext-derived classes still need the SkGpuDevice for filterTextFlags calls but I will try removing that in a separate CL. Committed: https://skia.googlesource.com/skia/+/ccb1b5751075506b4615d2112889d01ee8ad6436

Patch Set 1 #

Patch Set 2 : Clean up #

Patch Set 3 : Move methods to GrDrawContext #

Patch Set 4 : Clean up #

Total comments: 4

Patch Set 5 : Move methods to GrBlurUtils.cpp #

Patch Set 6 : cleanup & add new files #

Patch Set 7 : more cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -399 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 chunk +1 line, -3 lines 0 comments Download
M src/gpu/GrAtlasTextContext.h View 1 4 chunks +16 lines, -14 lines 0 comments Download
M src/gpu/GrAtlasTextContext.cpp View 1 2 3 4 18 chunks +40 lines, -32 lines 0 comments Download
A src/gpu/GrBlurUtils.h View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A src/gpu/GrBlurUtils.cpp View 1 2 3 4 5 1 chunk +295 lines, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.h View 1 2 3 3 chunks +7 lines, -8 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.cpp View 1 2 3 7 chunks +18 lines, -23 lines 0 comments Download
M src/gpu/GrTextContext.h View 1 3 chunks +13 lines, -13 lines 0 comments Download
M src/gpu/GrTextContext.cpp View 1 2 3 4 9 chunks +34 lines, -18 lines 0 comments Download
M src/gpu/SkGpuDevice.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 chunks +9 lines, -281 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
robertphillips
5 years, 7 months ago (2015-05-27 13:08:59 UTC) #3
joshualitt
lgtm, one minor nit https://codereview.chromium.org/1157773003/diff/60001/include/gpu/GrDrawContext.h File include/gpu/GrDrawContext.h (right): https://codereview.chromium.org/1157773003/diff/60001/include/gpu/GrDrawContext.h#newcode184 include/gpu/GrDrawContext.h:184: void drawPathFull(GrContext* context, drawPathWithMaskFilter? Kind ...
5 years, 7 months ago (2015-05-27 15:02:29 UTC) #4
bsalomon
https://codereview.chromium.org/1157773003/diff/60001/include/gpu/GrDrawContext.h File include/gpu/GrDrawContext.h (right): https://codereview.chromium.org/1157773003/diff/60001/include/gpu/GrDrawContext.h#newcode184 include/gpu/GrDrawContext.h:184: void drawPathFull(GrContext* context, Hm... I feel like this is ...
5 years, 7 months ago (2015-05-27 15:15:55 UTC) #5
robertphillips
PTAL https://codereview.chromium.org/1157773003/diff/60001/include/gpu/GrDrawContext.h File include/gpu/GrDrawContext.h (right): https://codereview.chromium.org/1157773003/diff/60001/include/gpu/GrDrawContext.h#newcode184 include/gpu/GrDrawContext.h:184: void drawPathFull(GrContext* context, On 2015/05/27 15:02:29, joshualitt wrote: ...
5 years, 7 months ago (2015-05-27 15:55:23 UTC) #6
bsalomon
lgtm
5 years, 7 months ago (2015-05-27 16:06:59 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1157773003/120001
5 years, 7 months ago (2015-05-27 17:40:12 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-27 17:45:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1157773003/120001
5 years, 7 months ago (2015-05-27 18:02:19 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-05-27 18:02:58 UTC) #15
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/ccb1b5751075506b4615d2112889d01ee8ad6436

Powered by Google App Engine
This is Rietveld 408576698