Upstream version 10.38.222.0
[platform/framework/web/crosswalk.git] / src / mojo / public / gles2 / gles2_interface.h
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_
6 #define MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_
7
8 #include <GLES2/gl2.h>
9
10 namespace mojo {
11
12 class GLES2Interface {
13  public:
14   virtual ~GLES2Interface() {}
15 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
16   virtual ReturnType Function PARAMETERS = 0;
17 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h"
18 #undef VISIT_GL_CALL
19 };
20
21 }  // namespace mojo
22
23 #endif  // MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_