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

Issue 12614013: Plumb cc::LatencyInfo through command buffer and output surface (Closed)

Created:
7 years, 9 months ago by jbauman
Modified:
7 years, 8 months ago
CC:
chromium-reviews, jam, sail+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, apatrick_chromium, cc-bugs_chromium.org, brianderson, slavi, danakj, piman
Visibility:
Public.

Description

Plumb cc::LatencyInfo through command buffer and output surface This allows the LatencyInfo struct to pass from the compositor to the gpu process and up to the browser. It only works completely with the passthrough image transport surface at the moment, because that doesn't require passing data through some extra components. BUG=155367 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193864

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : remove backwards path #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : minor changes #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -26 lines) Patch
M cc/output/compositor_frame_metadata.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M cc/output/output_surface.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M cc/output/output_surface.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/cc_messages.h View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 2 3 4 5 6 7 5 chunks +9 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 5 6 7 3 chunks +14 lines, -1 line 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 6 7 5 chunks +13 lines, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface.h View 1 2 3 6 chunks +10 lines, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface.cc View 1 2 3 4 5 6 9 chunks +31 lines, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface_mac.cc View 1 2 3 4 5 6 5 chunks +10 lines, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface_win.cc View 1 2 3 4 5 6 4 chunks +9 lines, -0 lines 0 comments Download
M content/common/gpu/texture_image_transport_surface.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M content/common/gpu/texture_image_transport_surface.cc View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 4 5 6 7 3 chunks +28 lines, -2 lines 0 comments Download
M content/renderer/gpu/mailbox_output_surface.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/gpu/mailbox_output_surface.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
jbauman
7 years, 9 months ago (2013-03-15 00:32:40 UTC) #1
apatrick_chromium
lgtm https://codereview.chromium.org/12614013/diff/8001/content/common/gpu/image_transport_surface.cc File content/common/gpu/image_transport_surface.cc (right): https://codereview.chromium.org/12614013/diff/8001/content/common/gpu/image_transport_surface.cc#newcode39 content/common/gpu/image_transport_surface.cc:39: if (stub_) nit: braces https://codereview.chromium.org/12614013/diff/8001/content/common/gpu/image_transport_surface.cc#newcode54 content/common/gpu/image_transport_surface.cc:54: if (stub_) ...
7 years, 9 months ago (2013-03-15 19:09:35 UTC) #2
nduca
+danakj +piman +skaslev https://codereview.chromium.org/12614013/diff/8001/cc/output_surface_client.h File cc/output_surface_client.h (right): https://codereview.chromium.org/12614013/diff/8001/cc/output_surface_client.h#newcode22 cc/output_surface_client.h:22: virtual void OnReceivedLatencyInfo(const LatencyInfo&) = 0; ...
7 years, 9 months ago (2013-03-18 18:38:31 UTC) #3
jbauman
On 2013/03/18 18:38:31, nduca wrote: > +danakj +piman +skaslev > > https://codereview.chromium.org/12614013/diff/8001/cc/output_surface_client.h > File cc/output_surface_client.h ...
7 years, 9 months ago (2013-03-18 20:36:42 UTC) #4
nduca
I think that we have other use cases for a pre-swap coming, so lets save ...
7 years, 9 months ago (2013-03-18 20:41:04 UTC) #5
jbauman
On 2013/03/18 20:41:04, nduca wrote: > I think that we have other use cases for ...
7 years, 9 months ago (2013-03-18 20:47:28 UTC) #6
nduca
WGC3D::Onswapbufferscompleted and this new OnReceivedLatencyInfo are basically acks of the frame, but at different stages ...
7 years, 9 months ago (2013-03-18 20:54:23 UTC) #7
jbauman
On 2013/03/18 20:54:23, nduca wrote: > WGC3D::Onswapbufferscompleted and this new OnReceivedLatencyInfo are basically > acks ...
7 years, 9 months ago (2013-03-18 21:24:00 UTC) #8
piman
https://codereview.chromium.org/12614013/diff/8001/cc/output_surface.h File cc/output_surface.h (right): https://codereview.chromium.org/12614013/diff/8001/cc/output_surface.h#newcode96 cc/output_surface.h:96: virtual void SetLatencyInfo(const LatencyInfo&) {} What calls this, and ...
7 years, 9 months ago (2013-03-19 04:30:28 UTC) #9
jbauman
On 2013/03/19 04:30:28, piman wrote: > https://codereview.chromium.org/12614013/diff/8001/cc/output_surface.h > File cc/output_surface.h (right): > > https://codereview.chromium.org/12614013/diff/8001/cc/output_surface.h#newcode96 > ...
7 years, 9 months ago (2013-03-19 16:03:37 UTC) #10
piman
On Tue, Mar 19, 2013 at 9:03 AM, <jbauman@chromium.org> wrote: > On 2013/03/19 04:30:28, piman ...
7 years, 9 months ago (2013-03-19 16:50:41 UTC) #11
jbauman
On Tue, Mar 19, 2013 at 9:50 AM, Antoine Labour <piman@chromium.org> wrote: > On Tue, ...
7 years, 9 months ago (2013-03-21 17:36:42 UTC) #12
jbauman
Ok, removed the path back from the GPU process to the renderer, and made the ...
7 years, 8 months ago (2013-04-03 06:28:07 UTC) #13
piman
https://codereview.chromium.org/12614013/diff/49001/content/common/gpu/client/command_buffer_proxy_impl.cc File content/common/gpu/client/command_buffer_proxy_impl.cc (right): https://codereview.chromium.org/12614013/diff/49001/content/common/gpu/client/command_buffer_proxy_impl.cc#newcode206 content/common/gpu/client/command_buffer_proxy_impl.cc:206: const cc::LatencyInfo& latency_info) { You need to check for ...
7 years, 8 months ago (2013-04-03 18:05:09 UTC) #14
jbauman
Ok, fixed. On 2013/04/03 18:05:09, piman wrote: > https://codereview.chromium.org/12614013/diff/49001/content/common/gpu/client/command_buffer_proxy_impl.cc > File content/common/gpu/client/command_buffer_proxy_impl.cc (right): > > ...
7 years, 8 months ago (2013-04-04 22:18:57 UTC) #15
piman
LGTM, thanks!
7 years, 8 months ago (2013-04-04 23:24:32 UTC) #16
nduca
lgtm
7 years, 8 months ago (2013-04-08 20:26:23 UTC) #17
jbauman
Justin, could you review the IPC message changes?
7 years, 8 months ago (2013-04-09 00:12:46 UTC) #18
jbauman
On 2013/04/09 00:12:46, jbauman wrote: > Justin, could you review the IPC message changes? jschuh@, ...
7 years, 8 months ago (2013-04-12 00:00:29 UTC) #19
jschuh
Sorry, missed this. Is it just integer metadata for tracing purposes?
7 years, 8 months ago (2013-04-12 00:56:57 UTC) #20
jbauman
On 2013/04/12 00:56:57, Justin Schuh wrote: > Sorry, missed this. Is it just integer metadata ...
7 years, 8 months ago (2013-04-12 01:01:09 UTC) #21
jschuh
okay. ipc security rubberstamp lgtm since then.
7 years, 8 months ago (2013-04-12 01:04:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/12614013/56001
7 years, 8 months ago (2013-04-12 02:13:15 UTC) #23
commit-bot: I haz the power
Failed to apply patch for content/common/cc_messages.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-12 02:13:37 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/12614013/73001
7 years, 8 months ago (2013-04-12 02:21:58 UTC) #25
commit-bot: I haz the power
7 years, 8 months ago (2013-04-12 06:10:09 UTC) #26
Message was sent while issue was closed.
Change committed as 193864

Powered by Google App Engine
This is Rietveld 408576698