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_BUFFERED_OUTPUT_SURFACE_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_BUFFER_QUEUE_H_ |
6 #define CONTENT_BROWSER_COMPOSITOR_BUFFERED_OUTPUT_SURFACE_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_BUFFER_QUEUE_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
15 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
16 | 16 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 std::deque<AllocatedSurface> in_flight_surfaces_; | 86 std::deque<AllocatedSurface> in_flight_surfaces_; |
87 GLHelper* gl_helper_; | 87 GLHelper* gl_helper_; |
88 BrowserGpuMemoryBufferManager* gpu_memory_buffer_manager_; | 88 BrowserGpuMemoryBufferManager* gpu_memory_buffer_manager_; |
89 int surface_id_; | 89 int surface_id_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(BufferQueue); | 91 DISALLOW_COPY_AND_ASSIGN(BufferQueue); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace content | 94 } // namespace content |
95 | 95 |
96 #endif // CONTENT_BROWSER_COMPOSITOR_BUFFERED_OUTPUT_SURFACE_H_ | 96 #endif // CONTENT_BROWSER_COMPOSITOR_BUFFER_QUEUE_H_ |
OLD | NEW |