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

Issue 2720803002: Pass returned resources to DidReceiveCompositorFrameAck (Closed)

Created:
3 years, 9 months ago by Saman Sami
Modified:
3 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, ajuma+watch_chromium.org, android-webview-reviews_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, jam, jbauman+watch_chromium.org, jbroman, Justin Novosad, kalyank, kinuko+watch, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, qsr+mojo_chromium.org, rjkroege, rwlbuis, Stephen Chennney, viettrungluu+watch_chromium.org, xjz+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass returned resources to DidReceiveCompositorFrameAck In order to minimize the number of IPC messages sent, it's better to send frame ack and resources together if possible. TBR=derat@chromium.org,boliu@chromium.org,reveman@chromium.org,kbr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2720803002 Cr-Commit-Position: refs/heads/master@{#463798} Committed: https://chromium.googlesource.com/chromium/src/+/8d3604f1b7aa64e24c3e98ba1f850da2d125b62e

Patch Set 1 #

Patch Set 2 : c #

Patch Set 3 : rebased #

Patch Set 4 : c #

Patch Set 5 : c #

Patch Set 6 : c #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -61 lines) Patch
M android_webview/browser/hardware_renderer.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M android_webview/browser/hardware_renderer.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M android_webview/browser/surfaces_instance.h View 1 chunk +2 lines, -1 line 0 comments Download
M android_webview/browser/surfaces_instance.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M ash/laser/laser_pointer_view.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ash/laser/laser_pointer_view.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M cc/ipc/mojo_compositor_frame_sink.mojom View 1 2 1 chunk +1 line, -1 line 1 comment Download
M cc/surfaces/compositor_frame_sink_support.cc View 1 2 3 4 1 chunk +2 lines, -9 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/surfaces/compositor_frame_sink_support_unittest.cc View 1 2 3 4 chunks +14 lines, -9 lines 0 comments Download
M cc/surfaces/direct_compositor_frame_sink.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M cc/surfaces/direct_compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M cc/test/test_compositor_frame_sink.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/test_compositor_frame_sink.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M components/exo/compositor_frame_sink.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/exo/compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M components/exo/compositor_frame_sink_holder.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/exo/compositor_frame_sink_holder.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M components/viz/frame_sinks/gpu_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/viz/frame_sinks/gpu_compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M components/viz/frame_sinks/gpu_root_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M services/ui/public/cpp/client_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/public/cpp/client_compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M services/ui/ws/display_client_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/ws/display_client_compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M ui/android/delegated_frame_host_android.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ui/android/delegated_frame_host_android.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 54 (41 generated)
Saman Sami
PTAL I'm not sure how much you like this change. jbauman@ in my other CL ...
3 years, 9 months ago (2017-02-27 16:09:11 UTC) #6
Fady Samuel
I'm not a huge fan of this approach because we wanted to get rid of ...
3 years, 9 months ago (2017-02-27 16:15:06 UTC) #7
Saman Sami
PTAL
3 years, 8 months ago (2017-04-11 19:19:59 UTC) #21
Saman Sami
fsamuel Who else do you want to review this? I'm thinking of TBRing everyone.
3 years, 8 months ago (2017-04-11 19:20:35 UTC) #22
Fady Samuel
lgtm. Please pass this along to piman@ at least! Thanks
3 years, 8 months ago (2017-04-11 19:32:56 UTC) #23
Saman Sami
piman PTAL tsepez Please review IPC
3 years, 8 months ago (2017-04-11 19:53:31 UTC) #30
Tom Sepez
lgtm
3 years, 8 months ago (2017-04-11 20:13:19 UTC) #31
piman
lgtm https://codereview.chromium.org/2720803002/diff/100001/cc/ipc/mojo_compositor_frame_sink.mojom File cc/ipc/mojo_compositor_frame_sink.mojom (right): https://codereview.chromium.org/2720803002/diff/100001/cc/ipc/mojo_compositor_frame_sink.mojom#newcode55 cc/ipc/mojo_compositor_frame_sink.mojom:55: DidReceiveCompositorFrameAck(ReturnedResourceArray resources); nit: this used to be the ...
3 years, 8 months ago (2017-04-11 21:41:50 UTC) #36
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/2720803002/100001
3 years, 8 months ago (2017-04-11 21:54:59 UTC) #46
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/2720803002/100001
3 years, 8 months ago (2017-04-11 21:58:58 UTC) #49
boliu
lgtm
3 years, 8 months ago (2017-04-11 21:59:36 UTC) #50
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/8d3604f1b7aa64e24c3e98ba1f850da2d125b62e
3 years, 8 months ago (2017-04-11 22:16:32 UTC) #53
reveman
3 years, 8 months ago (2017-04-12 21:05:12 UTC) #54
Message was sent while issue was closed.
FYI, this is causing the browser process on CrOS to crash when using the laser
pointer as LaserPointerView::ReclaimResources expects cc::ReturnedResourceArray
to be non-empty. Uploaded a fix: https://codereview.chromium.org/2812363002

Powered by Google App Engine
This is Rietveld 408576698