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

Issue 1705113002: Update SkSpecialImage API (Closed)

Created:
4 years, 10 months ago by robertphillips
Modified:
4 years, 10 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

Update SkSpecialImage API This adds some temporary compatibility features: internal_getBM & internal_fromBM - to convert back & forth from Bitmaps in the ImageFilters internal_getProxy - to allow the special images to interface with the current ImagerFilter system It also adds a unique ID, opaque flag and size method. The unique ID and size method are needed for the image filter's caching system. The opaque flag is need for swapping back & forth from Bitmaps These are all calved off of https://codereview.chromium.org/1695823002/ (Get OffsetImageFilter really working with SkSpecialImages) which actually makes use of them. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1705113002 Committed: https://skia.googlesource.com/skia/+/3b087f4010327b304242aaf27ef3689150dfc226

Patch Set 1 #

Patch Set 2 : Add missing files #

Total comments: 4

Patch Set 3 : Pass proxy everywhere #

Patch Set 4 : Clean up #

Total comments: 14

Patch Set 5 : Address code review issues #

Patch Set 6 : update #

Patch Set 7 : Fix no-gpu build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -58 lines) Patch
M src/core/SkSpecialImage.h View 1 2 3 4 5 5 chunks +39 lines, -5 lines 0 comments Download
M src/core/SkSpecialImage.cpp View 1 2 3 4 5 6 12 chunks +118 lines, -22 lines 0 comments Download
M src/core/SkSpecialSurface.h View 1 2 3 4 2 chunks +15 lines, -5 lines 0 comments Download
M src/core/SkSpecialSurface.cpp View 1 2 3 4 5 6 10 chunks +39 lines, -20 lines 0 comments Download
M tests/SpecialImageTest.cpp View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M tests/SpecialSurfaceTest.cpp View 1 2 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
robertphillips
4 years, 10 months ago (2016-02-17 16:48:05 UTC) #5
Stephen White
https://codereview.chromium.org/1705113002/diff/20001/src/core/SkSpecialImage.cpp File src/core/SkSpecialImage.cpp (right): https://codereview.chromium.org/1705113002/diff/20001/src/core/SkSpecialImage.cpp#newcode94 src/core/SkSpecialImage.cpp:94: fDevice.reset(SkGpuDevice::Create(context, SkSurface::kYes_Budgeted, info, 0, &props, This doesn't make sense ...
4 years, 10 months ago (2016-02-17 17:00:02 UTC) #8
robertphillips
https://codereview.chromium.org/1705113002/diff/20001/src/core/SkSpecialImage.cpp File src/core/SkSpecialImage.cpp (right): https://codereview.chromium.org/1705113002/diff/20001/src/core/SkSpecialImage.cpp#newcode94 src/core/SkSpecialImage.cpp:94: fDevice.reset(SkGpuDevice::Create(context, SkSurface::kYes_Budgeted, info, 0, &props, On 2016/02/17 17:00:02, Stephen ...
4 years, 10 months ago (2016-02-17 19:10:28 UTC) #9
Stephen White
https://codereview.chromium.org/1705113002/diff/60001/src/core/SkSpecialImage.cpp File src/core/SkSpecialImage.cpp (right): https://codereview.chromium.org/1705113002/diff/60001/src/core/SkSpecialImage.cpp#newcode26 src/core/SkSpecialImage.cpp:26: // Delete this entry point ASAP Log a bug, ...
4 years, 10 months ago (2016-02-17 21:44:03 UTC) #10
robertphillips
https://codereview.chromium.org/1705113002/diff/60001/src/core/SkSpecialImage.cpp File src/core/SkSpecialImage.cpp (right): https://codereview.chromium.org/1705113002/diff/60001/src/core/SkSpecialImage.cpp#newcode26 src/core/SkSpecialImage.cpp:26: // Delete this entry point ASAP On 2016/02/17 21:44:02, ...
4 years, 10 months ago (2016-02-18 13:18:39 UTC) #11
Stephen White
LGTM
4 years, 10 months ago (2016-02-18 14:58:47 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/1705113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705113002/100001
4 years, 10 months ago (2016-02-18 16:00:39 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/6278) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
4 years, 10 months ago (2016-02-18 16:02:51 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705113002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705113002/120001
4 years, 10 months ago (2016-02-18 16:22:06 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-18 16:43:26 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705113002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705113002/120001
4 years, 10 months ago (2016-02-18 16:47:23 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 16:48:07 UTC) #25
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/3b087f4010327b304242aaf27ef3689150dfc226

Powered by Google App Engine
This is Rietveld 408576698