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

Unified Diff: ppapi/thunk/resource_creation_api.h

Issue 10386145: Add the necessary plumbing mechanisms to ensure proper WebGL support inside the <browser> tag, whic… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments; remove createOffscreenGraphicsContext3D Created 8 years, 7 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/thunk/resource_creation_api.h
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h
index 42ab2672b5ea7ff854658ff247a776b5d104cc91..7f982810a8da851e3d8044caff5a78793a10bbc6 100644
--- a/ppapi/thunk/resource_creation_api.h
+++ b/ppapi/thunk/resource_creation_api.h
@@ -33,6 +33,8 @@ struct PPB_URLRequestInfo_Data;
namespace thunk {
+class PPB_Graphics3D_API;
+
// A functional API for creating resource types. Separating out the creation
// functions here allows us to implement most resources as a pure "resource
// API", meaning all calls are routed on a per-resource-object basis. The
@@ -110,10 +112,10 @@ class ResourceCreationAPI {
const PP_Size& size,
PP_Bool is_always_opaque) = 0;
virtual PP_Resource CreateGraphics3D(PP_Instance instance,
- PP_Resource share_context,
+ PPB_Graphics3D_API* share_context,
const int32_t* attrib_list) = 0;
virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
- PP_Resource share_context,
+ PPB_Graphics3D_API* share_context,
const int32_t* attrib_list) = 0;
virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0;
virtual PP_Resource CreateImageData(PP_Instance instance,

Powered by Google App Engine
This is Rietveld 408576698