| // Copyright (c) 2002-2011 The ANGLE Project Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // HandleAllocator.h: Defines the gl::HandleAllocator class, which is used to |
| #ifndef LIBGLESV2_HANDLEALLOCATOR_H_ |
| #define LIBGLESV2_HANDLEALLOCATOR_H_ |
| #include "common/angleutils.h" |
| virtual ~HandleAllocator(); |
| void setBaseHandle(GLuint value); |
| void release(GLuint handle); |
| DISALLOW_COPY_AND_ASSIGN(HandleAllocator); |
| typedef std::vector<GLuint> HandleList; |
| #endif // LIBGLESV2_HANDLEALLOCATOR_H_ |