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

Unified Diff: Source/core/html/canvas/WebGLVertexArrayObject.h

Issue 1157983002: Update WebGLVertexArrayObjectOES to WebGLVertexArrayObject for WebGL2 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed bajones' comments Created 5 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/WebGLVertexArrayObject.h
diff --git a/Source/core/html/canvas/WebGLVertexArrayObject.h b/Source/core/html/canvas/WebGLVertexArrayObject.h
new file mode 100644
index 0000000000000000000000000000000000000000..18e234d03d53777ac55379dc16895246a6c0425e
--- /dev/null
+++ b/Source/core/html/canvas/WebGLVertexArrayObject.h
@@ -0,0 +1,24 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebGLVertexArrayObject_h
+#define WebGLVertexArrayObject_h
+
+#include "core/html/canvas/WebGLVertexArrayObjectBase.h"
+#include "wtf/PassRefPtr.h"
+
+namespace blink {
+
+class WebGLVertexArrayObject final : public WebGLVertexArrayObjectBase {
+ DEFINE_WRAPPERTYPEINFO();
+public:
+ static PassRefPtrWillBeRawPtr<WebGLVertexArrayObject> create(WebGLRenderingContextBase*, VaoType);
+
+private:
+ explicit WebGLVertexArrayObject(WebGLRenderingContextBase*, VaoType);
+};
+
+} // namespace blink
+
+#endif // WebGLVertexArrayObject_h

Powered by Google App Engine
This is Rietveld 408576698