blob: 566d8c175006f920d62fcc82e5a0ecca504a4b7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef MBGL_UTIL_TEXTUREPOOL
#define MBGL_UTIL_TEXTUREPOOL
#include <mbgl/util/noncopyable.hpp>
#include <mbgl/platform/gl.hpp>
#include <set>
#include <mutex>
namespace mbgl {
class Texturepool : private util::noncopyable {
public:
GLuint getTextureID();
void removeTextureID(GLuint texture_id);
void clearTextureIDs();
private:
std::set<GLuint> texture_ids;
};
}
#endif
|