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 CC_TEST_ORDERED_TEXTURE_MAP_H_ | 5 #ifndef CC_TEST_ORDERED_TEXTURE_MAP_H_ |
6 #define CC_TEST_ORDERED_TEXTURE_MAP_H_ | 6 #define CC_TEST_ORDERED_TEXTURE_MAP_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "third_party/khronos/GLES2/gl2.h" | 14 #include "third_party/khronos/GLES2/gl2.h" |
13 | 15 |
14 namespace cc { | 16 namespace cc { |
15 | 17 |
16 struct TestTexture; | 18 struct TestTexture; |
17 | 19 |
(...skipping 17 matching lines...) Expand all Loading... |
35 typedef base::hash_map<GLuint, scoped_refptr<TestTexture>> TextureMap; | 37 typedef base::hash_map<GLuint, scoped_refptr<TestTexture>> TextureMap; |
36 typedef std::vector<GLuint> TextureList; | 38 typedef std::vector<GLuint> TextureList; |
37 | 39 |
38 TextureMap textures_; | 40 TextureMap textures_; |
39 TextureList ordered_textures_; | 41 TextureList ordered_textures_; |
40 }; | 42 }; |
41 | 43 |
42 } // namespace cc | 44 } // namespace cc |
43 | 45 |
44 #endif // CC_TEST_ORDERED_TEXTURE_MAP_H_ | 46 #endif // CC_TEST_ORDERED_TEXTURE_MAP_H_ |
OLD | NEW |