Tizen(Headed) Native API  6.5
_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.

Get the id or fd of Ecore_Buffer for exporting it

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

The name of backend

Shut down the backend

Get the tbm_surface_h handle