Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_graphics_3d.h
Go to the documentation of this file.
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  */
5 
6 /* From ppb_graphics_3d.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PPB_GRAPHICS_3D_H_
9 #define PPAPI_C_PPB_GRAPHICS_3D_H_
10 
11 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_stdint.h"
17 
18 #define PPB_GRAPHICS_3D_INTERFACE_1_0 "PPB_Graphics3D;1.0"
19 #define PPB_GRAPHICS_3D_INTERFACE PPB_GRAPHICS_3D_INTERFACE_1_0
20 
28 /* Add 3D graphics enums */
29 #include "ppapi/c/pp_graphics_3d.h"
30 
89  int32_t (*GetAttribMaxValue)(PP_Resource instance,
90  int32_t attribute,
91  int32_t* value);
151  PP_Resource share_context,
152  const int32_t attrib_list[]);
193  int32_t (*GetAttribs)(PP_Resource context, int32_t attrib_list[]);
210  int32_t (*SetAttribs)(PP_Resource context, const int32_t attrib_list[]);
233  int32_t (*GetError)(PP_Resource context);
249  int32_t (*ResizeBuffers)(PP_Resource context, int32_t width, int32_t height);
288  int32_t (*SwapBuffers)(PP_Resource context,
289  struct PP_CompletionCallback callback);
290 };
291 
292 typedef struct PPB_Graphics3D_1_0 PPB_Graphics3D;
297 #endif /* PPAPI_C_PPB_GRAPHICS_3D_H_ */
298 
int32_t(* SwapBuffers)(PP_Resource context, struct PP_CompletionCallback callback)
Definition: ppb_graphics_3d.h:288
int32_t PP_Resource
Definition: pp_resource.h:40
int32_t(* GetAttribs)(PP_Resource context, int32_t attrib_list[])
Definition: ppb_graphics_3d.h:193
int32_t(* GetError)(PP_Resource context)
Definition: ppb_graphics_3d.h:233
PP_Resource(* Create)(PP_Instance instance, PP_Resource share_context, const int32_t attrib_list[])
Definition: ppb_graphics_3d.h:150
Definition: ppb_graphics_3d.h:63
int32_t(* GetAttribMaxValue)(PP_Resource instance, int32_t attribute, int32_t *value)
Definition: ppb_graphics_3d.h:89
int32_t PP_Instance
Definition: pp_instance.h:34
PP_Bool(* IsGraphics3D)(PP_Resource resource)
Definition: ppb_graphics_3d.h:163
int32_t(* ResizeBuffers)(PP_Resource context, int32_t width, int32_t height)
Definition: ppb_graphics_3d.h:249
PP_Bool
Definition: pp_bool.h:30
int32_t(* SetAttribs)(PP_Resource context, const int32_t attrib_list[])
Definition: ppb_graphics_3d.h:210
Definition: pp_completion_callback.h:139