2018-11-30 22:52:05 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2014-09-18 02:08:41 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "WebGL2Context.h"
|
|
|
|
#include "GLContext.h"
|
2015-06-01 09:49:47 +03:00
|
|
|
#include "WebGLVertexArrayObject.h"
|
2014-09-18 02:08:41 +04:00
|
|
|
|
2015-06-01 09:49:47 +03:00
|
|
|
namespace mozilla {
|
2014-09-18 02:08:41 +04:00
|
|
|
|
|
|
|
// -------------------------------------------------------------------------
|
|
|
|
// Vertex Array Object
|
2015-06-01 09:49:47 +03:00
|
|
|
|
|
|
|
WebGLVertexArray* WebGL2Context::CreateVertexArrayImpl() {
|
|
|
|
return dom::WebGLVertexArrayObject::Create(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace mozilla
|