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

Issue 2727133002: Remove ColorBehavior argument to Image::imageForCurrentFrame (Closed)

Created:
3 years, 9 months ago by ccameron
Modified:
3 years, 9 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, blink-reviews-html_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, eae+blinkwatch, fs, dcheng, dmazzoni+watch_chromium.org, je_julie, kinuko+watch, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, krit, drott+blinkwatch_chromium.org, aboxhall, aboxhall+watch_chromium.org, szager+layoutwatch_chromium.org, Justin Novosad, dglazkov+blink, Rik, blink-reviews-bindings_chromium.org, jchaffraix+rendering, blink-reviews, gyuyoung2, rwlbuis, ajuma+watch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, jbroman, yuzo+watch_chromium.org, danakj+watch_chromium.org, dmazzoni, jbroman+watch_chromium.org, haraken, piman+watch_chromium.org, pdr+graphicswatchlist_chromium.org, Stephen Chennney, ajuma+watch-canvas_chromium.org, pdr+renderingwatchlist_chromium.org, nektar+watch_chromium.org, leviw+renderwatch, fmalita+watch_chromium.org, blink-layers+watch_chromium.org, nektarios, dtseng+watch_chromium.org, blink-reviews-frames_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ColorBehavior argument to Image::imageForCurrentFrame This will need to eventually tag the SkImage with an appropriate SkColorSpace for all sub-classes. For callers that expect a certain output color space, we should provide a new entrypoint indicates the expected color space and performs the required conversion. R=junov TBR=esprehn BUG=667411 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2727133002 Cr-Commit-Position: refs/heads/master@{#455299} Committed: https://chromium.googlesource.com/chromium/src/+/4121a1f03af37216d8f219cfdc4899e71ee2f4cf

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Remove ColorBehavior argument to Image::imageForCurrentFrame #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -273 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp View 1 2 3 3 chunks +8 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 6 chunks +10 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp View 1 6 chunks +22 lines, -70 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 2 3 3 chunks +3 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/html/ImageData.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp View 3 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp View 1 chunk +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp View 1 chunk +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp View 1 chunk +1 line, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp View 2 chunks +2 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp View 2 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/DragImage.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/DragImageTest.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebImage.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/BitmapImage.h View 3 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/BitmapImage.cpp View 9 chunks +13 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GeneratedImage.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsContext.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImagePattern.cpp View 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 2 chunks +4 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/PlaceholderImage.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 38 (27 generated)
ccameron
ptal
3 years, 9 months ago (2017-03-02 23:34:05 UTC) #12
Justin Novosad
lgtm https://codereview.chromium.org/2727133002/diff/20001/third_party/WebKit/Source/core/html/ImageData.cpp File third_party/WebKit/Source/core/html/ImageData.cpp (right): https://codereview.chromium.org/2727133002/diff/20001/third_party/WebKit/Source/core/html/ImageData.cpp#newcode37 third_party/WebKit/Source/core/html/ImageData.cpp:37: #include "platform/graphics/ColorBehavior.h" Is this because it used to ...
3 years, 9 months ago (2017-03-03 19:34:58 UTC) #13
ccameron
Thanks! https://codereview.chromium.org/2727133002/diff/20001/third_party/WebKit/Source/core/html/ImageData.cpp File third_party/WebKit/Source/core/html/ImageData.cpp (right): https://codereview.chromium.org/2727133002/diff/20001/third_party/WebKit/Source/core/html/ImageData.cpp#newcode37 third_party/WebKit/Source/core/html/ImageData.cpp:37: #include "platform/graphics/ColorBehavior.h" On 2017/03/03 19:34:57, Justin Novosad wrote: ...
3 years, 9 months ago (2017-03-03 20:13:21 UTC) #14
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/2727133002/60001
3 years, 9 months ago (2017-03-07 01:50:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/395221)
3 years, 9 months ago (2017-03-07 04:10:49 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/2727133002/60001
3 years, 9 months ago (2017-03-07 05:49:37 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/379247)
3 years, 9 months ago (2017-03-07 08:25:03 UTC) #28
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/2727133002/80001
3 years, 9 months ago (2017-03-07 08:47:00 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/379411)
3 years, 9 months ago (2017-03-07 10:31:15 UTC) #33
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/2727133002/80001
3 years, 9 months ago (2017-03-07 18:50:16 UTC) #35
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 23:58:10 UTC) #38
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/4121a1f03af37216d8f219cfdc48...

Powered by Google App Engine
This is Rietveld 408576698