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

Issue 2163343002: Adding color space to SkSpecialImage (Closed)

Created:
4 years, 5 months ago by Brian Osman
Modified:
4 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@colorspace-on-image
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Adding color space to SkSpecialImage Mostly means that GPU backed special images need to be supplied (and store) a color space object. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2163343002 Committed: https://skia.googlesource.com/skia/+/afbf71dd924c7bb46ccdac49e7408b4b088563ff

Patch Set 1 #

Total comments: 10

Patch Set 2 : Add TODO comments for follow-up change, one test case #

Patch Set 3 : Rebase #

Patch Set 4 : Fix compile after rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -32 lines) Patch
M include/core/SkImageFilter.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/core/SkImageFilter.cpp View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/core/SkSpecialImage.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/core/SkSpecialImage.cpp View 1 2 3 14 chunks +32 lines, -12 lines 0 comments Download
M src/core/SkSpecialSurface.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMatrixConvolutionImageFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/effects/SkXfermodeImageFilter.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M tests/ImageFilterCacheTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/SpecialImageTest.cpp View 1 4 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
Brian Osman
https://codereview.chromium.org/2163343002/diff/1/src/effects/SkBlurImageFilter.cpp File src/effects/SkBlurImageFilter.cpp (right): https://codereview.chromium.org/2163343002/diff/1/src/effects/SkBlurImageFilter.cpp#newcode137 src/effects/SkBlurImageFilter.cpp:137: drawContext->asTexture(), Once we have color space on GrDrawContext, this ...
4 years, 5 months ago (2016-07-20 19:16:02 UTC) #5
robertphillips
https://codereview.chromium.org/2163343002/diff/1/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/2163343002/diff/1/src/core/SkImageFilter.cpp#newcode296 src/core/SkImageFilter.cpp:296: // TODO: get the colorSpace from the drawContext (once ...
4 years, 5 months ago (2016-07-20 19:44:39 UTC) #8
robertphillips
lgtm
4 years, 5 months ago (2016-07-20 21:41:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2163343002/60001
4 years, 5 months ago (2016-07-21 13:47:38 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on master.client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/11521)
4 years, 5 months ago (2016-07-21 13:49:28 UTC) #22
Brian Osman
PTAL, bsalomon@ ("public" API change is just signature of DrawWithFP)
4 years, 5 months ago (2016-07-21 13:54:06 UTC) #23
bsalomon
On 2016/07/21 13:54:06, Brian Osman wrote: > PTAL, bsalomon@ ("public" API change is just signature ...
4 years, 5 months ago (2016-07-21 14:14:20 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2163343002/60001
4 years, 5 months ago (2016-07-21 14:14:41 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 14:15:41 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/afbf71dd924c7bb46ccdac49e7408b4b088563ff

Powered by Google App Engine
This is Rietveld 408576698