OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR
FACE_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR
FACE_H_ |
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR
FACE_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR
FACE_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h" | 10 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h" |
9 | 11 |
10 namespace gpu { | 12 namespace gpu { |
11 class GpuMemoryBufferManager; | 13 class GpuMemoryBufferManager; |
12 } | 14 } |
13 | 15 |
14 namespace content { | 16 namespace content { |
15 | 17 |
16 class BufferQueue; | 18 class BufferQueue; |
17 class GLHelper; | 19 class GLHelper; |
(...skipping 29 matching lines...) Expand all Loading... |
47 | 49 |
48 unsigned int internalformat_; | 50 unsigned int internalformat_; |
49 std::unique_ptr<GLHelper> gl_helper_; | 51 std::unique_ptr<GLHelper> gl_helper_; |
50 std::unique_ptr<BufferQueue> output_surface_; | 52 std::unique_ptr<BufferQueue> output_surface_; |
51 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; | 53 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; |
52 }; | 54 }; |
53 | 55 |
54 } // namespace content | 56 } // namespace content |
55 | 57 |
56 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_
SURFACE_H_ | 58 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_
SURFACE_H_ |
OLD | NEW |