diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-20 01:28:58 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-20 01:28:58 +0000 |
commit | cccc3c7fd7ffde61171599cb40055a746e5a0a95 (patch) | |
tree | 8b5d74cb7d690ef90b95e60291f37f27a80a93a8 /ppapi | |
parent | 610ce0dc2a78994effae0634a38d03481b41a4a0 (diff) | |
download | chromium_src-cccc3c7fd7ffde61171599cb40055a746e5a0a95.zip chromium_src-cccc3c7fd7ffde61171599cb40055a746e5a0a95.tar.gz chromium_src-cccc3c7fd7ffde61171599cb40055a746e5a0a95.tar.bz2 |
Pepper: Remove PPB_GpuBlacklist_Private.
We don't use the SRPC proxy anymore, so it should be safe to remove this.
BUG=
Review URL: https://chromiumcodereview.appspot.com/23172006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/api/private/ppb_gpu_blacklist_private.idl | 23 | ||||
-rw-r--r-- | ppapi/c/private/ppb_gpu_blacklist_private.h | 49 | ||||
-rw-r--r-- | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c | 5 | ||||
-rw-r--r-- | ppapi/ppapi_sources.gypi | 1 | ||||
-rw-r--r-- | ppapi/tests/all_c_includes.h | 1 | ||||
-rw-r--r-- | ppapi/thunk/interfaces_legacy.h | 2 |
6 files changed, 0 insertions, 81 deletions
diff --git a/ppapi/api/private/ppb_gpu_blacklist_private.idl b/ppapi/api/private/ppb_gpu_blacklist_private.idl deleted file mode 100644 index ef8e1b5..0000000 --- a/ppapi/api/private/ppb_gpu_blacklist_private.idl +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright (c) 2012 The Chromium Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* This file contains the <code>PPB_FileRefPrivate</code> interface. */ -label Chrome { - M24 = 0.2 -}; - -/** PPB_GpuBlacklist_Private interface */ -interface PPB_GpuBlacklist_Private { - /** - * Returns true if the current system's GPU is blacklisted and 3D in Chrome - * will be emulated via software rendering. - * - * This is used internally by the SRPC NaCl proxy (not exposed to plugins) to - * determine if the 3D interfaces should be exposed to plugins. We don't - * expose the 3D interfaces if the 3D support is software-emulated. When the - * SRPC proxy is removed, this interface can also be removed. - */ - PP_Bool IsGpuBlacklisted(); -}; diff --git a/ppapi/c/private/ppb_gpu_blacklist_private.h b/ppapi/c/private/ppb_gpu_blacklist_private.h deleted file mode 100644 index f37106e..0000000 --- a/ppapi/c/private/ppb_gpu_blacklist_private.h +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright (c) 2012 The Chromium Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* From private/ppb_gpu_blacklist_private.idl, - * modified Wed Oct 24 14:41:20 2012. - */ - -#ifndef PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ -#define PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ - -#include "ppapi/c/pp_bool.h" -#include "ppapi/c/pp_macros.h" - -#define PPB_GPUBLACKLIST_PRIVATE_INTERFACE_0_2 "PPB_GpuBlacklist_Private;0.2" -#define PPB_GPUBLACKLIST_PRIVATE_INTERFACE \ - PPB_GPUBLACKLIST_PRIVATE_INTERFACE_0_2 - -/** - * @file - * This file contains the <code>PPB_FileRefPrivate</code> interface. */ - - -/** - * @addtogroup Interfaces - * @{ - */ -/** PPB_GpuBlacklist_Private interface */ -struct PPB_GpuBlacklist_Private_0_2 { - /** - * Returns true if the current system's GPU is blacklisted and 3D in Chrome - * will be emulated via software rendering. - * - * This is used internally by the SRPC NaCl proxy (not exposed to plugins) to - * determine if the 3D interfaces should be exposed to plugins. We don't - * expose the 3D interfaces if the 3D support is software-emulated. When the - * SRPC proxy is removed, this interface can also be removed. - */ - PP_Bool (*IsGpuBlacklisted)(void); -}; - -typedef struct PPB_GpuBlacklist_Private_0_2 PPB_GpuBlacklist_Private; -/** - * @} - */ - -#endif /* PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ */ - diff --git a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c index ab66d82..93ccb85 100644 --- a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c +++ b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c @@ -95,7 +95,6 @@ #include "ppapi/c/private/ppb_flash_menu.h" #include "ppapi/c/private/ppb_flash_message_loop.h" #include "ppapi/c/private/ppb_flash_print.h" -#include "ppapi/c/private/ppb_gpu_blacklist_private.h" #include "ppapi/c/private/ppb_host_resolver_private.h" #include "ppapi/c/private/ppb_instance_private.h" #include "ppapi/c/private/ppb_nacl_private.h" @@ -2752,8 +2751,6 @@ static int32_t Pnacl_M14_PPB_Flash_Menu_Show(PP_Resource menu_id, const struct P /* Not generating wrapper methods for PPB_Flash_Print_1_0 */ -/* Not generating wrapper methods for PPB_GpuBlacklist_Private_0_2 */ - /* Begin wrapper methods for PPB_HostResolver_Private_0_1 */ static PP_Resource Pnacl_M19_PPB_HostResolver_Private_Create(PP_Instance instance) { @@ -4637,8 +4634,6 @@ struct PPB_Flash_Menu_0_2 Pnacl_Wrappers_PPB_Flash_Menu_0_2 = { /* Not generating wrapper interface for PPB_Flash_Print_1_0 */ -/* Not generating wrapper interface for PPB_GpuBlacklist_Private_0_2 */ - struct PPB_HostResolver_Private_0_1 Pnacl_Wrappers_PPB_HostResolver_Private_0_1 = { .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_HostResolver_Private_Create, .IsHostResolver = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_HostResolver_Private_IsHostResolver, diff --git a/ppapi/ppapi_sources.gypi b/ppapi/ppapi_sources.gypi index c6f7b01..209434e 100644 --- a/ppapi/ppapi_sources.gypi +++ b/ppapi/ppapi_sources.gypi @@ -110,7 +110,6 @@ 'c/private/ppb_flash_fullscreen.h', 'c/private/ppb_flash_menu.h', 'c/private/ppb_flash_message_loop.h', - 'c/private/ppb_gpu_blacklist_private.h', 'c/private/ppb_host_resolver_private.h', 'c/private/ppb_instance_private.h', 'c/private/ppb_nacl_private.h', diff --git a/ppapi/tests/all_c_includes.h b/ppapi/tests/all_c_includes.h index 5950c4e..54130c5 100644 --- a/ppapi/tests/all_c_includes.h +++ b/ppapi/tests/all_c_includes.h @@ -111,7 +111,6 @@ #include "ppapi/c/private/ppb_flash_font_file.h" #include "ppapi/c/private/ppb_flash_menu.h" #include "ppapi/c/private/ppb_flash_message_loop.h" -#include "ppapi/c/private/ppb_gpu_blacklist_private.h" #include "ppapi/c/private/ppb_host_resolver_private.h" #include "ppapi/c/private/ppb_instance_private.h" #include "ppapi/c/private/ppb_nacl_private.h" diff --git a/ppapi/thunk/interfaces_legacy.h b/ppapi/thunk/interfaces_legacy.h index 6e53ea4..6051824 100644 --- a/ppapi/thunk/interfaces_legacy.h +++ b/ppapi/thunk/interfaces_legacy.h @@ -10,8 +10,6 @@ LEGACY_IFACE(PPB_INPUT_EVENT_INTERFACE_1_0, LEGACY_IFACE(PPB_INSTANCE_PRIVATE_INTERFACE_0_1, ::ppapi::thunk::GetPPB_Instance_Private_0_1_Thunk()) LEGACY_IFACE(PPB_CORE_INTERFACE_1_0, &core_interface) -LEGACY_IFACE(PPB_GPUBLACKLIST_PRIVATE_INTERFACE, - PPB_GpuBlacklist_Private_Impl::GetInterface()) LEGACY_IFACE(PPB_OPENGLES2_INTERFACE, ::ppapi::PPB_OpenGLES2_Shared::GetInterface()) LEGACY_IFACE(PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE, |