| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 // on the renderer's main thread. | 283 // on the renderer's main thread. |
| 284 scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy(); | 284 scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy(); |
| 285 | 285 |
| 286 // Causes the idle handler to skip sending idle notifications | 286 // Causes the idle handler to skip sending idle notifications |
| 287 // on the two next scheduled calls, so idle notifications are | 287 // on the two next scheduled calls, so idle notifications are |
| 288 // not sent for at least one notification delay. | 288 // not sent for at least one notification delay. |
| 289 void PostponeIdleNotification(); | 289 void PostponeIdleNotification(); |
| 290 | 290 |
| 291 scoped_refptr<media::GpuVideoAcceleratorFactories> GetGpuFactories(); | 291 scoped_refptr<media::GpuVideoAcceleratorFactories> GetGpuFactories(); |
| 292 | 292 |
| 293 scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider(); | |
| 294 scoped_refptr<webkit::gpu::ContextProviderWebContext> | 293 scoped_refptr<webkit::gpu::ContextProviderWebContext> |
| 295 SharedMainThreadContextProvider(); | 294 SharedMainThreadContextProvider(); |
| 296 | 295 |
| 297 // AudioRendererMixerManager instance which manages renderer side mixer | 296 // AudioRendererMixerManager instance which manages renderer side mixer |
| 298 // instances shared based on configured audio parameters. Lazily created on | 297 // instances shared based on configured audio parameters. Lazily created on |
| 299 // first call. | 298 // first call. |
| 300 AudioRendererMixerManager* GetAudioRendererMixerManager(); | 299 AudioRendererMixerManager* GetAudioRendererMixerManager(); |
| 301 | 300 |
| 302 // AudioHardwareConfig contains audio hardware configuration for | 301 // AudioHardwareConfig contains audio hardware configuration for |
| 303 // renderer side clients. Creation requires a synchronous IPC call so it is | 302 // renderer side clients. Creation requires a synchronous IPC call so it is |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 | 503 |
| 505 // Will point to appropriate MessageLoopProxy after initialization, | 504 // Will point to appropriate MessageLoopProxy after initialization, |
| 506 // regardless of whether |compositor_thread_| is overriden. | 505 // regardless of whether |compositor_thread_| is overriden. |
| 507 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; | 506 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; |
| 508 | 507 |
| 509 // May be null if unused by the |input_handler_manager_|. | 508 // May be null if unused by the |input_handler_manager_|. |
| 510 scoped_refptr<InputEventFilter> input_event_filter_; | 509 scoped_refptr<InputEventFilter> input_event_filter_; |
| 511 scoped_ptr<InputHandlerManager> input_handler_manager_; | 510 scoped_ptr<InputHandlerManager> input_handler_manager_; |
| 512 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; | 511 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; |
| 513 | 512 |
| 514 scoped_refptr<ContextProviderCommandBuffer> offscreen_compositor_contexts_; | |
| 515 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_; | 513 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_; |
| 516 | 514 |
| 517 ObserverList<RenderProcessObserver> observers_; | 515 ObserverList<RenderProcessObserver> observers_; |
| 518 | 516 |
| 519 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_; | 517 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_; |
| 520 | 518 |
| 521 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 519 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 522 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 520 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
| 523 | 521 |
| 524 HistogramCustomizer histogram_customizer_; | 522 HistogramCustomizer histogram_customizer_; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 541 bool is_low_res_tiling_enabled_; | 539 bool is_low_res_tiling_enabled_; |
| 542 bool is_lcd_text_enabled_; | 540 bool is_lcd_text_enabled_; |
| 543 bool is_map_image_enabled_; | 541 bool is_map_image_enabled_; |
| 544 | 542 |
| 545 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 543 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 546 }; | 544 }; |
| 547 | 545 |
| 548 } // namespace content | 546 } // namespace content |
| 549 | 547 |
| 550 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 548 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |