michael@0: #include "precompiled.h" michael@0: // michael@0: // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: // michael@0: michael@0: // BufferStorage.cpp Defines the abstract BufferStorage class. michael@0: michael@0: #include "libGLESv2/renderer/BufferStorage.h" michael@0: michael@0: namespace rx michael@0: { michael@0: michael@0: unsigned int BufferStorage::mNextSerial = 1; michael@0: michael@0: BufferStorage::BufferStorage() michael@0: { michael@0: updateSerial(); michael@0: } michael@0: michael@0: BufferStorage::~BufferStorage() michael@0: { michael@0: } michael@0: michael@0: unsigned int BufferStorage::getSerial() const michael@0: { michael@0: return mSerial; michael@0: } michael@0: michael@0: void BufferStorage::updateSerial() michael@0: { michael@0: mSerial = mNextSerial++; michael@0: } michael@0: michael@0: void BufferStorage::markBufferUsage() michael@0: { michael@0: } michael@0: michael@0: }