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

Issue 2643343002: DrawingBuffer: Use gfx::GpuMemoryBuffer directly and set color space (Closed)

Created:
3 years, 11 months ago by ccameron
Modified:
3 years, 10 months ago
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, Stephen Chennney, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, Rik, f(malita), blink-reviews, piman+watch_chromium.org, kinuko+watch, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DrawingBuffer: Use gfx::GpuMemoryBuffer directly and set color space With this instance remove, we no longer have any non-test callers of CreateGpuMemoryBufferImageCHROMIUM. Set the TextureMailbox color space for the DrawingBuffer. This parameter is ignored except when --enable-color-correct-rendering is used (further in the compositing pipeline). Set the scanout color space for the DrawingBuffer, but only when --enable-color-correct-rendering is used (because that function goes directly to the underlying IOSurface). BUG=648707 TBR=kbr Review-Url: https://codereview.chromium.org/2643343002 Cr-Commit-Position: refs/heads/master@{#446156} Committed: https://chromium.googlesource.com/chromium/src/+/b8cf426b59b931395bfe5114c7c6952473f210ce

Patch Set 1 #

Patch Set 2 : Update unittests #

Patch Set 3 : Fix null dereference #

Patch Set 4 : Fix buffer format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -17 lines) Patch
M content/renderer/renderer_blink_platform_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h View 5 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 8 chunks +35 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp View 1 5 chunks +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 35 (25 generated)
ccameron
ptal (I know this isn't so much your area, but the main owner is OOO ...
3 years, 11 months ago (2017-01-21 00:19:34 UTC) #9
pdr.
On 2017/01/21 at 00:19:34, ccameron wrote: > ptal (I know this isn't so much your ...
3 years, 11 months ago (2017-01-23 01:10:13 UTC) #16
ccameron
Adding kainino@ to take a look at DrawingBuffer changes Adding esprehn as OWNER of content/renderer
3 years, 11 months ago (2017-01-25 02:58:12 UTC) #20
Kai Ninomiya
On 2017/01/25 02:58:12, ccameron wrote: > Adding kainino@ to take a look at DrawingBuffer changes ...
3 years, 11 months ago (2017-01-25 22:55:55 UTC) #23
ccameron
Okay, I think kbr is the only OWNER who is comfortable reviewing this. TBRing this ...
3 years, 11 months ago (2017-01-25 22:59:26 UTC) #26
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/2643343002/60001
3 years, 11 months ago (2017-01-25 23:00:51 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/b8cf426b59b931395bfe5114c7c6952473f210ce
3 years, 11 months ago (2017-01-25 23:10:05 UTC) #32
danakj
On Wed, Jan 25, 2017 at 5:59 PM, <ccameron@chromium.org> wrote: > Okay, I think kbr ...
3 years, 11 months ago (2017-01-25 23:43:37 UTC) #33
danakj
On Wed, Jan 25, 2017 at 5:59 PM, <ccameron@chromium.org> wrote: > Okay, I think kbr ...
3 years, 11 months ago (2017-01-25 23:43:39 UTC) #34
Ken Russell (switch to Gerrit)
3 years, 10 months ago (2017-01-28 00:30:58 UTC) #35
Message was sent while issue was closed.
LGTM after the fact. Would have suggested both zmo and junov as other potential
reviewers.

Powered by Google App Engine
This is Rietveld 408576698