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/dev/ppb_context_3d_dev.h" |
9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
13 | 13 |
14 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE "PPB_Context3DTrusted(Dev);0.3" | 14 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_3 "PPB_Context3DTrusted(Dev);0.3" |
| 15 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE \ |
| 16 PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_3 |
15 | 17 |
16 typedef enum { | 18 typedef enum { |
17 kNoError, | 19 kNoError, |
18 kInvalidSize, | 20 kInvalidSize, |
19 kOutOfBounds, | 21 kOutOfBounds, |
20 kUnknownCommand, | 22 kUnknownCommand, |
21 kInvalidArguments, | 23 kInvalidArguments, |
22 kLostContext, | 24 kLostContext, |
23 kGenericError | 25 kGenericError |
24 } PPB_Context3DTrustedError; | 26 } PPB_Context3DTrustedError; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 86 |
85 // Get the transfer buffer associated with a handle. | 87 // Get the transfer buffer associated with a handle. |
86 PP_Bool (*GetTransferBuffer)(PP_Resource context, | 88 PP_Bool (*GetTransferBuffer)(PP_Resource context, |
87 int32_t id, | 89 int32_t id, |
88 int* shm_handle, | 90 int* shm_handle, |
89 uint32_t* shm_size); | 91 uint32_t* shm_size); |
90 }; | 92 }; |
91 | 93 |
92 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ | 94 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ |
93 | 95 |
OLD | NEW |