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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: cleanup Created 3 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 #include "content/renderer/renderer_blink_platform_impl.h" 119 #include "content/renderer/renderer_blink_platform_impl.h"
120 #include "content/renderer/scheduler/resource_dispatch_throttler.h" 120 #include "content/renderer/scheduler/resource_dispatch_throttler.h"
121 #include "content/renderer/service_worker/embedded_worker_dispatcher.h" 121 #include "content/renderer/service_worker/embedded_worker_dispatcher.h"
122 #include "content/renderer/service_worker/embedded_worker_instance_client_impl.h " 122 #include "content/renderer/service_worker/embedded_worker_instance_client_impl.h "
123 #include "content/renderer/service_worker/service_worker_context_client.h" 123 #include "content/renderer/service_worker/service_worker_context_client.h"
124 #include "content/renderer/service_worker/service_worker_context_message_filter. h" 124 #include "content/renderer/service_worker/service_worker_context_message_filter. h"
125 #include "content/renderer/shared_worker/embedded_shared_worker_stub.h" 125 #include "content/renderer/shared_worker/embedded_shared_worker_stub.h"
126 #include "gin/public/debug.h" 126 #include "gin/public/debug.h"
127 #include "gpu/GLES2/gl2extchromium.h" 127 #include "gpu/GLES2/gl2extchromium.h"
128 #include "gpu/command_buffer/client/shared_memory_limits.h" 128 #include "gpu/command_buffer/client/shared_memory_limits.h"
129 // This is temporary, will be removed in dependent CL in this patchset.
130 #include "gpu/config/gpu_switches.h"
129 #include "gpu/ipc/client/command_buffer_proxy_impl.h" 131 #include "gpu/ipc/client/command_buffer_proxy_impl.h"
130 #include "gpu/ipc/client/gpu_channel_host.h" 132 #include "gpu/ipc/client/gpu_channel_host.h"
131 #include "ipc/ipc_channel_handle.h" 133 #include "ipc/ipc_channel_handle.h"
132 #include "ipc/ipc_channel_mojo.h" 134 #include "ipc/ipc_channel_mojo.h"
133 #include "ipc/ipc_platform_file.h" 135 #include "ipc/ipc_platform_file.h"
134 #include "media/base/media.h" 136 #include "media/base/media.h"
135 #include "media/media_features.h" 137 #include "media/media_features.h"
136 #include "media/renderers/gpu_video_accelerator_factories.h" 138 #include "media/renderers/gpu_video_accelerator_factories.h"
137 #include "mojo/public/cpp/bindings/strong_binding.h" 139 #include "mojo/public/cpp/bindings/strong_binding.h"
138 #include "net/base/net_errors.h" 140 #include "net/base/net_errors.h"
(...skipping 2282 matching lines...) Expand 10 before | Expand all | Expand 10 after
2421 } 2423 }
2422 } 2424 }
2423 2425
2424 void RenderThreadImpl::OnRendererInterfaceRequest( 2426 void RenderThreadImpl::OnRendererInterfaceRequest(
2425 mojom::RendererAssociatedRequest request) { 2427 mojom::RendererAssociatedRequest request) {
2426 DCHECK(!renderer_binding_.is_bound()); 2428 DCHECK(!renderer_binding_.is_bound());
2427 renderer_binding_.Bind(std::move(request)); 2429 renderer_binding_.Bind(std::move(request));
2428 } 2430 }
2429 2431
2430 } // namespace content 2432 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698