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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 2494623002: cc: Remove client/engine LayerTreeHostInProcess. (Closed)
Patch Set: .. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/gpu/render_widget_compositor.h" 5 #include "content/renderer/gpu/render_widget_compositor.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <limits> 8 #include <limits>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 26 matching lines...) Expand all
37 #include "cc/output/copy_output_request.h" 37 #include "cc/output/copy_output_request.h"
38 #include "cc/output/copy_output_result.h" 38 #include "cc/output/copy_output_result.h"
39 #include "cc/output/latency_info_swap_promise.h" 39 #include "cc/output/latency_info_swap_promise.h"
40 #include "cc/output/swap_promise.h" 40 #include "cc/output/swap_promise.h"
41 #include "cc/proto/compositor_message.pb.h" 41 #include "cc/proto/compositor_message.pb.h"
42 #include "cc/resources/single_release_callback.h" 42 #include "cc/resources/single_release_callback.h"
43 #include "cc/scheduler/begin_frame_source.h" 43 #include "cc/scheduler/begin_frame_source.h"
44 #include "cc/trees/latency_info_swap_promise_monitor.h" 44 #include "cc/trees/latency_info_swap_promise_monitor.h"
45 #include "cc/trees/layer_tree_host_in_process.h" 45 #include "cc/trees/layer_tree_host_in_process.h"
46 #include "cc/trees/layer_tree_mutator.h" 46 #include "cc/trees/layer_tree_mutator.h"
47 #include "cc/trees/remote_proto_channel.h"
48 #include "content/common/content_switches_internal.h" 47 #include "content/common/content_switches_internal.h"
49 #include "content/common/gpu/client/context_provider_command_buffer.h" 48 #include "content/common/gpu/client/context_provider_command_buffer.h"
50 #include "content/common/layer_tree_settings_factory.h" 49 #include "content/common/layer_tree_settings_factory.h"
51 #include "content/public/common/content_client.h" 50 #include "content/public/common/content_client.h"
52 #include "content/public/common/content_switches.h" 51 #include "content/public/common/content_switches.h"
53 #include "content/public/renderer/content_renderer_client.h" 52 #include "content/public/renderer/content_renderer_client.h"
54 #include "content/renderer/gpu/render_widget_compositor_delegate.h" 53 #include "content/renderer/gpu/render_widget_compositor_delegate.h"
55 #include "content/renderer/input/input_handler_manager.h" 54 #include "content/renderer/input/input_handler_manager.h"
56 #include "gpu/command_buffer/client/gles2_interface.h" 55 #include "gpu/command_buffer/client/gles2_interface.h"
57 #include "gpu/command_buffer/service/gpu_switches.h" 56 #include "gpu/command_buffer/service/gpu_switches.h"
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1141 float device_scale) { 1140 float device_scale) {
1142 layer_tree_host_->GetLayerTree()->SetPaintedDeviceScaleFactor(device_scale); 1141 layer_tree_host_->GetLayerTree()->SetPaintedDeviceScaleFactor(device_scale);
1143 } 1142 }
1144 1143
1145 void RenderWidgetCompositor::SetDeviceColorSpace( 1144 void RenderWidgetCompositor::SetDeviceColorSpace(
1146 const gfx::ColorSpace& color_space) { 1145 const gfx::ColorSpace& color_space) {
1147 layer_tree_host_->GetLayerTree()->SetDeviceColorSpace(color_space); 1146 layer_tree_host_->GetLayerTree()->SetDeviceColorSpace(color_space);
1148 } 1147 }
1149 1148
1150 } // namespace content 1149 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698