OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_COMPLETENESS_CACHE_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_COMPLETENESS_CACHE_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_COMPLETENESS_CACHE_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_COMPLETENESS_CACHE_H_ |
7 | 7 |
8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "gpu/gpu_export.h" | 11 #include "gpu/gpu_export.h" |
11 | 12 |
12 namespace gpu { | 13 namespace gpu { |
13 namespace gles2 { | 14 namespace gles2 { |
14 | 15 |
15 // Refcounted wrapper for a hash_set of framebuffer format signatures | 16 // Refcounted wrapper for a hash_set of framebuffer format signatures |
16 // representing framebuffer configurations that are reported by the GL | 17 // representing framebuffer configurations that are reported by the GL |
17 // driver as complete according to glCheckFramebufferStatusEXT. | 18 // driver as complete according to glCheckFramebufferStatusEXT. |
18 class GPU_EXPORT FramebufferCompletenessCache | 19 class GPU_EXPORT FramebufferCompletenessCache |
(...skipping 14 matching lines...) Expand all Loading... |
33 | 34 |
34 Map cache_; | 35 Map cache_; |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(FramebufferCompletenessCache); | 37 DISALLOW_COPY_AND_ASSIGN(FramebufferCompletenessCache); |
37 }; | 38 }; |
38 | 39 |
39 } // namespace gles2 | 40 } // namespace gles2 |
40 } // namespace gpu | 41 } // namespace gpu |
41 | 42 |
42 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_COMPLETENESS_CACHE_H_ | 43 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_COMPLETENESS_CACHE_H_ |
OLD | NEW |