summaryrefslogtreecommitdiffstats
path: root/chromium/mojo/public/gles2/gles2_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/mojo/public/gles2/gles2_interface.h')
-rw-r--r--chromium/mojo/public/gles2/gles2_interface.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/mojo/public/gles2/gles2_interface.h b/chromium/mojo/public/gles2/gles2_interface.h
new file mode 100644
index 00000000000..19b958ec112
--- /dev/null
+++ b/chromium/mojo/public/gles2/gles2_interface.h
@@ -0,0 +1,23 @@
+// Copyright 2014 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 MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_
+#define MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_
+
+#include <GLES2/gl2.h>
+
+namespace mojo {
+
+class GLES2Interface {
+ public:
+ virtual ~GLES2Interface() {}
+#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
+ virtual ReturnType Function PARAMETERS = 0;
+#include "mojo/public/c/gles2/gles2_call_visitor_autogen.h"
+#undef VISIT_GL_CALL
+};
+
+} // namespace mojo
+
+#endif // MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_