| OLD | NEW |
| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 | 67 |
| 68 namespace content { | 68 namespace content { |
| 69 | 69 |
| 70 class AppCacheDispatcher; | 70 class AppCacheDispatcher; |
| 71 class AudioInputMessageFilter; | 71 class AudioInputMessageFilter; |
| 72 class AudioMessageFilter; | 72 class AudioMessageFilter; |
| 73 class AudioRendererMixerManager; | 73 class AudioRendererMixerManager; |
| 74 class CompositorThread; | 74 class CompositorThread; |
| 75 class ContextProviderCommandBuffer; |
| 75 class DBMessageFilter; | 76 class DBMessageFilter; |
| 76 class DevToolsAgentFilter; | 77 class DevToolsAgentFilter; |
| 77 class DomStorageDispatcher; | 78 class DomStorageDispatcher; |
| 78 class GpuChannelHost; | 79 class GpuChannelHost; |
| 79 class IndexedDBDispatcher; | 80 class IndexedDBDispatcher; |
| 80 class MediaStreamCenter; | 81 class MediaStreamCenter; |
| 81 class MediaStreamDependencyFactory; | 82 class MediaStreamDependencyFactory; |
| 82 class P2PSocketDispatcher; | 83 class P2PSocketDispatcher; |
| 83 class PeerConnectionTracker; | 84 class PeerConnectionTracker; |
| 84 class RendererWebKitPlatformSupportImpl; | 85 class RendererWebKitPlatformSupportImpl; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // Returns a graphics context shared among all | 267 // Returns a graphics context shared among all |
| 267 // RendererGpuVideoDecoderFactories, or NULL on error. Context remains owned | 268 // RendererGpuVideoDecoderFactories, or NULL on error. Context remains owned |
| 268 // by this class and must be null-tested before each use to detect context | 269 // by this class and must be null-tested before each use to detect context |
| 269 // loss. The returned context is only valid on the compositor thread when | 270 // loss. The returned context is only valid on the compositor thread when |
| 270 // threaded compositing is enabled. | 271 // threaded compositing is enabled. |
| 271 WebGraphicsContext3DCommandBufferImpl* GetGpuVDAContext3D(); | 272 WebGraphicsContext3DCommandBufferImpl* GetGpuVDAContext3D(); |
| 272 | 273 |
| 273 // Handle loss of the shared GpuVDAContext3D context above. | 274 // Handle loss of the shared GpuVDAContext3D context above. |
| 274 static void OnGpuVDAContextLoss(); | 275 static void OnGpuVDAContextLoss(); |
| 275 | 276 |
| 276 scoped_refptr<cc::ContextProvider> OffscreenContextProviderForMainThread(); | 277 scoped_refptr<ContextProviderCommandBuffer> |
| 277 scoped_refptr<cc::ContextProvider> | 278 OffscreenContextProviderForMainThread(); |
| 279 scoped_refptr<ContextProviderCommandBuffer> |
| 278 OffscreenContextProviderForCompositorThread(); | 280 OffscreenContextProviderForCompositorThread(); |
| 279 | 281 |
| 280 // AudioRendererMixerManager instance which manages renderer side mixer | 282 // AudioRendererMixerManager instance which manages renderer side mixer |
| 281 // instances shared based on configured audio parameters. Lazily created on | 283 // instances shared based on configured audio parameters. Lazily created on |
| 282 // first call. | 284 // first call. |
| 283 AudioRendererMixerManager* GetAudioRendererMixerManager(); | 285 AudioRendererMixerManager* GetAudioRendererMixerManager(); |
| 284 | 286 |
| 285 // AudioHardwareConfig contains audio hardware configuration for | 287 // AudioHardwareConfig contains audio hardware configuration for |
| 286 // renderer side clients. Creation requires a synchronous IPC call so it is | 288 // renderer side clients. Creation requires a synchronous IPC call so it is |
| 287 // lazily created on the first call. | 289 // lazily created on the first call. |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 442 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
| 441 | 443 |
| 442 HistogramCustomizer histogram_customizer_; | 444 HistogramCustomizer histogram_customizer_; |
| 443 | 445 |
| 444 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 446 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 445 }; | 447 }; |
| 446 | 448 |
| 447 } // namespace content | 449 } // namespace content |
| 448 | 450 |
| 449 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 451 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |