OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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 |
| 5 #ifndef PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_ |
| 7 |
| 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_module.h" |
| 10 #include "ppapi/c/pp_resource.h" |
| 11 |
| 12 #define PPB_CONTEXT_3D_DEV_INTERFACE "PPB_Context3D(Dev);0.1" |
| 13 |
| 14 struct PPB_Context3D_Dev { |
| 15 PP_Bool (*IsContext3D)(PP_Resource resource); |
| 16 |
| 17 int32_t (*Create)(PP_Module module, |
| 18 int32_t config, |
| 19 PP_Resource share_context, |
| 20 const int32_t* attrib_list, |
| 21 PP_Resource* context); |
| 22 |
| 23 int32_t (*BindSurfaces)(PP_Resource context, |
| 24 PP_Resource draw, |
| 25 PP_Resource read); |
| 26 }; |
| 27 |
| 28 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_ |
OLD | NEW |