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

Issue 2701663003: CompositorFrameSinkSupportClient::WillDraw needs to take in arguments (Closed)

Created:
3 years, 10 months ago by Saman Sami
Modified:
3 years, 10 months ago
Reviewers:
Tom Sepez, Fady Samuel
CC:
chromium-reviews, jam, cc-bugs_chromium.org, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CompositorFrameSinkSupportClient::WillDraw needs to take in arguments SurfaceFactory sends a LocalSurfaceId and a gfx::Rect to its client's WillDraw method, but CompositorFrameSinkSupport doesn't do so. This is a problem because we DelegatedFrameHost needs those arguments in WillDraw so if we want to switch to CompositorFrameSinkSupport, CompositorFrameSinkSupport must also forward those arguments. TBR=cpu@chromium.org BUG=692880 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2701663003 Cr-Commit-Position: refs/heads/master@{#451206} Committed: https://chromium.googlesource.com/chromium/src/+/6ede8b88d716c54c8a0d62b9c3907141137b28f8

Patch Set 1 #

Patch Set 2 : c #

Patch Set 3 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -25 lines) Patch
M android_webview/browser/surfaces_instance.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M android_webview/browser/surfaces_instance.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M cc/ipc/mojo_compositor_frame_sink.mojom View 1 2 chunks +2 lines, -1 line 0 comments Download
M cc/surfaces/compositor_frame_sink_support.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/compositor_frame_sink_support_client.h View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M cc/surfaces/compositor_frame_sink_support_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/exo/compositor_frame_sink.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/exo/compositor_frame_sink.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/exo/compositor_frame_sink_holder.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/exo/compositor_frame_sink_holder.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M services/ui/public/cpp/window_compositor_frame_sink.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/public/cpp/window_compositor_frame_sink.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M services/ui/ws/frame_generator.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/ws/frame_generator.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 33 (27 generated)
Fady Samuel
I think it would be useful to describe how DelegatedFrameHost uses the parameters. Also, you ...
3 years, 10 months ago (2017-02-16 20:23:02 UTC) #16
Tom Sepez
lgtm
3 years, 10 months ago (2017-02-16 20:24:22 UTC) #17
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/2701663003/40001
3 years, 10 months ago (2017-02-16 21:33:45 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/392189)
3 years, 10 months ago (2017-02-17 00:28:03 UTC) #27
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/2701663003/40001
3 years, 10 months ago (2017-02-17 01:05:51 UTC) #29
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 04:24:31 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6ede8b88d716c54c8a0d62b9c390...

Powered by Google App Engine
This is Rietveld 408576698