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

Issue 14348029: Android: Throttle render compositor if browser (compositor) is behind. (Closed)

Created:
7 years, 8 months ago by no sievers
Modified:
7 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, Myles C. Maxfield (Amazon.com), brianderson
Visibility:
Public.

Description

Android: Throttle render compositor if browser (compositor) is behind. This delays the Swap ACK to the renderer if the browser has not consumed the current frontbuffer yet. Note: This might break embedders that don't use the browser compositor. The texture needs to be taken from RenderWidgetHostVIew through the TextureLayerClient::PrepareTexture() method. BUG=224602, 220907 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195340

Patch Set 1 #

Total comments: 3

Patch Set 2 : clang #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -6 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.h View 1 5 chunks +15 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 9 chunks +44 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
no sievers
Antoine, mind taking a quick look if this makes sense to you? I'm trying to ...
7 years, 8 months ago (2013-04-19 17:57:17 UTC) #1
piman
https://codereview.chromium.org/14348029/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/14348029/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode627 content/browser/renderer_host/render_widget_host_view_android.cc:627: ack_callback.Run(); Note: this can add a frame of latency ...
7 years, 8 months ago (2013-04-19 18:09:11 UTC) #2
no sievers
On 2013/04/19 18:09:11, piman wrote: > https://codereview.chromium.org/14348029/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc > File content/browser/renderer_host/render_widget_host_view_android.cc (right): > > https://codereview.chromium.org/14348029/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode627 > ...
7 years, 8 months ago (2013-04-19 18:21:15 UTC) #3
piman
On Fri, Apr 19, 2013 at 11:21 AM, <sievers@chromium.org> wrote: > On 2013/04/19 18:09:11, piman ...
7 years, 8 months ago (2013-04-19 18:34:32 UTC) #4
brianderson
https://codereview.chromium.org/14348029/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/14348029/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode627 content/browser/renderer_host/render_widget_host_view_android.cc:627: ack_callback.Run(); On 2013/04/19 18:09:12, piman wrote: > Note: this ...
7 years, 8 months ago (2013-04-19 18:49:19 UTC) #5
no sievers
On 2013/04/19 18:49:19, Brian Anderson wrote: > https://codereview.chromium.org/14348029/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc > File content/browser/renderer_host/render_widget_host_view_android.cc (right): > > https://codereview.chromium.org/14348029/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode627 ...
7 years, 8 months ago (2013-04-19 18:57:06 UTC) #6
no sievers
On 2013/04/19 18:57:06, Daniel Sievers wrote: > On 2013/04/19 18:49:19, Brian Anderson wrote: > > ...
7 years, 8 months ago (2013-04-19 19:04:16 UTC) #7
no sievers
On 2013/04/19 19:04:16, Daniel Sievers wrote: > On 2013/04/19 18:57:06, Daniel Sievers wrote: > > ...
7 years, 8 months ago (2013-04-19 19:21:46 UTC) #8
no sievers
So based on the quasi-lgtm feedback, I guess I'll basically wait on lgtm from dtrainor ...
7 years, 8 months ago (2013-04-19 19:33:06 UTC) #9
David Trainor- moved to gerrit
lgtm
7 years, 8 months ago (2013-04-19 20:19:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/14348029/12002
7 years, 8 months ago (2013-04-19 22:43:13 UTC) #11
no sievers
Committed patchset #3 manually as r195340 (presubmit successful).
7 years, 8 months ago (2013-04-19 23:44:21 UTC) #12
no sievers
7 years, 8 months ago (2013-04-19 23:53:03 UTC) #13
Message was sent while issue was closed.
On 2013/04/19 19:33:06, Daniel Sievers wrote:
> And we might want to try removing the consumed_current_texture_ optimization
> sooner, rather than later.

Actually, no reason not to do it right rightaway on trunk:
https://codereview.chromium.org/14254004/

Powered by Google App Engine
This is Rietveld 408576698