Welcome to mirror list, hosted at ThFree Co, Russian Federation.

glextensions_list.hpp « drape - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d5ffc143ed6dcf7e4c5dff01ccd0190042c40285 (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
32
33
#pragma once

#include "std/noncopyable.hpp"

namespace dp
{

class GLExtensionsList : private noncopyable
{
public:
  enum ExtensionName
  {
    VertexArrayObject,
    TextureNPOT,
    RequiredInternalFormat,
    MapBuffer,
    UintIndices,
    MapBufferRange
  };

  static GLExtensionsList & Instance();
  bool IsSupported(ExtensionName const & extName) const;

private:
  GLExtensionsList();
  ~GLExtensionsList();

private:
  class Impl;
  Impl * m_impl;
};

} // namespace dp