blob: 590cb9f05a4fbfb732a0eb8559b867d0a2304e95 [file] [log] [blame]
Brandon Jones5bf98292014-06-06 17:19:38 -07001//
2// Copyright 2014 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
7// VertexArray11.h: Defines the rx::VertexArray11 class which implements rx::VertexArrayImpl.
8
9#ifndef LIBGLESV2_RENDERER_VERTEXARRAY11_H_
10#define LIBGLESV2_RENDERER_VERTEXARRAY11_H_
11
12#include "libGLESv2/renderer/VertexArrayImpl.h"
Brandon Jonesc7a41042014-06-23 12:03:25 -070013#include "libGLESv2/renderer/d3d/d3d11/Renderer11.h"
Brandon Jones5bf98292014-06-06 17:19:38 -070014
15namespace rx
16{
17class Renderer11;
18
19class VertexArray11 : public VertexArrayImpl
20{
21 public:
22 VertexArray11(rx::Renderer11 *renderer)
23 : VertexArrayImpl(),
24 mRenderer(renderer)
25 {
26 }
27 virtual ~VertexArray11() { }
28
29 virtual void setElementArrayBuffer(const gl::Buffer *buffer) { }
30 virtual void setAttribute(size_t idx, const gl::VertexAttribute &attr) { }
31 virtual void setAttributeDivisor(size_t idx, GLuint divisor) { }
32 virtual void enableAttribute(size_t idx, bool enabledState) { }
33
34 private:
35 DISALLOW_COPY_AND_ASSIGN(VertexArray11);
36
37 rx::Renderer11 *mRenderer;
38};
39
40}
41
42#endif // LIBGLESV2_RENDERER_VERTEXARRAY11_H_