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

Issue 2703503002: WIP: move OffscreenCanvas into new display compositor

Created:
3 years, 10 months ago by xing.xu
Modified:
3 years, 10 months ago
Reviewers:
Fady Samuel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move OffscreenCanvas into new display compositor Things need to check: 1), BeginFrame implementation. BUG=686861, 664547 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Patch Set 1 #

Patch Set 2 : [Test] OffscreenCanvas #

Patch Set 3 : Fix build issues. #

Patch Set 4 : Fix includes dpes #

Patch Set 5 : Refine #

Patch Set 6 : Fix mojo connecter issues #

Patch Set 7 : Need to share the SurfaceManager from system #

Patch Set 8 : Rename to CreateOffscreenCanvasCompositorFrameSink #

Patch Set 9 : Refine connection lost #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -102 lines) Patch
M cc/ipc/display_compositor.mojom View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 1 comment Download
M components/display_compositor/BUILD.gn View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -12 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -29 lines 0 comments Download
A components/display_compositor/gpu_compositor_frame_sink_base.h View 1 2 3 4 5 6 7 8 1 chunk +48 lines, -0 lines 0 comments Download
A components/display_compositor/gpu_compositor_frame_sink_base.cc View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -0 lines 0 comments Download
M components/display_compositor/gpu_display_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/display_compositor/gpu_display_compositor_frame_sink.cc View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
M components/display_compositor/gpu_offscreen_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/display_compositor/gpu_offscreen_compositor_frame_sink.cc View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
A + components/display_compositor/offscreen_canvas_compositor_frame_sink.h View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
A + components/display_compositor/offscreen_canvas_compositor_frame_sink.cc View 1 2 2 chunks +5 lines, -7 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 4 chunks +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -6 lines 1 comment Download
M content/public/app/mojo/content_browser_manifest.json View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M services/ui/surfaces/display_compositor.h View 1 2 3 4 5 6 7 3 chunks +9 lines, -0 lines 0 comments Download
M services/ui/surfaces/display_compositor.cc View 1 2 3 4 5 6 7 3 chunks +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 1 2 3 4 5 6 7 3 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (26 generated)
Fady Samuel
https://codereview.chromium.org/2703503002/diff/150001/cc/ipc/display_compositor.mojom File cc/ipc/display_compositor.mojom (right): https://codereview.chromium.org/2703503002/diff/150001/cc/ipc/display_compositor.mojom#newcode62 cc/ipc/display_compositor.mojom:62: CreateOffscreenCanvasCompositorFrameSink( I don't think we should special case offscreen ...
3 years, 10 months ago (2017-02-21 14:16:18 UTC) #27
xing.xu
3 years, 10 months ago (2017-02-21 14:42:44 UTC) #28
On 2017/02/21 14:16:18, Fady Samuel wrote:
>
https://codereview.chromium.org/2703503002/diff/150001/cc/ipc/display_composi...
> File cc/ipc/display_compositor.mojom (right):
> 
>
https://codereview.chromium.org/2703503002/diff/150001/cc/ipc/display_composi...
> cc/ipc/display_compositor.mojom:62: CreateOffscreenCanvasCompositorFrameSink(
> I don't think we should special case offscreen canvas. It should be no
different
> from any other client.
> 
>
https://codereview.chromium.org/2703503002/diff/150001/content/browser/render...
> File content/browser/renderer_host/render_process_host_impl.cc (right):
> 
>
https://codereview.chromium.org/2703503002/diff/150001/content/browser/render...
> content/browser/renderer_host/render_process_host_impl.cc:1382:
> display_compositor_.reset(
> This isn't the right place to use DisplayCompositor. There should only be one
of
> these objects in the system. Please see my patch. You want a DisplayCompositor
> in GpuProcessTransportFactory, most likely.

Thanks Fady!

Powered by Google App Engine
This is Rietveld 408576698