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

Issue 447133002: Revert of Make SingleThreadProxy a SchedulerClient (Closed)

Created:
6 years, 4 months ago by tkent
Modified:
6 years, 4 months ago
CC:
cc-bugs_chromium.org, ccameron, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, joi+watch-content_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org, no sievers, Mr4D (OOO till 08-26), Ian Vollick
Visibility:
Public.

Description

Revert of Make SingleThreadProxy a SchedulerClient (https://codereview.chromium.org/134623005/) Reason for revert: Broke some layout tests Original issue's description: > Make SingleThreadProxy a SchedulerClient > > This makes ui::Compositor no longer in charge of > scheduling commits and draws, deferring it to cc::Scheduler. > > Other compositors that use SingleThreadProxy are left calling composite > synchronously and now pass a flag to indicate that this is their > intention. This patch doesn't remove synchronous composite, but now > makes it mutually exclusive with scheduling. > > BUG=329552, 287250 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287950 NOTRY=true NOTREECHECKS=true TBR=enne@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287968

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+478 lines, -597 lines) Patch
M android_webview/browser/hardware_renderer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/browser/hardware_renderer.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M cc/scheduler/scheduler.h View 2 chunks +8 lines, -7 lines 0 comments Download
M cc/scheduler/scheduler.cc View 9 chunks +12 lines, -15 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 chunk +1 line, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test.h View 4 chunks +6 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 5 chunks +46 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_perftest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_single_thread_client.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 6 chunks +3 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 10 chunks +47 lines, -35 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_no_message_loop.cc View 2 chunks +2 lines, -1 line 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.h View 7 chunks +7 lines, -39 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 16 chunks +81 lines, -286 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/menu_view_drag_and_drop_test.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 3 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 6 chunks +27 lines, -9 lines 0 comments Download
M content/renderer/render_widget.h View 3 chunks +1 line, -6 lines 0 comments Download
M content/renderer/render_widget.cc View 5 chunks +9 lines, -17 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_proxy.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor.h View 5 chunks +24 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 8 chunks +107 lines, -28 lines 0 comments Download
M ui/compositor/layer_unittest.cc View 9 chunks +17 lines, -23 lines 0 comments Download
M ui/compositor/test/draw_waiter_for_test.h View 2 chunks +3 lines, -12 lines 0 comments Download
M ui/compositor/test/draw_waiter_for_test.cc View 2 chunks +12 lines, -21 lines 0 comments Download
M ui/compositor/test/test_compositor_host_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/test/test_compositor_host_ozone.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M ui/compositor/test/test_compositor_host_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/test/test_compositor_host_x11.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M ui/snapshot/snapshot_aura_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/view_unittest.cc View 14 chunks +20 lines, -40 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tkent
Created Revert of Make SingleThreadProxy a SchedulerClient
6 years, 4 months ago (2014-08-07 05:27:29 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/447133002/1
6 years, 4 months ago (2014-08-07 05:28:20 UTC) #2
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 05:28:20 UTC) #3
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 4 months ago (2014-08-07 05:28:22 UTC) #4
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 4 months ago (2014-08-07 05:30:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/447133002/1
6 years, 4 months ago (2014-08-07 05:31:38 UTC) #6
tkent
The CQ bit was unchecked by tkent@chromium.org
6 years, 4 months ago (2014-08-07 05:45:47 UTC) #7
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 4 months ago (2014-08-07 05:45:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/447133002/1
6 years, 4 months ago (2014-08-07 05:48:34 UTC) #9
commit-bot: I haz the power
Change committed as 287968
6 years, 4 months ago (2014-08-07 05:51:12 UTC) #10
danakj
Is there somewhere else that says what tests broke and links to them? On Aug ...
6 years, 4 months ago (2014-08-07 12:31:16 UTC) #11
chromium-reviews
6 years, 4 months ago (2014-08-07 12:38:14 UTC) #12
Ooh I found it. Sorry and thanks!
On Aug 7, 2014 8:31 AM, "Dana Jansens" <danakj@chromium.org> wrote:

> Is there somewhere else that says what tests broke and links to them?
> On Aug 7, 2014 1:27 AM, <tkent@chromium.org> wrote:
>
>> Reviewers: Ben Goodger (Google), boliu, brianderson, danakj, jamesr,
>> mithro(OO till 11 Aug), piman (slow to review), sievers_OOOuntil8_15,
>> simonhong, enne,
>>
>> Message:
>> Created Revert of Make SingleThreadProxy a SchedulerClient
>>
>> Description:
>> Revert of Make SingleThreadProxy a SchedulerClient
>> (https://codereview.chromium.org/134623005/)
>>
>> Reason for revert:
>> Broke some layout tests
>>
>> Original issue's description:
>>
>>> Make SingleThreadProxy a SchedulerClient
>>>
>>
>>  This makes ui::Compositor no longer in charge of
>>> scheduling commits and draws, deferring it to cc::Scheduler.
>>>
>>
>>  Other compositors that use SingleThreadProxy are left calling composite
>>> synchronously and now pass a flag to indicate that this is their
>>> intention.  This patch doesn't remove synchronous composite, but now
>>> makes it mutually exclusive with scheduling.
>>>
>>
>>  BUG=329552, 287250
>>>
>>
>>  Committed: https://src.chromium.org/viewvc/chrome?view=rev&
>>> revision=287950
>>>
>>
>> Please review this at https://codereview.chromium.org/447133002/
>>
>> SVN Base: svn://svn.chromium.org/chrome/trunk/src
>>
>> Affected files (+478, -597 lines):
>>   M android_webview/browser/hardware_renderer.h
>>   M android_webview/browser/hardware_renderer.cc
>>   M cc/scheduler/scheduler.h
>>   M cc/scheduler/scheduler.cc
>>   M cc/scheduler/scheduler_state_machine.cc
>>   M cc/test/fake_layer_tree_host_client.h
>>   M cc/test/layer_tree_test.h
>>   M cc/test/layer_tree_test.cc
>>   M cc/trees/layer_tree_host.cc
>>   M cc/trees/layer_tree_host_perftest.cc
>>   M cc/trees/layer_tree_host_single_thread_client.h
>>   M cc/trees/layer_tree_host_unittest.cc
>>   M cc/trees/layer_tree_host_unittest_animation.cc
>>   M cc/trees/layer_tree_host_unittest_context.cc
>>   M cc/trees/layer_tree_host_unittest_no_message_loop.cc
>>   M cc/trees/layer_tree_settings.h
>>   M cc/trees/layer_tree_settings.cc
>>   M cc/trees/single_thread_proxy.h
>>   M cc/trees/single_thread_proxy.cc
>>   M cc/trees/thread_proxy.cc
>>   M chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
>>   M content/browser/renderer_host/compositor_impl_android.cc
>>   M content/public/common/content_switches.h
>>   M content/public/common/content_switches.cc
>>   M content/renderer/gpu/render_widget_compositor.h
>>   M content/renderer/gpu/render_widget_compositor.cc
>>   M content/renderer/render_widget.h
>>   M content/renderer/render_widget.cc
>>   M content/shell/renderer/test_runner/web_test_proxy.cc
>>   M content/test/web_layer_tree_view_impl_for_testing.h
>>   M ui/compositor/compositor.h
>>   M ui/compositor/compositor.cc
>>   M ui/compositor/layer_unittest.cc
>>   M ui/compositor/test/draw_waiter_for_test.h
>>   M ui/compositor/test/draw_waiter_for_test.cc
>>   M ui/compositor/test/test_compositor_host_mac.mm
>>   M ui/compositor/test/test_compositor_host_ozone.cc
>>   M ui/compositor/test/test_compositor_host_win.cc
>>   M ui/compositor/test/test_compositor_host_x11.cc
>>   M ui/snapshot/snapshot_aura_unittest.cc
>>   M ui/views/view_unittest.cc
>>
>>
>>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698