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" 13#include "libGLESv2/renderer/d3d/d3d11/Renderer11.h" 14 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_ 43