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

Issue 1919063002: Image filters: de-nest SkImageFilter::Cache and Cache::Key. (Closed)

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

Description

Image filters: de-nest SkImageFilter::Cache and Cache::Key. This reduces the public header, and also allows us to foward- declare them, so we can remove an #include from all the SkDevice subclass headers. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1919063002 Committed: https://skia.googlesource.com/skia/+/900c36779610dc65c42a5004ee3693fd70961ba4

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : #

Patch Set 4 : Fix formatting #

Patch Set 5 : Update to ToT #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : Update to ToT #

Patch Set 8 : Move CacheImpl to SkImageFilterCache.cpp, per review comments #

Patch Set 9 : Fix copyright #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -213 lines) Patch
M gyp/core.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M include/core/SkBitmapDevice.h View 3 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkDevice.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkImageFilter.h View 1 2 3 4 5 4 chunks +8 lines, -21 lines 0 comments Download
M src/core/SkBitmapDevice.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkDevice.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M src/core/SkImageFilter.cpp View 1 2 3 4 5 6 7 5 chunks +4 lines, -123 lines 0 comments Download
A src/core/SkImageFilterCache.h View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
A src/core/SkImageFilterCache.cpp View 1 2 3 4 5 6 7 8 1 chunk +131 lines, -0 lines 0 comments Download
D src/core/SkImageFilterCacheKey.h View 1 chunk +0 lines, -41 lines 0 comments Download
M src/gpu/GrLayerHoister.cpp View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/SkGpuDevice.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M src/svg/SkSVGDevice.h View 1 chunk +1 line, -0 lines 0 comments Download
M tests/ImageFilterCacheTest.cpp View 1 2 3 4 5 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 36 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1919063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1919063002/60001
4 years, 8 months ago (2016-04-25 21:51:38 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot/builds/3138) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
4 years, 8 months ago (2016-04-25 21:52:49 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1919063002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1919063002/80001
4 years, 8 months ago (2016-04-25 22:03:47 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/8150)
4 years, 8 months ago (2016-04-25 22:06:18 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1919063002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1919063002/100001
4 years, 8 months ago (2016-04-25 22:08:07 UTC) #14
Stephen White
reed@: PTAL. Thanks!
4 years, 8 months ago (2016-04-25 22:09:07 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/8108) Build-Win-MSVC-x86_64-Debug-Trybot on ...
4 years, 8 months ago (2016-04-25 22:12:39 UTC) #17
robertphillips
lgtm https://codereview.chromium.org/1919063002/diff/100001/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/1919063002/diff/100001/src/core/SkImageFilter.cpp#newcode466 src/core/SkImageFilter.cpp:466: Could this now go in an SkImageFilterCache.cpp ?
4 years, 8 months ago (2016-04-26 11:52:22 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1919063002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1919063002/100001
4 years, 8 months ago (2016-04-26 15:03:30 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 15:10:30 UTC) #23
reed1
lgtm
4 years, 8 months ago (2016-04-26 20:02:01 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1919063002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1919063002/140001
4 years, 7 months ago (2016-04-27 18:10:18 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1919063002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1919063002/160001
4 years, 7 months ago (2016-04-27 18:12:35 UTC) #28
Stephen White
https://codereview.chromium.org/1919063002/diff/100001/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/1919063002/diff/100001/src/core/SkImageFilter.cpp#newcode466 src/core/SkImageFilter.cpp:466: On 2016/04/26 11:52:22, robertphillips wrote: > Could this now ...
4 years, 7 months ago (2016-04-27 18:12:52 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 18:29:07 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1919063002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1919063002/160001
4 years, 7 months ago (2016-04-27 18:29:49 UTC) #34
commit-bot: I haz the power
4 years, 7 months ago (2016-04-27 18:31:27 UTC) #36
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/900c36779610dc65c42a5004ee3693fd70961ba4

Powered by Google App Engine
This is Rietveld 408576698