OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ |
6 #define PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ |
7 | 7 |
| 8 #include "ppapi/c/dev/ppb_context_3d_dev.h" |
8 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
| 10 #include "ppapi/c/pp_instance.h" |
9 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
10 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
11 | 13 |
12 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE "PPB_Context3DTrusted(Dev);0.2" | 14 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE "PPB_Context3DTrusted(Dev);0.2" |
13 | 15 |
14 enum PPB_Context3DTrustedError { | 16 enum PPB_Context3DTrustedError { |
15 kNoError, | 17 kNoError, |
16 kInvalidSize, | 18 kInvalidSize, |
17 kOutOfBounds, | 19 kOutOfBounds, |
18 kUnknownCommand, | 20 kUnknownCommand, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 84 |
83 // Get the transfer buffer associated with a handle. | 85 // Get the transfer buffer associated with a handle. |
84 PP_Bool (*GetTransferBuffer)(PP_Resource context, | 86 PP_Bool (*GetTransferBuffer)(PP_Resource context, |
85 int32_t id, | 87 int32_t id, |
86 int* shm_handle, | 88 int* shm_handle, |
87 uint32_t* shm_size); | 89 uint32_t* shm_size); |
88 }; | 90 }; |
89 | 91 |
90 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ | 92 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ |
91 | 93 |
OLD | NEW |