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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc

Issue 7824040: Pepper 3D API changes: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc (revision 99369)
+++ ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc (working copy)
@@ -41,6 +41,13 @@
return num;
}
+int32_t GetAttribMaxValue(PP_Resource instance,
+ int32_t attribute,
+ int32_t* value) {
+ // TODO(nfullagar): Implement me.
brettw 2011/09/02 20:21:45 2 space indent.
alokp 2011/09/02 21:41:02 Done.
+ return PP_ERROR_FAILED;
+}
+
PP_Resource Create(PP_Instance instance,
PP_Resource share_context,
const int32_t* attrib_list) {
@@ -105,6 +112,11 @@
return pp_error;
}
+int32_t GetError(PP_Resource graphics_3d) {
+ // TODO(nfullagar): Implement me.
brettw 2011/09/02 20:21:45 Ditto
alokp 2011/09/02 21:41:02 Done.
+ return PP_ERROR_FAILED;
+}
+
int32_t ResizeBuffers(PP_Resource graphics3d_id,
int32_t width,
int32_t height) {
@@ -225,10 +237,12 @@
// static
const PPB_Graphics3D_Dev* PluginGraphics3D::GetInterface() {
static const PPB_Graphics3D_Dev intf = {
+ &GetAttribMaxValue,
&Create,
&IsGraphics3D,
&GetAttribs,
&SetAttribs,
+ &GetError,
&ResizeBuffers,
&SwapBuffs,
};

Powered by Google App Engine
This is Rietveld 408576698