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

Unified Diff: ppapi/cpp/graphics_3d.h

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/c/ppb_graphics_3d.h ('k') | ppapi/cpp/graphics_3d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/graphics_3d.h
===================================================================
--- ppapi/cpp/graphics_3d.h (revision 120596)
+++ ppapi/cpp/graphics_3d.h (working copy)
@@ -62,7 +62,7 @@
///
/// On failure, the object will be is_null().
Graphics3D(const Instance* instance,
- const int32_t* attrib_list);
+ const int32_t attrib_list[]);
/// A constructor for creating and initializing a 3D rendering context. The
/// returned context is created off-screen. It must be attached to a
@@ -86,7 +86,7 @@
/// On failure, the object will be is_null().
Graphics3D(const Instance* instance,
const Graphics3D& share_context,
- const int32_t* attrib_list);
+ const int32_t attrib_list[]);
/// Destructor.
~Graphics3D();
@@ -120,7 +120,7 @@
/// </code>
///
/// This example retrieves the values for rgb bits in the color buffer.
- int32_t GetAttribs(int32_t* attrib_list) const;
+ int32_t GetAttribs(int32_t attrib_list[]) const;
/// SetAttribs() sets the values for each attribute in
/// <code>attrib_list</code>. The list has the same structure as the list
@@ -133,7 +133,7 @@
/// - PP_ERROR_BADRESOURCE if context is invalid.
/// - PP_ERROR_BADARGUMENT if attrib_list is NULL or any attribute in the
/// attrib_list is not a valid attribute.
- int32_t SetAttribs(int32_t* attrib_list);
+ int32_t SetAttribs(const int32_t attrib_list[]);
/// ResizeBuffers() resizes the backing surface for the context.
///
« no previous file with comments | « ppapi/c/ppb_graphics_3d.h ('k') | ppapi/cpp/graphics_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698