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

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

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months 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
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 23 matching lines...) Expand all
34 #include "cc/output/copy_output_request.h" 34 #include "cc/output/copy_output_request.h"
35 #include "cc/output/copy_output_result.h" 35 #include "cc/output/copy_output_result.h"
36 #include "cc/output/latency_info_swap_promise.h" 36 #include "cc/output/latency_info_swap_promise.h"
37 #include "cc/output/swap_promise.h" 37 #include "cc/output/swap_promise.h"
38 #include "cc/proto/compositor_message.pb.h" 38 #include "cc/proto/compositor_message.pb.h"
39 #include "cc/resources/single_release_callback.h" 39 #include "cc/resources/single_release_callback.h"
40 #include "cc/scheduler/begin_frame_source.h" 40 #include "cc/scheduler/begin_frame_source.h"
41 #include "cc/trees/latency_info_swap_promise_monitor.h" 41 #include "cc/trees/latency_info_swap_promise_monitor.h"
42 #include "cc/trees/layer_tree_host.h" 42 #include "cc/trees/layer_tree_host.h"
43 #include "cc/trees/remote_proto_channel.h" 43 #include "cc/trees/remote_proto_channel.h"
44 #include "components/scheduler/renderer/renderer_scheduler.h"
45 #include "content/common/content_switches_internal.h" 44 #include "content/common/content_switches_internal.h"
46 #include "content/common/gpu/client/context_provider_command_buffer.h" 45 #include "content/common/gpu/client/context_provider_command_buffer.h"
47 #include "content/public/common/content_client.h" 46 #include "content/public/common/content_client.h"
48 #include "content/public/common/content_switches.h" 47 #include "content/public/common/content_switches.h"
49 #include "content/renderer/gpu/render_widget_compositor_delegate.h" 48 #include "content/renderer/gpu/render_widget_compositor_delegate.h"
50 #include "content/renderer/input/input_handler_manager.h" 49 #include "content/renderer/input/input_handler_manager.h"
51 #include "gpu/command_buffer/client/gles2_interface.h" 50 #include "gpu/command_buffer/client/gles2_interface.h"
52 #include "gpu/command_buffer/service/gpu_switches.h" 51 #include "gpu/command_buffer/service/gpu_switches.h"
53 #include "third_party/WebKit/public/platform/WebCompositeAndReadbackAsyncCallbac k.h" 52 #include "third_party/WebKit/public/platform/WebCompositeAndReadbackAsyncCallbac k.h"
54 #include "third_party/WebKit/public/platform/WebCompositorMutatorClient.h" 53 #include "third_party/WebKit/public/platform/WebCompositorMutatorClient.h"
55 #include "third_party/WebKit/public/platform/WebLayoutAndPaintAsyncCallback.h" 54 #include "third_party/WebKit/public/platform/WebLayoutAndPaintAsyncCallback.h"
56 #include "third_party/WebKit/public/platform/WebSize.h" 55 #include "third_party/WebKit/public/platform/WebSize.h"
56 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
57 #include "third_party/WebKit/public/web/WebKit.h" 57 #include "third_party/WebKit/public/web/WebKit.h"
58 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 58 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
59 #include "third_party/WebKit/public/web/WebSelection.h" 59 #include "third_party/WebKit/public/web/WebSelection.h"
60 #include "ui/gl/gl_switches.h" 60 #include "ui/gl/gl_switches.h"
61 #include "ui/native_theme/native_theme_switches.h" 61 #include "ui/native_theme/native_theme_switches.h"
62 62
63 #if defined(OS_ANDROID) 63 #if defined(OS_ANDROID)
64 #include "base/android/build_info.h" 64 #include "base/android/build_info.h"
65 #include "ui/gfx/android/device_display_info.h" 65 #include "ui/gfx/android/device_display_info.h"
66 #endif 66 #endif
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 1146
1147 remote_proto_channel_receiver_->OnProtoReceived(std::move(deserialized)); 1147 remote_proto_channel_receiver_->OnProtoReceived(std::move(deserialized));
1148 } 1148 }
1149 1149
1150 void RenderWidgetCompositor::SetPaintedDeviceScaleFactor( 1150 void RenderWidgetCompositor::SetPaintedDeviceScaleFactor(
1151 float device_scale) { 1151 float device_scale) {
1152 layer_tree_host_->SetPaintedDeviceScaleFactor(device_scale); 1152 layer_tree_host_->SetPaintedDeviceScaleFactor(device_scale);
1153 } 1153 }
1154 1154
1155 } // namespace content 1155 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/compositor_dependencies.h ('k') | content/renderer/gpu/render_widget_compositor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698