| 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.
|
| + 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.
|
| + 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,
|
| };
|
|
|