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

Issue 2357273002: Add output format properties to SkImageFilter::Context (Closed)

Created:
4 years, 3 months ago by Brian Osman
Modified:
4 years, 2 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add output format properties to SkImageFilter::Context For now, this is just the color space (of the original requesting device). This is used when constructing intermediate rendering surfaces, so that we ensure we land in a surface that's similar/compatible to the final consumer of the DAG's output. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2357273002 Committed: https://skia.googlesource.com/skia/+/2a75e5df300a2838f943ca52a52a85a5cf69802b

Patch Set 1 #

Patch Set 2 : Better #

Patch Set 3 : Made constructor explicit, fixed call sites #

Total comments: 7

Patch Set 4 : Formatting and comments #

Patch Set 5 : Fix line endings #

Patch Set 6 : Spelling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -54 lines) Patch
M include/core/SkImageFilter.h View 1 2 3 4 5 2 chunks +23 lines, -3 lines 0 comments Download
M include/effects/SkXfermodeImageFilter.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkBlurImageFilter.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkImageFilter.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/core/SkLocalMatrixImageFilter.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkComposeImageFilter.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 5 chunks +12 lines, -9 lines 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMatrixConvolutionImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 2 chunks +10 lines, -7 lines 0 comments Download
M src/effects/SkXfermodeImageFilter.cpp View 1 3 chunks +11 lines, -9 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/image/SkImage.cpp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M tests/ImageFilterTest.cpp View 1 2 11 chunks +23 lines, -11 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
Brian Osman
4 years, 3 months ago (2016-09-21 18:29:40 UTC) #4
robertphillips
lgtm https://codereview.chromium.org/2357273002/diff/40001/include/core/SkImageFilter.h File include/core/SkImageFilter.h (right): https://codereview.chromium.org/2357273002/diff/40001/include/core/SkImageFilter.h#newcode36 include/core/SkImageFilter.h:36: public: // Basically copy your CL's comment here ...
4 years, 3 months ago (2016-09-21 18:44:09 UTC) #7
Brian Osman
Testing locally to ensure that nothing explodes in either backend... https://codereview.chromium.org/2357273002/diff/40001/include/core/SkImageFilter.h File include/core/SkImageFilter.h (right): https://codereview.chromium.org/2357273002/diff/40001/include/core/SkImageFilter.h#newcode36 ...
4 years, 3 months ago (2016-09-21 19:00:32 UTC) #9
Brian Osman
... seems okay. Four GMs changed behavior between GPU sRGB and F16 configs (and one ...
4 years, 3 months ago (2016-09-21 20:28:56 UTC) #10
Brian Osman
bsalomon@ / reed@, this has some (not really public) API changes. Tempted to TBR, but ...
4 years, 2 months ago (2016-09-22 13:22:08 UTC) #15
bsalomon
I defer to reed@, not so well versed on SkIF intricacies.
4 years, 2 months ago (2016-09-22 13:52:53 UTC) #16
reed1
api lgtm lets find a way to fission this into SkImageFilter -- no api SkImageFilter_Bbase ...
4 years, 2 months ago (2016-09-22 14:14:15 UTC) #19
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/2357273002/100001
4 years, 2 months ago (2016-09-22 14:14:19 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-09-22 14:15:40 UTC) #22
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/2a75e5df300a2838f943ca52a52a85a5cf69802b

Powered by Google App Engine
This is Rietveld 408576698