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

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

Issue 6080012: Expose Map/UnmapTexSubImage2DCHROMIUM to pepper plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 12 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
Index: ppapi/c/dev/ppb_gles_chromium_extension_dev.h
diff --git a/ppapi/c/dev/ppb_gles_chromium_extension_dev.h b/ppapi/c/dev/ppb_gles_chromium_extension_dev.h
new file mode 100644
index 0000000000000000000000000000000000000000..441a4a376a6af428ab705ef44dbf9ac501ab5c58
--- /dev/null
+++ b/ppapi/c/dev/ppb_gles_chromium_extension_dev.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 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_C_DEV_PPB_GLES_CHROMIUM_EXTENSION_DEV_H_
+#define PPAPI_C_DEV_PPB_GLES_CHROMIUM_EXTENSION_DEV_H_
+
+#include "ppapi/c/pp_resource.h"
+#include "ppapi/c/dev/ppb_opengles_dev.h"
+
+#define PPB_GLES_CHROMIUM_EXTENSION_DEV_INTERFACE "PPB_GLESChromiumExtension(Dev);0.1"
+
+struct PPB_GLESChromiumExtension_Dev {
apatrick 2011/01/06 16:50:30 There will be other CHROMIUM extensions in the fut
piman 2011/01/06 22:31:12 Done. I called it ChromiumTextureMapping (under th
+ void* (*MapTexSubImage2DCHROMIUM)(
brettw 2011/01/06 17:58:24 I don't quite get the naming convention. Why do we
piman 2011/01/06 22:31:12 Done. I added the doc. The naming comes from stand
+ PP_Resource context,
+ GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLenum type,
+ GLenum access);
+ void (*UnmapTexSubImage2DCHROMIUM)(PP_Resource context, const void* mem);
+};
+
+#endif // PPAPI_C_DEV_PPB_GLES_CHROMIUM_EXTENSION_DEV_H_
« no previous file with comments | « no previous file | webkit/glue/webkit_glue.gypi » ('j') | webkit/plugins/ppapi/ppb_gles_chromium_extension_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698