OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_GEOMETRY_BINDING_H_ | 5 #ifndef CC_OUTPUT_GEOMETRY_BINDING_H_ |
6 #define CC_GEOMETRY_BINDING_H_ | 6 #define CC_OUTPUT_GEOMETRY_BINDING_H_ |
7 | 7 |
8 namespace gfx { class RectF; } | 8 namespace gfx { class RectF; } |
9 | 9 |
10 namespace WebKit { class WebGraphicsContext3D; } | 10 namespace WebKit { class WebGraphicsContext3D; } |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 class GeometryBinding { | 14 class GeometryBinding { |
15 public: | 15 public: |
16 GeometryBinding(WebKit::WebGraphicsContext3D* context, | 16 GeometryBinding(WebKit::WebGraphicsContext3D* context, |
(...skipping 11 matching lines...) Expand all Loading... |
28 | 28 |
29 private: | 29 private: |
30 WebKit::WebGraphicsContext3D* context_; | 30 WebKit::WebGraphicsContext3D* context_; |
31 | 31 |
32 unsigned quad_vertices_vbo_; | 32 unsigned quad_vertices_vbo_; |
33 unsigned quad_elements_vbo_; | 33 unsigned quad_elements_vbo_; |
34 }; | 34 }; |
35 | 35 |
36 } // namespace cc | 36 } // namespace cc |
37 | 37 |
38 #endif // CC_GEOMETRY_BINDING_H_ | 38 #endif // CC_OUTPUT_GEOMETRY_BINDING_H_ |
OLD | NEW |