Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_buffer_dev.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 dev/ppb_buffer_dev.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_DEV_PPB_BUFFER_DEV_H_
9 #define PPAPI_C_DEV_PPB_BUFFER_DEV_H_
10 
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/pp_stdint.h"
16 
17 #define PPB_BUFFER_DEV_INTERFACE_0_4 "PPB_Buffer(Dev);0.4"
18 #define PPB_BUFFER_DEV_INTERFACE PPB_BUFFER_DEV_INTERFACE_0_4
19 
36  PP_Resource (*Create)(PP_Instance instance, uint32_t size_in_bytes);
46  PP_Bool (*Describe)(PP_Resource resource, uint32_t* size_in_bytes);
51  void* (*Map)(PP_Resource resource);
55  void (*Unmap)(PP_Resource resource);
56 };
57 
58 typedef struct PPB_Buffer_Dev_0_4 PPB_Buffer_Dev;
63 #endif /* PPAPI_C_DEV_PPB_BUFFER_DEV_H_ */
64 
PP_Bool(* IsBuffer)(PP_Resource resource)
Definition: ppb_buffer_dev.h:41
int32_t PP_Resource
Definition: pp_resource.h:40
void(* Unmap)(PP_Resource resource)
Definition: ppb_buffer_dev.h:55
PP_Resource(* Create)(PP_Instance instance, uint32_t size_in_bytes)
Definition: ppb_buffer_dev.h:36
Definition: ppb_buffer_dev.h:30
int32_t PP_Instance
Definition: pp_instance.h:34
PP_Bool
Definition: pp_bool.h:30
PP_Bool(* Describe)(PP_Resource resource, uint32_t *size_in_bytes)
Definition: ppb_buffer_dev.h:46