gfx/angle/src/libGLESv2/renderer/BufferStorage.cpp

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 #include "precompiled.h"
     2 //
     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 //
     8 // BufferStorage.cpp Defines the abstract BufferStorage class.
    10 #include "libGLESv2/renderer/BufferStorage.h"
    12 namespace rx
    13 {
    15 unsigned int BufferStorage::mNextSerial = 1;
    17 BufferStorage::BufferStorage()
    18 {
    19     updateSerial();
    20 }
    22 BufferStorage::~BufferStorage()
    23 {
    24 }
    26 unsigned int BufferStorage::getSerial() const
    27 {
    28     return mSerial;
    29 }
    31 void BufferStorage::updateSerial()
    32 {
    33     mSerial = mNextSerial++;
    34 }
    36 void BufferStorage::markBufferUsage()
    37 {
    38 }
    40 }

mercurial