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 WebGLVertexArrayObjectBase_h | 5 #ifndef WebGLVertexArrayObjectBase_h |
6 #define WebGLVertexArrayObjectBase_h | 6 #define WebGLVertexArrayObjectBase_h |
7 | 7 |
8 #include "bindings/core/v8/TraceWrapperMember.h" | |
9 #include "modules/webgl/WebGLBuffer.h" | 8 #include "modules/webgl/WebGLBuffer.h" |
10 #include "modules/webgl/WebGLContextObject.h" | 9 #include "modules/webgl/WebGLContextObject.h" |
| 10 #include "platform/bindings/TraceWrapperMember.h" |
11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class WebGLVertexArrayObjectBase : public WebGLContextObject { | 15 class WebGLVertexArrayObjectBase : public WebGLContextObject { |
16 public: | 16 public: |
17 enum VaoType { | 17 enum VaoType { |
18 kVaoTypeDefault, | 18 kVaoTypeDefault, |
19 kVaoTypeUser, | 19 kVaoTypeUser, |
20 }; | 20 }; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 bool has_ever_been_bound_; | 61 bool has_ever_been_bound_; |
62 TraceWrapperMember<WebGLBuffer> bound_element_array_buffer_; | 62 TraceWrapperMember<WebGLBuffer> bound_element_array_buffer_; |
63 HeapVector<TraceWrapperMember<WebGLBuffer>> array_buffer_list_; | 63 HeapVector<TraceWrapperMember<WebGLBuffer>> array_buffer_list_; |
64 Vector<bool> attrib_enabled_; | 64 Vector<bool> attrib_enabled_; |
65 bool is_all_enabled_attrib_buffer_bound_; | 65 bool is_all_enabled_attrib_buffer_bound_; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace blink | 68 } // namespace blink |
69 | 69 |
70 #endif // WebGLVertexArrayObjectBase_h | 70 #endif // WebGLVertexArrayObjectBase_h |
OLD | NEW |