Fix build break
[chromium-blink-merge.git] / ppapi / c / private / ppb_gpu_blacklist_private.h
blobf37106ef34333cc0fa298c34280bdc0c0f03799d
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
6 /* From private/ppb_gpu_blacklist_private.idl,
7 * modified Wed Oct 24 14:41:20 2012.
8 */
10 #ifndef PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_
11 #define PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_
13 #include "ppapi/c/pp_bool.h"
14 #include "ppapi/c/pp_macros.h"
16 #define PPB_GPUBLACKLIST_PRIVATE_INTERFACE_0_2 "PPB_GpuBlacklist_Private;0.2"
17 #define PPB_GPUBLACKLIST_PRIVATE_INTERFACE \
18 PPB_GPUBLACKLIST_PRIVATE_INTERFACE_0_2
20 /**
21 * @file
22 * This file contains the <code>PPB_FileRefPrivate</code> interface. */
25 /**
26 * @addtogroup Interfaces
27 * @{
29 /** PPB_GpuBlacklist_Private interface */
30 struct PPB_GpuBlacklist_Private_0_2 {
31 /**
32 * Returns true if the current system's GPU is blacklisted and 3D in Chrome
33 * will be emulated via software rendering.
35 * This is used internally by the SRPC NaCl proxy (not exposed to plugins) to
36 * determine if the 3D interfaces should be exposed to plugins. We don't
37 * expose the 3D interfaces if the 3D support is software-emulated. When the
38 * SRPC proxy is removed, this interface can also be removed.
40 PP_Bool (*IsGpuBlacklisted)(void);
43 typedef struct PPB_GpuBlacklist_Private_0_2 PPB_GpuBlacklist_Private;
44 /**
45 * @}
48 #endif /* PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ */