Chromium Code Reviews| Index: ppapi/proxy/resource_creation_proxy.cc |
| =================================================================== |
| --- ppapi/proxy/resource_creation_proxy.cc (revision 150367) |
| +++ ppapi/proxy/resource_creation_proxy.cc (working copy) |
| @@ -207,6 +207,25 @@ |
| is_always_opaque); |
| } |
| +PP_Resource ResourceCreationProxy::CreateGraphics3D( |
| + PP_Instance instance, |
| + PP_Resource share_context, |
| + const int32_t* attrib_list) { |
| + printf("ResourceCreationProxy::CreateGraphics3D\n"); |
|
Ami GONE FROM CHROMIUM
2012/08/28 18:24:38
What's with this printf() and the one below (l.223
|
| + return PPB_Graphics3D_Proxy::CreateProxyResource( |
| + instance, share_context, attrib_list); |
| +} |
| + |
| +PP_Resource ResourceCreationProxy::CreateGraphics3DRaw( |
| + PP_Instance instance, |
| + PP_Resource share_context, |
| + const int32_t* attrib_list) { |
| + printf("ResourceCreationProxy::CreateGraphics3DRaw\n"); |
| + // Not proxied. The raw creation function is used only in the implementation |
| + // of the proxy on the host side. |
| + return 0; |
| +} |
| + |
| #if !defined(OS_NACL) |
| PP_Resource ResourceCreationProxy::CreateAudioInput0_1( |
| PP_Instance instance, |
| @@ -284,23 +303,6 @@ |
| instance, callback, user_data); |
| } |
| -PP_Resource ResourceCreationProxy::CreateGraphics3D( |
| - PP_Instance instance, |
| - PP_Resource share_context, |
| - const int32_t* attrib_list) { |
| - return PPB_Graphics3D_Proxy::CreateProxyResource( |
| - instance, share_context, attrib_list); |
| -} |
| - |
| -PP_Resource ResourceCreationProxy::CreateGraphics3DRaw( |
| - PP_Instance instance, |
| - PP_Resource share_context, |
| - const int32_t* attrib_list) { |
| - // Not proxied. The raw creation function is used only in the implementation |
| - // of the proxy on the host side. |
| - return 0; |
| -} |
| - |
| PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance, |
| PP_Bool vertical) { |
| NOTIMPLEMENTED(); // Not proxied yet. |