2018-11-30 22:52:05 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2014-06-06 03:38:27 +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/. */
|
|
|
|
|
2014-11-14 07:03:50 +03:00
|
|
|
#ifndef WEBGL_VERTEX_ARRAY_FAKE_H_
|
|
|
|
#define WEBGL_VERTEX_ARRAY_FAKE_H_
|
2014-06-06 03:38:27 +04:00
|
|
|
|
|
|
|
#include "WebGLVertexArray.h"
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
|
2015-03-21 19:28:04 +03:00
|
|
|
class WebGLVertexArrayFake final : public WebGLVertexArray {
|
2020-01-09 01:19:16 +03:00
|
|
|
public:
|
2015-05-21 02:58:36 +03:00
|
|
|
explicit WebGLVertexArrayFake(WebGLContext* webgl);
|
2020-02-19 00:08:00 +03:00
|
|
|
~WebGLVertexArrayFake() override = default;
|
2014-06-06 03:38:27 +04:00
|
|
|
|
2020-01-09 01:19:16 +03:00
|
|
|
virtual void BindVertexArray() override;
|
2014-06-06 03:38:27 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace mozilla
|
|
|
|
|
2014-11-14 07:03:50 +03:00
|
|
|
#endif // WEBGL_VERTEX_ARRAY_FAKE_H_
|