summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppb_opengles2_shared.h
blob: 8e25dfa50810172f8dfdb421ed2b6321e252dcaa (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
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_
#define PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_

#include "ppapi/c/ppb_opengles2.h"
#include "ppapi/c/dev/ppb_opengles2ext_dev.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"

namespace ppapi {

class PPAPI_SHARED_EXPORT PPB_OpenGLES2_Shared {
 public:
  static const PPB_OpenGLES2* GetInterface();
  static const PPB_OpenGLES2InstancedArrays* GetInstancedArraysInterface();
  static const PPB_OpenGLES2FramebufferBlit* GetFramebufferBlitInterface();
  static const PPB_OpenGLES2FramebufferMultisample*
      GetFramebufferMultisampleInterface();
  static const PPB_OpenGLES2ChromiumEnableFeature*
      GetChromiumEnableFeatureInterface();
  static const PPB_OpenGLES2ChromiumMapSub* GetChromiumMapSubInterface();
  static const PPB_OpenGLES2Query* GetQueryInterface();
};

}  // namespace ppapi

#endif  // PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_