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

Issue 344743002: Make Android CompositorImpl use scheduled SingleThreadProxy (Closed)

Created:
6 years, 6 months ago by enne (OOO)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam, Yufeng Shen (Slow to review)
Project:
chromium
Visibility:
Public.

Description

Make Android CompositorImpl use scheduled SingleThreadProxy This is a follow-up to https://codereview.chromium.org/134623005/ to remove the manual scheduling from CompositorImpl and instead use the scheduler. BUG=437603

Patch Set 1 #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -288 lines) Patch
M cc/trees/layer_tree_host_single_thread_client.h View 1 chunk +0 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.cc View 13 chunks +16 lines, -39 lines 2 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 3 chunks +0 lines, -56 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 10 chunks +23 lines, -185 lines 12 comments Download

Messages

Total messages: 8 (0 generated)
enne (OOO)
This is a rough draft followup to the SingleThreadProxy/SchedulerClient change, to handle the CompositorImpl issues ...
6 years, 6 months ago (2014-06-19 01:09:27 UTC) #1
no sievers
https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc#newcode313 content/browser/renderer_host/compositor_impl_android.cc:313: weak_factory_.GetWeakPtr())); We then need to defer the host_->SetLayerTreeHostClientReady() from ...
6 years, 6 months ago (2014-06-19 17:13:26 UTC) #2
no sievers
https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc#newcode286 content/browser/renderer_host/compositor_impl_android.cc:286: settings.highp_threshold_min = 2048; If we set... settings.throttle_frame_production = true; ...
6 years, 6 months ago (2014-06-19 17:49:22 UTC) #3
brianderson
https://codereview.chromium.org/344743002/diff/1/cc/trees/single_thread_proxy.cc File cc/trees/single_thread_proxy.cc (left): https://codereview.chromium.org/344743002/diff/1/cc/trees/single_thread_proxy.cc#oldcode146 cc/trees/single_thread_proxy.cc:146: SetNeedsCommit(); Until we have commit-less updates, we'll should introduce ...
6 years, 6 months ago (2014-06-24 23:50:13 UTC) #4
no sievers
https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc#newcode426 content/browser/renderer_host/compositor_impl_android.cc:426: client_->OnSwapBuffersCompleted(pending_swapbuffers_); On 2014/06/24 23:50:12, brianderson wrote: > Can we ...
6 years, 6 months ago (2014-06-25 00:03:26 UTC) #5
danakj
https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc#newcode214 content/browser/renderer_host/compositor_impl_android.cc:214: host_->SetNeedsCommit(); On 2014/06/24 23:50:12, brianderson wrote: > Should this ...
6 years, 6 months ago (2014-06-25 17:28:54 UTC) #6
mithro-old
On 2014/06/25 17:28:54, danakj wrote: > https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc > File content/browser/renderer_host/compositor_impl_android.cc (right): > > https://codereview.chromium.org/344743002/diff/1/content/browser/renderer_host/compositor_impl_android.cc#newcode214 > ...
6 years, 5 months ago (2014-07-02 06:09:54 UTC) #7
enne (OOO)
6 years, 5 months ago (2014-07-02 17:31:01 UTC) #8
On 2014/07/02 06:09:54, mithro wrote:

> This looks like a great patch! Any chance it'll be able to land soon?

Not too soon.  It depends on https://codereview.chromium.org/134623005/ and
https://codereview.chromium.org/348093004/.

Powered by Google App Engine
This is Rietveld 408576698