| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class WaitableEvent; | 24 class WaitableEvent; |
| 25 } | 25 } |
| 26 | 26 |
| 27 namespace gpu { | 27 namespace gpu { |
| 28 class GpuChannelHost; | 28 class GpuChannelHost; |
| 29 class GpuMemoryBufferManager; | 29 class GpuMemoryBufferManager; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace content { | 32 namespace content { |
| 33 class ContextProviderCommandBuffer; | 33 class ContextProviderCommandBuffer; |
| 34 class WebGraphicsContext3DCommandBufferImpl; | |
| 35 | 34 |
| 36 // Glue code to expose functionality needed by media::GpuVideoAccelerator to | 35 // Glue code to expose functionality needed by media::GpuVideoAccelerator to |
| 37 // RenderViewImpl. This class is entirely an implementation detail of | 36 // RenderViewImpl. This class is entirely an implementation detail of |
| 38 // RenderViewImpl and only has its own header to allow extraction of its | 37 // RenderViewImpl and only has its own header to allow extraction of its |
| 39 // implementation from render_view_impl.cc which is already far too large. | 38 // implementation from render_view_impl.cc which is already far too large. |
| 40 // | 39 // |
| 41 // The RendererGpuVideoAcceleratorFactories can be constructed on any thread, | 40 // The RendererGpuVideoAcceleratorFactories can be constructed on any thread, |
| 42 // but subsequent calls to all public methods of the class must be called from | 41 // but subsequent calls to all public methods of the class must be called from |
| 43 // the |task_runner_|, as provided during construction. | 42 // the |task_runner_|, as provided during construction. |
| 44 class CONTENT_EXPORT RendererGpuVideoAcceleratorFactories | 43 class CONTENT_EXPORT RendererGpuVideoAcceleratorFactories |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 127 |
| 129 // For sending requests to allocate shared memory in the Browser process. | 128 // For sending requests to allocate shared memory in the Browser process. |
| 130 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 129 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 131 | 130 |
| 132 DISALLOW_COPY_AND_ASSIGN(RendererGpuVideoAcceleratorFactories); | 131 DISALLOW_COPY_AND_ASSIGN(RendererGpuVideoAcceleratorFactories); |
| 133 }; | 132 }; |
| 134 | 133 |
| 135 } // namespace content | 134 } // namespace content |
| 136 | 135 |
| 137 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 136 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| OLD | NEW |