Brandon Jones | 5bf9829 | 2014-06-06 17:19:38 -0700 | [diff] [blame] | 1 | // |
| 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 Jones | c7a4104 | 2014-06-23 12:03:25 -0700 | [diff] [blame] | 13 | #include "libGLESv2/renderer/d3d/d3d11/Renderer11.h" |
Brandon Jones | 5bf9829 | 2014-06-06 17:19:38 -0700 | [diff] [blame] | 14 | |
| 15 | namespace rx |
| 16 | { |
| 17 | class Renderer11; |
| 18 | |
| 19 | class 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_ |