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

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

Issue 126093010: Use ContextProvider subclass to provide WGC3D pointers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
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 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 62 }
63 } 63 }
64 64
65 namespace content { 65 namespace content {
66 66
67 class AppCacheDispatcher; 67 class AppCacheDispatcher;
68 class AudioInputMessageFilter; 68 class AudioInputMessageFilter;
69 class AudioMessageFilter; 69 class AudioMessageFilter;
70 class AudioRendererMixerManager; 70 class AudioRendererMixerManager;
71 class ContextProviderCommandBuffer; 71 class ContextProviderCommandBuffer;
72 class ContextProviderWebContext;
72 class DBMessageFilter; 73 class DBMessageFilter;
73 class DevToolsAgentFilter; 74 class DevToolsAgentFilter;
74 class DomStorageDispatcher; 75 class DomStorageDispatcher;
75 class EmbeddedWorkerDispatcher; 76 class EmbeddedWorkerDispatcher;
76 class GamepadSharedMemoryReader; 77 class GamepadSharedMemoryReader;
77 class GpuChannelHost; 78 class GpuChannelHost;
78 class IndexedDBDispatcher; 79 class IndexedDBDispatcher;
79 class InputEventFilter; 80 class InputEventFilter;
80 class InputHandlerManager; 81 class InputHandlerManager;
81 class MediaStreamCenter; 82 class MediaStreamCenter;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy(); 259 scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy();
259 260
260 // Causes the idle handler to skip sending idle notifications 261 // Causes the idle handler to skip sending idle notifications
261 // on the two next scheduled calls, so idle notifications are 262 // on the two next scheduled calls, so idle notifications are
262 // not sent for at least one notification delay. 263 // not sent for at least one notification delay.
263 void PostponeIdleNotification(); 264 void PostponeIdleNotification();
264 265
265 scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories(); 266 scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories();
266 267
267 scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider(); 268 scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider();
268 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider(); 269 scoped_refptr<ContextProviderWebContext> SharedMainThreadContextProvider();
269 270
270 // AudioRendererMixerManager instance which manages renderer side mixer 271 // AudioRendererMixerManager instance which manages renderer side mixer
271 // instances shared based on configured audio parameters. Lazily created on 272 // instances shared based on configured audio parameters. Lazily created on
272 // first call. 273 // first call.
273 AudioRendererMixerManager* GetAudioRendererMixerManager(); 274 AudioRendererMixerManager* GetAudioRendererMixerManager();
274 275
275 // AudioHardwareConfig contains audio hardware configuration for 276 // AudioHardwareConfig contains audio hardware configuration for
276 // renderer side clients. Creation requires a synchronous IPC call so it is 277 // renderer side clients. Creation requires a synchronous IPC call so it is
277 // lazily created on the first call. 278 // lazily created on the first call.
278 media::AudioHardwareConfig* GetAudioHardwareConfig(); 279 media::AudioHardwareConfig* GetAudioHardwareConfig();
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 // multiple threads. Current allocation mechanism for IOSurface 501 // multiple threads. Current allocation mechanism for IOSurface
501 // backed GpuMemoryBuffers prevent this. crbug.com/325045 502 // backed GpuMemoryBuffers prevent this. crbug.com/325045
502 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; 503 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
503 504
504 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 505 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
505 }; 506 };
506 507
507 } // namespace content 508 } // namespace content
508 509
509 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 510 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698