2 // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 #ifndef LIBGLESV2_RENDERER_D3D_MEMORYBUFFER_H_
8 #define LIBGLESV2_RENDERER_D3D_MEMORYBUFFER_H_
22 bool resize(size_t size);
24 bool empty() const { return mSize == 0; }
26 const uint8_t *data() const;
36 #endif // LIBGLESV2_RENDERER_D3D_MEMORYBUFFER_H