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

Issue 2364633003: color: Set GpuMemoryBuffer color spaces for Canvas (Closed)

Created:
4 years, 3 months ago by ccameron
Modified:
4 years, 2 months ago
CC:
jbroman, ajuma+watch_chromium.org, ajuma+watch-canvas_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jam, mlamouri+watch-content_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

color: Set GpuMemoryBuffer color spaces for Canvas Change Canvas2DLayerBridge::ImageInfo to hold the gfx::GpuMemoryBuffer, instead of going through the glCreateGpuMemoryBufferImageCHROMIUM function. This GL function will be deleted in the future. Call gfx::GpuMemoryBuffer::SetColorSpaceForScanout, which inform CoreAnimation of the IOSurface's color space. Add a gfx::ColorSpace::FromSkColorSpace stub. BUG=632178 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/b6a6d7c3849e22f549937a42ad4a0177c06fa1df Cr-Commit-Position: refs/heads/master@{#422167}

Patch Set 1 #

Patch Set 2 : Fix remaining asserts #

Total comments: 1

Patch Set 3 : Fix windows build #

Total comments: 2

Patch Set 4 : Use constexpr #

Patch Set 5 : Fix constexpr #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -48 lines) Patch
M content/renderer/renderer_blink_platform_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M gpu/ipc/common/surface_handle.h View 1 2 3 1 chunk +2 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h View 4 chunks +5 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 10 chunks +60 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ui/gfx/color_space.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/color_space.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M ui/gfx/native_widget_types.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 53 (42 generated)
ccameron
Adding jbroman for platform/ API changes Adding junov for Canvas2DLayerBridge changes. I think there's quite ...
4 years, 2 months ago (2016-09-27 19:53:14 UTC) #24
Justin Novosad
lgtm for Canvas2DLayerBridge +1 to refactor ownership model in follow-up CL.
4 years, 2 months ago (2016-09-28 15:28:07 UTC) #27
ccameron
Adding dcheng@ for gpu/ipc/common Adding avi@ for content/ https://codereview.chromium.org/2364633003/diff/100001/gpu/ipc/common/surface_handle.h File gpu/ipc/common/surface_handle.h (right): https://codereview.chromium.org/2364633003/diff/100001/gpu/ipc/common/surface_handle.h#newcode33 gpu/ipc/common/surface_handle.h:33: const ...
4 years, 2 months ago (2016-09-28 19:16:27 UTC) #34
dcheng
https://codereview.chromium.org/2364633003/diff/100001/gpu/ipc/common/surface_handle.h File gpu/ipc/common/surface_handle.h (right): https://codereview.chromium.org/2364633003/diff/100001/gpu/ipc/common/surface_handle.h#newcode33 gpu/ipc/common/surface_handle.h:33: const SurfaceHandle kNullSurfaceHandle = NULL; On 2016/09/28 19:16:27, ccameron ...
4 years, 2 months ago (2016-09-28 20:32:43 UTC) #35
Avi (use Gerrit)
lgtm content stampity stamp
4 years, 2 months ago (2016-09-28 20:49:58 UTC) #36
jbroman
public/platform/ API changes lgtm, but you'll need an actual owner of it to land
4 years, 2 months ago (2016-09-29 14:38:48 UTC) #41
ccameron
dcheng, thanks! TIL about constexpr (and fell deeper into my "I don't know C++ anymore" ...
4 years, 2 months ago (2016-09-29 20:47:53 UTC) #44
dcheng
constexpr and public/platform LGTM
4 years, 2 months ago (2016-09-30 06:37:47 UTC) #47
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/2364633003/140001
4 years, 2 months ago (2016-09-30 18:50:39 UTC) #50
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 2 months ago (2016-09-30 18:59:05 UTC) #51
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 19:03:53 UTC) #53
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b6a6d7c3849e22f549937a42ad4a0177c06fa1df
Cr-Commit-Position: refs/heads/master@{#422167}

Powered by Google App Engine
This is Rietveld 408576698