blob: bda235c7b90b67520d1ce3b5316a46c6fea456ed [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001
reed@google.comac10a2d2010-12-22 21:39:39 +00002/*
epoger@google.comec3ed6a2011-07-28 14:26:00 +00003 * Copyright 2010 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
reed@google.comac10a2d2010-12-22 21:39:39 +00007 */
8
9
epoger@google.comec3ed6a2011-07-28 14:26:00 +000010
reed@google.comac10a2d2010-12-22 21:39:39 +000011#ifndef GrVertexBuffer_DEFINED
12#define GrVertexBuffer_DEFINED
13
bsalomon@google.com1c13c962011-02-14 16:51:21 +000014#include "GrGeometryBuffer.h"
reed@google.comac10a2d2010-12-22 21:39:39 +000015
bsalomon@google.com1c13c962011-02-14 16:51:21 +000016class GrVertexBuffer : public GrGeometryBuffer {
reed@google.comac10a2d2010-12-22 21:39:39 +000017protected:
bsalomon@google.com8fe72472011-03-30 21:26:44 +000018 GrVertexBuffer(GrGpu* gpu, size_t sizeInBytes, bool dynamic)
19 : INHERITED(gpu, sizeInBytes, dynamic) {}
reed@google.comac10a2d2010-12-22 21:39:39 +000020private:
bsalomon@google.com1c13c962011-02-14 16:51:21 +000021 typedef GrGeometryBuffer INHERITED;
reed@google.comac10a2d2010-12-22 21:39:39 +000022};
23
24#endif