Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: ppapi/c/dev/ppb_opengles2ext_dev.h

Issue 538903002: Generate Pepper IDL for OpenGLES2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more comments Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/api/ppb_opengles2.idl ('k') | ppapi/c/ppb_opengles2.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_opengles2ext_dev.h
diff --git a/ppapi/c/dev/ppb_opengles2ext_dev.h b/ppapi/c/dev/ppb_opengles2ext_dev.h
index 81dc7f48236959e43f2da6c1b482d74742abd793..6d094d8c3b7a86561cf624e974f91eb493fd3235 100644
--- a/ppapi/c/dev/ppb_opengles2ext_dev.h
+++ b/ppapi/c/dev/ppb_opengles2ext_dev.h
@@ -1,29 +1,53 @@
-// 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.
+/* 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. */
-// This file is auto-generated from
-// gpu/command_buffer/build_gles2_cmd_buffer.py
-// It's formatted by clang-format using chromium coding style:
-// clang-format -i -style=chromium filename
-// DO NOT EDIT!
+/* From dev/ppb_opengles2ext_dev.idl modified Fri Sep 5 14:52:51 2014. */
-// OpenGL ES interface.
#ifndef PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_
#define PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_
+#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_resource.h"
+#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/ppb_opengles2.h"
#define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 \
- "PPB_OpenGLES2DrawBuffers(Dev);1.0"
+ "PPB_OpenGLES2DrawBuffers(Dev);1.0"
#define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE \
- PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0
+ PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0
+
+/**
+ * @file
+ * This file is auto-generated from
+ * gpu/command_buffer/build_gles2_cmd_buffer.py
+ * It's formatted by clang-format using chromium coding style:
+ * clang-format -i -style=chromium filename
+ * DO NOT EDIT! */
+
+
+#include "ppapi/c/pp_resource.h"
+#include "ppapi/c/ppb_opengles2.h"
+
+
+/**
+ * @addtogroup Interfaces
+ * @{
+ */
+struct PPB_OpenGLES2DrawBuffers_Dev_1_0 {
+ void (*DrawBuffersEXT)(PP_Resource context,
+ GLsizei count,
+ const GLenum* bufs);
+};
struct PPB_OpenGLES2DrawBuffers_Dev {
void (*DrawBuffersEXT)(PP_Resource context,
GLsizei count,
const GLenum* bufs);
};
+/**
+ * @}
+ */
+
+#endif /* PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ */
-#endif // PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_
« no previous file with comments | « ppapi/api/ppb_opengles2.idl ('k') | ppapi/c/ppb_opengles2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698