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

Issue 2328463004: Implement WebGL's commit on the main thread (Closed)

Created:
4 years, 3 months ago by xidachen
Modified:
4 years, 3 months ago
CC:
jbroman, ajuma+watch_chromium.org, bajones, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chrishtr, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), haraken, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, rwlbuis, Stephen Chennney, Zhenyao Mo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement WebGL's commit on the main thread. This CL implements WebGL's commit() API. It uses the frame work established for the OffscreenCanvasRenderingContext2D. The basic procedure is to get a AcceleratedStaticBitmapImage from WebGL's drawingBuffer. The StaticBitmapImage contains a SkImage that is gpu texture backed, a gpu mailbox, and a gpu token. We then prepare a CompositorFrame from the gpu mailbox and the gpu token. It currently works on the main thread only, making it work on worker thread will come in another CL. A gpu pixel test is added to make sure that the commit actually commits to the original HTMLCanvasElement. A layout test is added to ensure that when an OffscreenCanvas is not constructed from transferControlToOffscreen, then InvalidStateError must be thrown. BUG=563852, 619136 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/6267a77aa199671dce58a41639b40021db18f7d6 Cr-Commit-Position: refs/heads/master@{#419771}

Patch Set 1 #

Patch Set 2 : written as a gpu pixel test #

Total comments: 14

Patch Set 3 : address junov@'s comments #

Total comments: 16

Patch Set 4 : address comments #

Total comments: 11

Patch Set 5 : browser-->renderer IPC for sending back resourceId is ready #

Patch Set 6 : rebase #

Total comments: 12

Patch Set 7 : address comments #

Total comments: 13

Patch Set 8 : address comments #

Total comments: 1

Patch Set 9 : update TestExpectation and address junov@'s comments #

Patch Set 10 : update gpu pixel test expectation #

Total comments: 4

Patch Set 11 : update trace_test expectations #

Patch Set 12 : address dcheng@'s nits #

Patch Set 13 : using cc::mojom::MojoCompositorFrameSink #

Total comments: 2

Patch Set 14 : remove unused interface #

Total comments: 1

Patch Set 15 : switch para ordering #

Total comments: 4

Patch Set 16 : nits #

Patch Set 17 : fix compile error on win_dbg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -145 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -2 lines 0 comments Download
A content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +49 lines, -0 lines 0 comments Download
A content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +74 lines, -0 lines 0 comments Download
A content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_provider_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +33 lines, -0 lines 0 comments Download
A content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_provider_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +34 lines, -0 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -41 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -65 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -3 lines 0 comments Download
A + content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_main.html View 1 3 chunks +7 lines, -6 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_expectations.py View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/gpu/gpu_tests/trace_test_expectations.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/test/gpu/page_sets/pixel_tests.py View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-commit-invalid-call.html View 1 2 3 2 chunks +22 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +14 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +59 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 81 (26 generated)
xidachen
junov@: please take a look before I send it out to broader audience.
4 years, 3 months ago (2016-09-08 19:54:03 UTC) #3
Justin Novosad
+kbr for modules/webgl OWNER +danakj to look at use of cc stuff in OffscreenCanvasFrameDispatcherImpl https://codereview.chromium.org/2328463004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp ...
4 years, 3 months ago (2016-09-09 19:10:51 UTC) #6
xidachen
adding danakj@ to reviewer list. ccing zmo@ and bajones@. https://codereview.chromium.org/2328463004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2328463004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode654 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:654: ...
4 years, 3 months ago (2016-09-09 19:23:42 UTC) #8
xidachen
also adding xlai@.
4 years, 3 months ago (2016-09-09 19:24:09 UTC) #10
xlai (Olivia)
https://codereview.chromium.org/2328463004/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2328463004/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode655 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:655: exceptionState.throwDOMException(InvalidStateError, "No OffscreenCanvas exist, abort commit()."); Could you add ...
4 years, 3 months ago (2016-09-09 20:30:41 UTC) #11
danakj
https://codereview.chromium.org/2328463004/diff/40001/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp File third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp (right): https://codereview.chromium.org/2328463004/diff/40001/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp#newcode31 third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp:31: PassRefPtr<AcceleratedStaticBitmapImage> AcceleratedStaticBitmapImage::createFromWebGLContextImage(sk_sp<SkImage> image, const gpu::Mailbox& mailbox, const gpu::SyncToken& syncToken, ...
4 years, 3 months ago (2016-09-09 20:51:42 UTC) #12
Ken Russell (switch to Gerrit)
Great work and good tests. This looks good overall, but I don't know cc's APIs, ...
4 years, 3 months ago (2016-09-09 21:38:17 UTC) #13
danakj
https://codereview.chromium.org/2328463004/diff/40001/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h File third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h (right): https://codereview.chromium.org/2328463004/diff/40001/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h#newcode46 third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h:46: unsigned getTextureId() final { return m_textureId; } On 2016/09/09 ...
4 years, 3 months ago (2016-09-09 21:43:55 UTC) #14
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2328463004/diff/40001/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h File third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h (right): https://codereview.chromium.org/2328463004/diff/40001/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h#newcode46 third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h:46: unsigned getTextureId() final { return m_textureId; } On 2016/09/09 ...
4 years, 3 months ago (2016-09-09 21:46:40 UTC) #15
xidachen
danakj@: I have addressed most of the comments. I believe there is just last one ...
4 years, 3 months ago (2016-09-10 18:03:02 UTC) #16
Justin Novosad
On 2016/09/09 20:51:42, danakj wrote: > > Also, speaking of, where is the browser returning ...
4 years, 3 months ago (2016-09-12 13:31:02 UTC) #17
Justin Novosad
https://codereview.chromium.org/2328463004/diff/60001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2328463004/diff/60001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode655 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:655: exceptionState.throwDOMException(InvalidStateError, "No OffscreenCanvas exists, abort commit()."); Error message would ...
4 years, 3 months ago (2016-09-12 13:53:26 UTC) #18
xidachen
Handling the returned resources has been added to OffscreenCanvasFrameDispatcherImpl class. PTAL. https://codereview.chromium.org/2328463004/diff/60001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): ...
4 years, 3 months ago (2016-09-14 01:33:13 UTC) #19
danakj
On Sat, Sep 10, 2016 at 11:03 AM, <xidachen@chromium.org> wrote: > danakj@: I have addressed ...
4 years, 3 months ago (2016-09-14 01:42:08 UTC) #20
danakj
On Sat, Sep 10, 2016 at 11:03 AM, <xidachen@chromium.org> wrote: > danakj@: I have addressed ...
4 years, 3 months ago (2016-09-14 01:49:47 UTC) #21
danakj
https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode59 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:59: resource.id = m_nextResourceId; can you store the id you ...
4 years, 3 months ago (2016-09-14 02:28:34 UTC) #22
xidachen
https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode59 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:59: resource.id = m_nextResourceId; On 2016/09/14 02:28:33, danakj wrote: > ...
4 years, 3 months ago (2016-09-14 13:06:43 UTC) #23
Justin Novosad
The ref/release logic looks sound IMHO, but it requires unit testing. https://codereview.chromium.org/2328463004/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): ...
4 years, 3 months ago (2016-09-14 14:28:13 UTC) #24
xidachen
https://codereview.chromium.org/2328463004/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2328463004/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode665 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:665: getOffscreenCanvas()->getOrCreateFrameDispatcher()->dispatchFrame(std::move(drawingBuffer()->transferToStaticBitmapImage())); On 2016/09/14 14:28:13, Justin Novosad wrote: > // ...
4 years, 3 months ago (2016-09-14 14:53:51 UTC) #25
danakj
https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode36 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:36: void OffscreenCanvasFrameDispatcherImpl::dispatchFrame(RefPtr<StaticBitmapImage> image) One more Q: why is this ...
4 years, 3 months ago (2016-09-14 17:32:04 UTC) #28
danakj
LGTM for the use of cc stuff
4 years, 3 months ago (2016-09-14 17:33:21 UTC) #29
xidachen
https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode36 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:36: void OffscreenCanvasFrameDispatcherImpl::dispatchFrame(RefPtr<StaticBitmapImage> image) On 2016/09/14 17:32:04, danakj wrote: > ...
4 years, 3 months ago (2016-09-14 17:35:57 UTC) #30
danakj
https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2328463004/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode36 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:36: void OffscreenCanvasFrameDispatcherImpl::dispatchFrame(RefPtr<StaticBitmapImage> image) On 2016/09/14 17:35:57, xidachen wrote: > ...
4 years, 3 months ago (2016-09-14 17:36:57 UTC) #31
xidachen
adding dcheng@ to take a look at change in: offscreen_canvas_surface.mojom
4 years, 3 months ago (2016-09-14 17:40:48 UTC) #33
Ken Russell (switch to Gerrit)
The WebGL changes LGTM. Deferring to the others for correctness of the texture transfer code.
4 years, 3 months ago (2016-09-14 17:54:11 UTC) #35
xlai (Olivia)
https://codereview.chromium.org/2328463004/diff/140001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h (right): https://codereview.chromium.org/2328463004/diff/140001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h#newcode26 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h:26: void ReturnResources(Vector<cc::mojom::blink::ReturnedResourcePtr> resources) override; Hmmm..Is resourceId the only and ...
4 years, 3 months ago (2016-09-14 17:54:47 UTC) #36
Justin Novosad
lgtm with nit https://codereview.chromium.org/2328463004/diff/120001/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h File third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h (right): https://codereview.chromium.org/2328463004/diff/120001/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h#newcode12 third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h:12: #include "third_party/skia/include/core/SkImage.h" On 2016/09/14 14:53:51, xidachen ...
4 years, 3 months ago (2016-09-14 17:56:44 UTC) #37
xidachen
On 2016/09/14 17:54:47, xlai (Olivia) wrote: > https://codereview.chromium.org/2328463004/diff/140001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h > File > third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h > (right): > ...
4 years, 3 months ago (2016-09-14 18:28:13 UTC) #38
xlai (Olivia)
If you're just using a vector of integer, then I think there's no need to ...
4 years, 3 months ago (2016-09-14 18:29:50 UTC) #39
gacon
4 years, 3 months ago (2016-09-14 18:38:27 UTC) #41
gacon
4 years, 3 months ago (2016-09-14 18:38:30 UTC) #42
dcheng
https://codereview.chromium.org/2328463004/diff/180001/content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.cc File content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.cc (right): https://codereview.chromium.org/2328463004/diff/180001/content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.cc#newcode38 content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.cc:38: DCHECK(!client_.get()); Nit: the .get() should be unnecessary https://codereview.chromium.org/2328463004/diff/180001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom File ...
4 years, 3 months ago (2016-09-14 20:02:20 UTC) #43
danakj
https://codereview.chromium.org/2328463004/diff/180001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom File third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom (right): https://codereview.chromium.org/2328463004/diff/180001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom#newcode33 third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom:33: ReturnResources(array<cc.mojom.ReturnedResource> resources); On 2016/09/14 20:02:19, dcheng wrote: > Would ...
4 years, 3 months ago (2016-09-14 20:07:56 UTC) #44
xidachen
https://codereview.chromium.org/2328463004/diff/180001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom File third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom (right): https://codereview.chromium.org/2328463004/diff/180001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom#newcode33 third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom:33: ReturnResources(array<cc.mojom.ReturnedResource> resources); On 2016/09/14 20:07:56, danakj wrote: > On ...
4 years, 3 months ago (2016-09-15 15:56:28 UTC) #46
xlai (Olivia)
I have a slightly different opinion. I just did some checkup on the two mojom ...
4 years, 3 months ago (2016-09-15 18:14:20 UTC) #47
danakj
On Thu, Sep 15, 2016 at 11:14 AM, <xlai@chromium.org> wrote: > I have a slightly ...
4 years, 3 months ago (2016-09-15 18:25:49 UTC) #48
danakj
On Thu, Sep 15, 2016 at 11:14 AM, <xlai@chromium.org> wrote: > I have a slightly ...
4 years, 3 months ago (2016-09-15 18:25:51 UTC) #49
xidachen
On 2016/09/15 18:25:51, danakj wrote: > On Thu, Sep 15, 2016 at 11:14 AM, <mailto:xlai@chromium.org> ...
4 years, 3 months ago (2016-09-15 19:00:32 UTC) #50
xlai (Olivia)
Sure, #2 is just my suggestion to try to alleviate potential concerns of having additional ...
4 years, 3 months ago (2016-09-15 19:04:32 UTC) #51
Fady Samuel
On 2016/09/15 18:25:51, danakj wrote: > On Thu, Sep 15, 2016 at 11:14 AM, <mailto:xlai@chromium.org> ...
4 years, 3 months ago (2016-09-15 20:08:17 UTC) #52
xidachen
On 2016/09/15 20:08:17, Fady Samuel wrote: > On 2016/09/15 18:25:51, danakj wrote: > > On ...
4 years, 3 months ago (2016-09-15 20:29:22 UTC) #53
dcheng
On 2016/09/15 19:04:32, xlai (Olivia) wrote: > Sure, #2 is just my suggestion to try ...
4 years, 3 months ago (2016-09-15 20:44:04 UTC) #54
danakj
On Thu, Sep 15, 2016 at 1:44 PM, <dcheng@chromium.org> wrote: > On 2016/09/15 19:04:32, xlai ...
4 years, 3 months ago (2016-09-15 20:48:00 UTC) #55
danakj
On Thu, Sep 15, 2016 at 1:44 PM, <dcheng@chromium.org> wrote: > On 2016/09/15 19:04:32, xlai ...
4 years, 3 months ago (2016-09-15 20:54:41 UTC) #56
xidachen
danakj@, dcheng@: the latest patch is now using cc::mojom::MojoCompositorFrameSink, PTAL.
4 years, 3 months ago (2016-09-19 15:11:06 UTC) #58
jbroman
https://codereview.chromium.org/2328463004/diff/240001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom File third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom (right): https://codereview.chromium.org/2328463004/diff/240001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom#newcode25 third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom:25: interface OffscreenCanvasFrameReceiver { This interface is now unused.
4 years, 3 months ago (2016-09-19 15:12:10 UTC) #59
xidachen
https://codereview.chromium.org/2328463004/diff/240001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom File third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom (right): https://codereview.chromium.org/2328463004/diff/240001/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom#newcode25 third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom:25: interface OffscreenCanvasFrameReceiver { On 2016/09/19 15:12:10, jbroman wrote: > ...
4 years, 3 months ago (2016-09-19 18:25:12 UTC) #61
xidachen
piman@: could you please take a look at content/ changes? Thanks.
4 years, 3 months ago (2016-09-19 18:57:57 UTC) #63
piman
LGTM + nits https://codereview.chromium.org/2328463004/diff/280001/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc File content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc (right): https://codereview.chromium.org/2328463004/diff/280001/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc#newcode21 content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc:21: if (!GetSurfaceManager()) { nit: lookup the ...
4 years, 3 months ago (2016-09-19 20:27:08 UTC) #64
danakj
Cool :) Using the cc interface LGTM https://codereview.chromium.org/2328463004/diff/260001/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h File content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h (right): https://codereview.chromium.org/2328463004/diff/260001/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h#newcode27 content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h:27: void SubmitCompositorFrame( ...
4 years, 3 months ago (2016-09-19 20:29:25 UTC) #65
dcheng
mojom lgtm
4 years, 3 months ago (2016-09-19 20:44:13 UTC) #66
xidachen
nits addressed, sending to bots now. Thank you all :). https://codereview.chromium.org/2328463004/diff/280001/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc File content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc (right): https://codereview.chromium.org/2328463004/diff/280001/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc#newcode21 ...
4 years, 3 months ago (2016-09-20 00:58:25 UTC) #69
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/2328463004/320001
4 years, 3 months ago (2016-09-20 15:18:36 UTC) #77
commit-bot: I haz the power
Committed patchset #17 (id:320001)
4 years, 3 months ago (2016-09-20 15:25:07 UTC) #79
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 15:27:26 UTC) #81
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/6267a77aa199671dce58a41639b40021db18f7d6
Cr-Commit-Position: refs/heads/master@{#419771}

Powered by Google App Engine
This is Rietveld 408576698