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

Unified Diff: ppapi/thunk/ppb_graphics_3d_thunk.cc

Issue 9340003: Added idl file for Pepper 3D. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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/thunk/ppb_graphics_3d_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_graphics_3d_thunk.cc
===================================================================
--- ppapi/thunk/ppb_graphics_3d_thunk.cc (revision 120596)
+++ ppapi/thunk/ppb_graphics_3d_thunk.cc (working copy)
@@ -25,7 +25,7 @@
PP_Resource Create(PP_Instance instance,
PP_Resource share_context,
- const int32_t* attrib_list) {
+ const int32_t attrib_list[]) {
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -38,14 +38,14 @@
return PP_FromBool(enter.succeeded());
}
-int32_t GetAttribs(PP_Resource graphics_3d, int32_t* attrib_list) {
+int32_t GetAttribs(PP_Resource graphics_3d, int32_t attrib_list[]) {
EnterGraphics3D enter(graphics_3d, true);
if (enter.failed())
return enter.retval();
return enter.object()->GetAttribs(attrib_list);
}
-int32_t SetAttribs(PP_Resource graphics_3d, int32_t* attrib_list) {
+int32_t SetAttribs(PP_Resource graphics_3d, const int32_t attrib_list[]) {
EnterGraphics3D enter(graphics_3d, true);
if (enter.failed())
return enter.retval();
« no previous file with comments | « ppapi/thunk/ppb_graphics_3d_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698