blob: 49b36ebfce387f9ddd6c20a404e5fb930483f115 (
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
26
27
28
29
30
31
|
#pragma once
#include "std/noncopyable.hpp"
namespace dp
{
class GLExtensionsList : private noncopyable
{
public:
enum ExtensionName
{
VertexArrayObject,
TextureNPOT,
RequiredInternalFormat,
MapBuffer
};
static GLExtensionsList & Instance();
bool IsSupported(ExtensionName const & extName) const;
private:
GLExtensionsList();
~GLExtensionsList();
private:
class Impl;
Impl * m_impl;
};
} // namespace dp
|