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

Issue 1787883002: Add SkSpecialImage::extractSubset & NewFromPixmap (Closed)

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

Description

Add SkSpecialImage::extractSubset & NewFromPixmap This is calved off of: https://codereview.chromium.org/1785643003/ (Switch SkBlurImageFilter over to new onFilterImage interface) This now relies on: https://codereview.chromium.org/1813483002/ (ImagePixelLocker now manually allocates SkPixmap) to clean up the uses of SkAutoPixmapStorage in Chromium GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1787883002 Committed: https://skia.googlesource.com/skia/+/250581493a0859987e482810879e85e5ac2dc002 Committed: https://skia.googlesource.com/skia/+/c5035e70cc3fb290f95fd1c052c637aa0dbaf9ea

Patch Set 1 #

Patch Set 2 : Add comment #

Total comments: 4

Patch Set 3 : Hide SkAutoPixmapStorage #

Patch Set 4 : Now with new files #

Patch Set 5 : Update to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -157 lines) Patch
M bench/CoverageBench.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M bench/PDFBench.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gm/image.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gyp/core.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkPixmap.h View 1 2 1 chunk +0 lines, -65 lines 0 comments Download
A src/core/SkAutoPixmapStorage.h View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download
A src/core/SkAutoPixmapStorage.cpp View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
M src/core/SkPixmap.cpp View 1 2 3 4 1 chunk +0 lines, -48 lines 0 comments Download
M src/core/SkScalerContext.cpp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkSpecialImage.h View 1 2 3 chunks +26 lines, -13 lines 0 comments Download
M src/core/SkSpecialImage.cpp View 1 2 13 chunks +70 lines, -17 lines 0 comments Download
M src/gpu/GrSWMaskHelper.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/DeviceLooperTest.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/Float16Test.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/ImageTest.cpp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tests/SpecialImageTest.cpp View 1 2 6 chunks +86 lines, -13 lines 0 comments Download
M tests/TestingSpecialImageAccess.h View 1 chunk +1 line, -1 line 0 comments Download
M tests/TextureCompressionTest.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 36 (17 generated)
robertphillips
4 years, 9 months ago (2016-03-14 23:07:02 UTC) #4
reed1
https://codereview.chromium.org/1787883002/diff/20001/include/core/SkPixmap.h File include/core/SkPixmap.h (right): https://codereview.chromium.org/1787883002/diff/20001/include/core/SkPixmap.h#newcode225 include/core/SkPixmap.h:225: void release(); Docs? What does this do differently from ...
4 years, 9 months ago (2016-03-15 03:13:03 UTC) #6
reed1
side question: do we want to make SkAutoPixmapStorage internal only? Its starting to get slightly ...
4 years, 9 months ago (2016-03-15 03:13:57 UTC) #7
bsalomon
On 2016/03/15 03:13:57, reed1 wrote: > side question: do we want to make SkAutoPixmapStorage internal ...
4 years, 9 months ago (2016-03-16 13:50:15 UTC) #8
bsalomon
https://codereview.chromium.org/1787883002/diff/20001/src/core/SkSpecialImage.h File src/core/SkSpecialImage.h (right): https://codereview.chromium.org/1787883002/diff/20001/src/core/SkSpecialImage.h#newcode97 src/core/SkSpecialImage.h:97: * If the SpecialImage is backed by cpu pixels, ...
4 years, 9 months ago (2016-03-16 13:52:13 UTC) #9
robertphillips
PTAL - I have hidden the SkAutoPixmapStorage. https://codereview.chromium.org/1787883002/diff/20001/include/core/SkPixmap.h File include/core/SkPixmap.h (right): https://codereview.chromium.org/1787883002/diff/20001/include/core/SkPixmap.h#newcode225 include/core/SkPixmap.h:225: void release(); ...
4 years, 9 months ago (2016-03-16 15:31:59 UTC) #10
reed1
hiding lgtm
4 years, 9 months ago (2016-03-16 15:55:17 UTC) #11
bsalomon
On 2016/03/16 15:55:17, reed1 wrote: > hiding lgtm lgtm
4 years, 9 months ago (2016-03-16 15:56: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/1787883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787883002/60001
4 years, 9 months ago (2016-03-16 16:01:09 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/1186) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
4 years, 9 months ago (2016-03-16 16:02:59 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/1787883002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787883002/80001
4 years, 9 months ago (2016-03-16 16:15:20 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-16 16:29:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787883002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787883002/80001
4 years, 9 months ago (2016-03-16 16:45:51 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://skia.googlesource.com/skia/+/250581493a0859987e482810879e85e5ac2dc002
4 years, 9 months ago (2016-03-16 16:47:24 UTC) #25
robertphillips
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1808833002/ by robertphillips@google.com. ...
4 years, 9 months ago (2016-03-16 17:38:58 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/1787883002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787883002/80001
4 years, 9 months ago (2016-03-17 13:37:46 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-17 13:38:38 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787883002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787883002/80001
4 years, 9 months ago (2016-03-17 13:57:36 UTC) #34
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 13:58:43 UTC) #36
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/c5035e70cc3fb290f95fd1c052c637aa0dbaf9ea

Powered by Google App Engine
This is Rietveld 408576698