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

Unified Diff: ppapi/proxy/ppb_graphics_3d_proxy.cc

Issue 7576012: Removed config management from Graphics3D API. It will be better handled in the EGL helper library. (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/proxy/ppb_graphics_3d_proxy.cc
===================================================================
--- ppapi/proxy/ppb_graphics_3d_proxy.cc (revision 95134)
+++ ppapi/proxy/ppb_graphics_3d_proxy.cc (working copy)
@@ -419,7 +419,6 @@
// static
PP_Resource PPB_Graphics3D_Proxy::CreateProxyResource(
PP_Instance instance,
- PP_Config3D_Dev config,
PP_Resource share_context,
const int32_t* attrib_list) {
PluginDispatcher* dispatcher = PluginDispatcher::GetForInstance(instance);
@@ -444,7 +443,7 @@
HostResource result;
dispatcher->Send(new PpapiHostMsg_PPBGraphics3D_Create(
- INTERFACE_ID_PPB_GRAPHICS_3D, instance, config, attribs, &result));
+ INTERFACE_ID_PPB_GRAPHICS_3D, instance, attribs, &result));
if (result.is_null())
return 0;
@@ -487,7 +486,6 @@
}
void PPB_Graphics3D_Proxy::OnMsgCreate(PP_Instance instance,
- PP_Config3D_Dev config,
const std::vector<int32_t>& attribs,
HostResource* result) {
if (attribs.empty() || attribs.back() != PP_GRAPHICS3DATTRIB_NONE)
@@ -497,8 +495,7 @@
if (enter.succeeded()) {
result->SetHostResource(
instance,
- enter.functions()->CreateGraphics3DRaw(instance, config, 0,
- &attribs.front()));
+ enter.functions()->CreateGraphics3DRaw(instance, 0, &attribs.front()));
}
}

Powered by Google App Engine
This is Rietveld 408576698