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 <string> |
| 9 |
8 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "gpu/gpu_export.h" | 13 #include "gpu/gpu_export.h" |
12 | 14 |
13 namespace gpu { | 15 namespace gpu { |
14 namespace gles2 { | 16 namespace gles2 { |
15 | 17 |
16 // Refcounted wrapper for a hash_set of framebuffer format signatures | 18 // Refcounted wrapper for a hash_set of framebuffer format signatures |
17 // representing framebuffer configurations that are reported by the GL | 19 // representing framebuffer configurations that are reported by the GL |
(...skipping 16 matching lines...) Expand all Loading... |
34 | 36 |
35 Map cache_; | 37 Map cache_; |
36 | 38 |
37 DISALLOW_COPY_AND_ASSIGN(FramebufferCompletenessCache); | 39 DISALLOW_COPY_AND_ASSIGN(FramebufferCompletenessCache); |
38 }; | 40 }; |
39 | 41 |
40 } // namespace gles2 | 42 } // namespace gles2 |
41 } // namespace gpu | 43 } // namespace gpu |
42 | 44 |
43 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_COMPLETENESS_CACHE_H_ | 45 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_COMPLETENESS_CACHE_H_ |
OLD | NEW |