summaryrefslogtreecommitdiffstats
path: root/ppapi/c/private/ppb_gpu_blacklist_private.h
blob: 0ce40b6ccc6071869ac9ac9184a00d392d8e6ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright (c) 2011 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.
 */
#ifndef PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_

#define PPB_GPU_BLACKLIST_INTERFACE "PPB_GpuBlacklist_Private;0.1"

struct PPB_GpuBlacklist_Private {
  /*
   * IsGpuBlacklisted is a pointer to a function which answers if untrusted
   * NativeClient applications can access Pepper 3D or not.
   */
  bool (*IsGpuBlacklisted)();
};

#endif  /* PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ */