From 5d6eb98fd5d6acf448c153e89d09dc506f0e4210 Mon Sep 17 00:00:00 2001 From: khushalsagar Date: Fri, 25 Sep 2015 15:44:56 -0700 Subject: Add basic framework for splitting thread proxy. ProxyMain and ProxyImpl have been temporarily defined as interfaces to have the implementation in ThreadProxy and incrementally move methods to the different classes. MainThreadOnly and BlockedMainThread are the variables owned by ProxyMain and CompositorThreadOnly are the variables owned by ProxyImpl. All access to the data variables and methods for the 2 sides will be routed through the Channel interfaces with ThreadedChannel providing the implementation for the current case where ProxyMain and ProxyImpl are running on separate threads. BUG=527200 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1357373002 Cr-Commit-Position: refs/heads/master@{#350935} --- cc/cc.gyp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cc/cc.gyp') diff --git a/cc/cc.gyp b/cc/cc.gyp index d78603b..64b3f11 100644 --- a/cc/cc.gyp +++ b/cc/cc.gyp @@ -513,6 +513,8 @@ 'tiles/tiling_set_raster_queue_required.h', 'trees/blocking_task_runner.cc', 'trees/blocking_task_runner.h', + 'trees/channel_impl.h', + 'trees/channel_main.h', 'trees/damage_tracker.cc', 'trees/damage_tracker.h', 'trees/draw_property_utils.cc', @@ -542,11 +544,15 @@ 'trees/property_tree_builder.h', 'trees/proxy.cc', 'trees/proxy.h', + 'trees/proxy_impl.h' + 'trees/proxy_main.h' 'trees/scoped_abort_remaining_swap_promises.h', 'trees/single_thread_proxy.cc', 'trees/single_thread_proxy.h', 'trees/swap_promise_monitor.cc', 'trees/swap_promise_monitor.h', + 'trees/threaded_channel.cc', + 'trees/threaded_channel.h', 'trees/thread_proxy.cc', 'trees/thread_proxy.h', 'trees/tree_synchronizer.cc', -- cgit v1.1