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

Unified Diff: ppapi/cpp/graphics_3d.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/cpp/graphics_3d.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_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.cc
===================================================================
--- ppapi/cpp/graphics_3d.cc (revision 120596)
+++ ppapi/cpp/graphics_3d.cc (working copy)
@@ -24,7 +24,7 @@
}
Graphics3D::Graphics3D(const Instance* instance,
- const int32_t* attrib_list) {
+ const int32_t attrib_list[]) {
if (has_interface<PPB_Graphics3D>()) {
PassRefFromConstructor(get_interface<PPB_Graphics3D>()->Create(
instance->pp_instance(), 0, attrib_list));
@@ -33,7 +33,7 @@
Graphics3D::Graphics3D(const Instance* instance,
const Graphics3D& share_context,
- const int32_t* attrib_list) {
+ const int32_t attrib_list[]) {
if (has_interface<PPB_Graphics3D>()) {
PassRefFromConstructor(get_interface<PPB_Graphics3D>()->Create(
instance->pp_instance(),
@@ -45,7 +45,7 @@
Graphics3D::~Graphics3D() {
}
-int32_t Graphics3D::GetAttribs(int32_t* attrib_list) const {
+int32_t Graphics3D::GetAttribs(int32_t attrib_list[]) const {
if (!has_interface<PPB_Graphics3D>())
return PP_ERROR_NOINTERFACE;
@@ -54,7 +54,7 @@
attrib_list);
}
-int32_t Graphics3D::SetAttribs(int32_t* attrib_list) {
+int32_t Graphics3D::SetAttribs(const int32_t attrib_list[]) {
if (!has_interface<PPB_Graphics3D>())
return PP_ERROR_NOINTERFACE;
« no previous file with comments | « ppapi/cpp/graphics_3d.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698