15bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones// 25bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones// Copyright 2014 The ANGLE Project Authors. All rights reserved. 35bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones// Use of this source code is governed by a BSD-style license that can be 45bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones// found in the LICENSE file. 55bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones// 65bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 75bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones// VertexArray11.h: Defines the rx::VertexArray11 class which implements rx::VertexArrayImpl. 85bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 95bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones#ifndef LIBGLESV2_RENDERER_VERTEXARRAY11_H_ 105bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones#define LIBGLESV2_RENDERER_VERTEXARRAY11_H_ 115bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 125bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones#include "libGLESv2/renderer/VertexArrayImpl.h" 13c7a4104957aa1f6fa36e4e9cf65d36b699eb05bdBrandon Jones#include "libGLESv2/renderer/d3d/d3d11/Renderer11.h" 145bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 155bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jonesnamespace rx 165bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones{ 175bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jonesclass Renderer11; 185bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 195bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jonesclass VertexArray11 : public VertexArrayImpl 205bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones{ 215bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones public: 225bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones VertexArray11(rx::Renderer11 *renderer) 235bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones : VertexArrayImpl(), 245bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones mRenderer(renderer) 255bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones { 265bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones } 275bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones virtual ~VertexArray11() { } 285bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 295bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones virtual void setElementArrayBuffer(const gl::Buffer *buffer) { } 305bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones virtual void setAttribute(size_t idx, const gl::VertexAttribute &attr) { } 315bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones virtual void setAttributeDivisor(size_t idx, GLuint divisor) { } 325bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones virtual void enableAttribute(size_t idx, bool enabledState) { } 335bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 345bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones private: 355bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones DISALLOW_COPY_AND_ASSIGN(VertexArray11); 365bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 375bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones rx::Renderer11 *mRenderer; 385bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones}; 395bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 405bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones} 415bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones 425bf98290459ca4ccab2f5be62f5fba2337fe8b7aBrandon Jones#endif // LIBGLESV2_RENDERER_VERTEXARRAY11_H_ 43