| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_GL_RENDERER_DRAW_CACHE_H_ | 5 #ifndef CC_OUTPUT_GL_RENDERER_DRAW_CACHE_H_ |
| 6 #define CC_GL_RENDERER_DRAW_CACHE_H_ | 6 #define CC_OUTPUT_GL_RENDERER_DRAW_CACHE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 | 11 |
| 12 namespace cc { | 12 namespace cc { |
| 13 | 13 |
| 14 // Collects 4 floats at a time for easy upload to GL. | 14 // Collects 4 floats at a time for easy upload to GL. |
| 15 struct Float4 { float data[4]; }; | 15 struct Float4 { float data[4]; }; |
| 16 | 16 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 // A cache for the coalesced quad data. | 39 // A cache for the coalesced quad data. |
| 40 std::vector<Float4> uv_xform_data; | 40 std::vector<Float4> uv_xform_data; |
| 41 std::vector<float> vertex_opacity_data; | 41 std::vector<float> vertex_opacity_data; |
| 42 std::vector<Float16> matrix_data; | 42 std::vector<Float16> matrix_data; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(TexturedQuadDrawCache); | 44 DISALLOW_COPY_AND_ASSIGN(TexturedQuadDrawCache); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace cc | 47 } // namespace cc |
| 48 | 48 |
| 49 #endif // CC_GL_RENDERER_DRAW_CACHE_H_ | 49 #endif // CC_OUTPUT_GL_RENDERER_DRAW_CACHE_H_ |
| OLD | NEW |