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

Issue 628703005: Remove GpuHostMsg_FrameDrawn and replace with client channel swap ack (Closed)

Created:
6 years, 2 months ago by no sievers
Modified:
6 years, 2 months ago
Reviewers:
Tom Sepez, Mike West, piman
CC:
chromium-reviews, mkwst+moarreviews-ipc_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org, Yufeng Shen (Slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove GpuHostMsg_FrameDrawn and replace with client channel swap ack This also makes it unnecessary to signal a sync point callback for swap completion for browser compositor surfaces which is skipped now. BUG=417945 Committed: https://crrev.com/df212b3be96421b8b0bcce4947a50236abc38615 Cr-Commit-Position: refs/heads/master@{#298972}

Patch Set 1 #

Total comments: 10

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : doh #

Patch Set 4 : fix andoird #

Patch Set 5 : rebase #

Patch Set 6 : rebase, fix cros/threaded #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -54 lines) Patch
M cc/output/output_surface.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.h View 1 2 3 4 5 3 chunks +9 lines, -1 line 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.cc View 1 2 3 4 5 3 chunks +53 lines, -11 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.cc View 2 chunks +0 lines, -9 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 11 chunks +47 lines, -22 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.cc View 1 2 3 chunks +19 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 2 chunks +4 lines, -5 lines 0 comments Download
M content/common/gpu/image_transport_surface.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/image_transport_surface.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
no sievers
ptal depends on https://codereview.chromium.org/632113002/ for removing the SetLatencyInfo call site in the renderer https://codereview.chromium.org/629293004/ for ...
6 years, 2 months ago (2014-10-07 01:01:38 UTC) #2
piman
https://codereview.chromium.org/628703005/diff/1/content/browser/compositor/gpu_browser_compositor_output_surface.cc File content/browser/compositor/gpu_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/628703005/diff/1/content/browser/compositor/gpu_browser_compositor_output_surface.cc#newcode43 content/browser/compositor/gpu_browser_compositor_output_surface.cc:43: base::Unretained(this))); Because ContextProvider is refcounted, it might outlive the ...
6 years, 2 months ago (2014-10-07 02:30:39 UTC) #3
Mike West
Drive-by IPC comment. +tsepez@ to eventually give an OWNERS stamp. https://codereview.chromium.org/628703005/diff/1/content/common/gpu/client/command_buffer_proxy_impl.cc File content/common/gpu/client/command_buffer_proxy_impl.cc (right): https://codereview.chromium.org/628703005/diff/1/content/common/gpu/client/command_buffer_proxy_impl.cc#newcode512 ...
6 years, 2 months ago (2014-10-07 04:46:23 UTC) #5
no sievers
https://codereview.chromium.org/628703005/diff/1/content/browser/compositor/gpu_browser_compositor_output_surface.cc File content/browser/compositor/gpu_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/628703005/diff/1/content/browser/compositor/gpu_browser_compositor_output_surface.cc#newcode43 content/browser/compositor/gpu_browser_compositor_output_surface.cc:43: base::Unretained(this))); On 2014/10/07 02:30:39, piman (Very slow to review) ...
6 years, 2 months ago (2014-10-07 19:47:24 UTC) #6
no sievers
On 2014/10/07 04:46:23, Mike West wrote: > Drive-by IPC comment. +tsepez@ to eventually give an ...
6 years, 2 months ago (2014-10-07 19:52:30 UTC) #7
piman
On Tue, Oct 7, 2014 at 12:52 PM, <sievers@chromium.org> wrote: > On 2014/10/07 04:46:23, Mike ...
6 years, 2 months ago (2014-10-07 20:17:06 UTC) #8
piman
https://codereview.chromium.org/628703005/diff/20001/content/common/gpu/client/command_buffer_proxy_impl.cc File content/common/gpu/client/command_buffer_proxy_impl.cc (right): https://codereview.chromium.org/628703005/diff/20001/content/common/gpu/client/command_buffer_proxy_impl.cc#newcode519 content/common/gpu/client/command_buffer_proxy_impl.cc:519: swap_buffers_completion_callback_.Run(std::vector<ui::LatencyInfo>()); return? We don't want to run the callback ...
6 years, 2 months ago (2014-10-07 20:20:51 UTC) #9
no sievers
https://codereview.chromium.org/628703005/diff/20001/content/common/gpu/client/command_buffer_proxy_impl.cc File content/common/gpu/client/command_buffer_proxy_impl.cc (right): https://codereview.chromium.org/628703005/diff/20001/content/common/gpu/client/command_buffer_proxy_impl.cc#newcode519 content/common/gpu/client/command_buffer_proxy_impl.cc:519: swap_buffers_completion_callback_.Run(std::vector<ui::LatencyInfo>()); On 2014/10/07 20:20:51, piman (Very slow to review) ...
6 years, 2 months ago (2014-10-07 20:22:24 UTC) #10
Mike West
> > Should we really be overriding the IPC traits for vector<LatencyInfo> so that > ...
6 years, 2 months ago (2014-10-08 07:29:19 UTC) #11
piman
On Wed, Oct 8, 2014 at 12:29 AM, <mkwst@chromium.org> wrote: > > Should we really ...
6 years, 2 months ago (2014-10-08 17:24:50 UTC) #12
no sievers
On 2014/10/08 07:29:19, Mike West wrote: > This patch removes a call to Verify (from ...
6 years, 2 months ago (2014-10-08 18:04:58 UTC) #13
piman
lgtm
6 years, 2 months ago (2014-10-08 20:24:21 UTC) #14
no sievers
ping @tsepez for IPC review
6 years, 2 months ago (2014-10-09 18:23:30 UTC) #15
Tom Sepez
Owners stamp LGTM for ipc messages.
6 years, 2 months ago (2014-10-09 18:31:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/628703005/150001
6 years, 2 months ago (2014-10-09 20:25:05 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:150001)
6 years, 2 months ago (2014-10-09 20:40:21 UTC) #19
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 20:41:38 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/df212b3be96421b8b0bcce4947a50236abc38615
Cr-Commit-Position: refs/heads/master@{#298972}

Powered by Google App Engine
This is Rietveld 408576698