Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h

Issue 2547813002: Remove WebGLObject maps from WebGLRenderingContextBase and WebGLContextGroup. (Closed)
Patch Set: Fixed WebGLContextObject::validate. Made WebGLExtension non-finalized. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" 8 #include "bindings/core/v8/TraceWrapperMember.h"
9 #include "modules/webgl/WebGLBuffer.h" 9 #include "modules/webgl/WebGLBuffer.h"
10 #include "modules/webgl/WebGLContextObject.h" 10 #include "modules/webgl/WebGLContextObject.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void dispatchDetached(gpu::gles2::GLES2Interface*); 55 void dispatchDetached(gpu::gles2::GLES2Interface*);
56 bool hasObject() const override { return m_object != 0; } 56 bool hasObject() const override { return m_object != 0; }
57 void deleteObjectImpl(gpu::gles2::GLES2Interface*) override; 57 void deleteObjectImpl(gpu::gles2::GLES2Interface*) override;
58 58
59 void updateAttribBufferBoundStatus(); 59 void updateAttribBufferBoundStatus();
60 60
61 GLuint m_object; 61 GLuint m_object;
62 62
63 VaoType m_type; 63 VaoType m_type;
64 bool m_hasEverBeenBound; 64 bool m_hasEverBeenBound;
65 bool m_destructionInProgress;
66 TraceWrapperMember<WebGLBuffer> m_boundElementArrayBuffer; 65 TraceWrapperMember<WebGLBuffer> m_boundElementArrayBuffer;
67 HeapVector<TraceWrapperMember<WebGLBuffer>> m_arrayBufferList; 66 HeapVector<TraceWrapperMember<WebGLBuffer>> m_arrayBufferList;
68 Vector<bool> m_attribEnabled; 67 Vector<bool> m_attribEnabled;
69 bool m_isAllEnabledAttribBufferBound; 68 bool m_isAllEnabledAttribBufferBound;
70 }; 69 };
71 70
72 } // namespace blink 71 } // namespace blink
73 72
74 #endif // WebGLVertexArrayObjectBase_h 73 #endif // WebGLVertexArrayObjectBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698