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

Unified Diff: ppapi/cpp/dev/graphics_3d_dev.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/cpp/dev/graphics_3d_dev.cc
===================================================================
--- ppapi/cpp/dev/graphics_3d_dev.cc (revision 95134)
+++ ppapi/cpp/dev/graphics_3d_dev.cc (working copy)
@@ -24,13 +24,11 @@
}
Graphics3D_Dev::Graphics3D_Dev(const Instance& instance,
- PP_Config3D_Dev config,
const Graphics3D_Dev& share_context,
const int32_t* attrib_list) {
if (has_interface<PPB_Graphics3D_Dev>()) {
PassRefFromConstructor(get_interface<PPB_Graphics3D_Dev>()->Create(
instance.pp_instance(),
- config,
share_context.pp_resource(),
attrib_list));
}
@@ -40,27 +38,6 @@
}
// static
-int32_t Graphics3D_Dev::GetConfigs(int32_t *configs,
- int32_t config_size,
- int32_t *num_config) {
- if (!has_interface<PPB_Graphics3D_Dev>())
- return PP_ERROR_NOINTERFACE;
-
- return get_interface<PPB_Graphics3D_Dev>()->GetConfigs(
- configs, config_size, num_config);
-}
-
-// static
-int32_t Graphics3D_Dev::GetConfigAttribs(PP_Config3D_Dev config,
- int32_t* attrib_list) {
- if (!has_interface<PPB_Graphics3D_Dev>())
- return PP_ERROR_NOINTERFACE;
-
- return get_interface<PPB_Graphics3D_Dev>()->GetConfigAttribs(
- config, attrib_list);
-}
-
-// static
Var Graphics3D_Dev::GetString(int32_t name) {
if (!has_interface<PPB_Graphics3D_Dev>())
return Var();

Powered by Google App Engine
This is Rietveld 408576698