blob: a49b7bab8427bcafc31ebb654b866c987a9b7075 [file] [log] [blame]
shannon.woods@transgaming.combdf2d802013-02-28 23:16:20 +00001#include "precompiled.h"
shannon.woods@transgaming.com1dc39562013-02-28 23:07:37 +00002//
3// Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style license that can be
5// found in the LICENSE file.
6//
7
8// BufferStorage.cpp Defines the abstract BufferStorage class.
9
10#include "libGLESv2/renderer/BufferStorage.h"
11
12namespace rx
13{
14
15unsigned int BufferStorage::mNextSerial = 1;
16
17BufferStorage::BufferStorage()
18{
19 updateSerial();
20}
21
22BufferStorage::~BufferStorage()
23{
24}
25
26unsigned int BufferStorage::getSerial() const
27{
28 return mSerial;
29}
30
31void BufferStorage::updateSerial()
32{
33 mSerial = mNextSerial++;
34}
35
36void BufferStorage::markBufferUsage()
37{
38}
39
40}