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

Unified Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 10837145: Add gpu targets to untrusted build, and add Graphics3D code to untrusted build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/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");
+ 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.

Powered by Google App Engine
This is Rietveld 408576698