Tizen Native API
8.0
|
_Ecore_Buffer_Backend Struct Reference
Public Attributes | |
const char * | name |
Ecore_Buffer_Module_Data(* | init )(const char *context, const char *options) |
void(* | shutdown )(Ecore_Buffer_Module_Data bmdata) |
Ecore_Buffer_Data(* | buffer_alloc )(Ecore_Buffer_Module_Data bmdata, int width, int height, Ecore_Buffer_Format format, unsigned int flags) |
Ecore_Buffer_Data(* | buffer_alloc_with_tbm_surface )(Ecore_Buffer_Module_Data bmdata, void *tbm_surface, int *ret_w, int *ret_h, Ecore_Buffer_Format *ret_format, unsigned int flags) |
void(* | buffer_free )(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Data bdata) |
Ecore_Export_Type(* | buffer_export )(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Data bdata, int *id) |
Ecore_Buffer_Data(* | buffer_import )(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Info *info, Ecore_Export_Type type, int export_id, unsigned int flags) |
Ecore_Pixmap(* | pixmap_get )(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Data bdata) |
void *(* | tbm_surface_get )(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Data bdata) |
Detailed Description
Structure used when initializing Ecore Buffer Backend. This structure is mainly used by modules implementing the Ecore Buffer Backend interface.
- Deprecated:
- Deprecated since tizen 6.0.
- Since (EFL) :
- 1.15
Member Data Documentation
Ecore_Buffer_Data(* _Ecore_Buffer_Backend::buffer_alloc)(Ecore_Buffer_Module_Data bmdata, int width, int height, Ecore_Buffer_Format format, unsigned int flags) |
Newly allocate memory for buffer
Ecore_Buffer_Data(* _Ecore_Buffer_Backend::buffer_alloc_with_tbm_surface)(Ecore_Buffer_Module_Data bmdata, void *tbm_surface, int *ret_w, int *ret_h, Ecore_Buffer_Format *ret_format, unsigned int flags) |
Create Ecore_Buffer from existed tbm_surface handle.
Ecore_Export_Type(* _Ecore_Buffer_Backend::buffer_export)(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Data bdata, int *id) |
Get the id or fd of Ecore_Buffer for exporting it
void(* _Ecore_Buffer_Backend::buffer_free)(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Data bdata) |
Free allocated memory
Ecore_Buffer_Data(* _Ecore_Buffer_Backend::buffer_import)(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Info *info, Ecore_Export_Type type, int export_id, unsigned int flags) |
Import and create Ecore_Buffer from id or fd
Ecore_Buffer_Module_Data(* _Ecore_Buffer_Backend::init)(const char *context, const char *options) |
Initialize the backend
const char* _Ecore_Buffer_Backend::name |
The name of backend
Ecore_Pixmap(* _Ecore_Buffer_Backend::pixmap_get)(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Data bdata) |
Get the pixmap handle
void(* _Ecore_Buffer_Backend::shutdown)(Ecore_Buffer_Module_Data bmdata) |
Shut down the backend
void*(* _Ecore_Buffer_Backend::tbm_surface_get)(Ecore_Buffer_Module_Data bmdata, Ecore_Buffer_Data bdata) |
Get the tbm_surface_h handle