\doxysection{\+\_\+\+Ecore\+\_\+\+Buffer\+\_\+\+Backend Struct Reference}
\hypertarget{struct__Ecore__Buffer__Backend}{}\label{struct__Ecore__Buffer__Backend}\index{\_Ecore\_Buffer\_Backend@{\_Ecore\_Buffer\_Backend}}


Structure used when initializing Ecore Buffer Backend.  




{\ttfamily \#include $<$Ecore\+\_\+\+Buffer.\+h$>$}

\doxysubsubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{struct__Ecore__Buffer__Backend_abc2f257e914eb5786acfb430fead8601}\label{struct__Ecore__Buffer__Backend_abc2f257e914eb5786acfb430fead8601} 
const char \texorpdfstring{$\ast$}{*} {\bfseries name}
\begin{DoxyCompactList}\small\item\em The name of backend. \end{DoxyCompactList}\item 
\Hypertarget{struct__Ecore__Buffer__Backend_a76546cb5ade8f3049e4a3f2102bea862}\label{struct__Ecore__Buffer__Backend_a76546cb5ade8f3049e4a3f2102bea862} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}}(\texorpdfstring{$\ast$}{*} {\bfseries init} )(const char \texorpdfstring{$\ast$}{*}context, const char \texorpdfstring{$\ast$}{*}options)
\begin{DoxyCompactList}\small\item\em Initialize the backend. \end{DoxyCompactList}\item 
\Hypertarget{struct__Ecore__Buffer__Backend_a2b97e3ea4bed9a447ce863a5181f50cf}\label{struct__Ecore__Buffer__Backend_a2b97e3ea4bed9a447ce863a5181f50cf} 
void(\texorpdfstring{$\ast$}{*} {\bfseries shutdown} )(\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}} bmdata)
\begin{DoxyCompactList}\small\item\em Shut down the backend. \end{DoxyCompactList}\item 
\Hypertarget{struct__Ecore__Buffer__Backend_a16e83836bc11070481c6cb9f21af7487}\label{struct__Ecore__Buffer__Backend_a16e83836bc11070481c6cb9f21af7487} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}}(\texorpdfstring{$\ast$}{*} {\bfseries buffer\+\_\+alloc} )(\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}} bmdata, int width, int height, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaf39db1cda94f861fb50148f349ef7798}{Ecore\+\_\+\+Buffer\+\_\+\+Format}} format, unsigned int flags)
\begin{DoxyCompactList}\small\item\em Newly allocate memory for buffer. \end{DoxyCompactList}\item 
\Hypertarget{struct__Ecore__Buffer__Backend_a5c07dee1fa95c738549ce67f62debb0b}\label{struct__Ecore__Buffer__Backend_a5c07dee1fa95c738549ce67f62debb0b} 
void(\texorpdfstring{$\ast$}{*} {\bfseries buffer\+\_\+free} )(\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}} bmdata, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}} bdata)
\begin{DoxyCompactList}\small\item\em Free allocated memory. \end{DoxyCompactList}\item 
\Hypertarget{struct__Ecore__Buffer__Backend_a1a5feb7ff902a157e8bae98de97d961b}\label{struct__Ecore__Buffer__Backend_a1a5feb7ff902a157e8bae98de97d961b} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gad87372cf164c1297bb85d96cd19d0eee}{Ecore\+\_\+\+Export\+\_\+\+Type}}(\texorpdfstring{$\ast$}{*} {\bfseries buffer\+\_\+export} )(\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}} bmdata, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}} bdata, int \texorpdfstring{$\ast$}{*}id)
\begin{DoxyCompactList}\small\item\em Get the id or fd of Ecore\+\_\+\+Buffer for exporting it. \end{DoxyCompactList}\item 
\Hypertarget{struct__Ecore__Buffer__Backend_a0350669324af681a56877a203bbd9067}\label{struct__Ecore__Buffer__Backend_a0350669324af681a56877a203bbd9067} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}}(\texorpdfstring{$\ast$}{*} {\bfseries buffer\+\_\+import} )(\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}} bmdata, int w, int h, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaf39db1cda94f861fb50148f349ef7798}{Ecore\+\_\+\+Buffer\+\_\+\+Format}} format, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gad87372cf164c1297bb85d96cd19d0eee}{Ecore\+\_\+\+Export\+\_\+\+Type}} type, int export\+\_\+id, unsigned int flags)
\begin{DoxyCompactList}\small\item\em Import and create Ecore\+\_\+\+Buffer from id or fd. \end{DoxyCompactList}\item 
\Hypertarget{struct__Ecore__Buffer__Backend_a47ed98beb55e7beb53aceb8209e5c668}\label{struct__Ecore__Buffer__Backend_a47ed98beb55e7beb53aceb8209e5c668} 
void \texorpdfstring{$\ast$}{*}(\texorpdfstring{$\ast$}{*} {\bfseries data\+\_\+get} )(\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}} bmdata, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}} bdata)
\item 
\Hypertarget{struct__Ecore__Buffer__Backend_a9427b7b9e4e5e9f21255623653a7442b}\label{struct__Ecore__Buffer__Backend_a9427b7b9e4e5e9f21255623653a7442b} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gae2ee138c8cb50210ae28de447bf507bd}{Ecore\+\_\+\+Pixmap}}(\texorpdfstring{$\ast$}{*} {\bfseries pixmap\+\_\+get} )(\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}} bmdata, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}} bdata)
\begin{DoxyCompactList}\small\item\em Get the pixmap handle. \end{DoxyCompactList}\item 
\Hypertarget{struct__Ecore__Buffer__Backend_ac0202ed4d92b14643fc6cb51163b9b88}\label{struct__Ecore__Buffer__Backend_ac0202ed4d92b14643fc6cb51163b9b88} 
void \texorpdfstring{$\ast$}{*}(\texorpdfstring{$\ast$}{*} {\bfseries tbm\+\_\+surface\+\_\+get} )(\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}} bmdata, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}} bdata)
\begin{DoxyCompactList}\small\item\em Get the tbm\+\_\+surface\+\_\+h handle. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Structure used when initializing Ecore Buffer Backend. 

This structure is mainly used by modules implementing the Ecore Buffer Backend interface. \begin{DoxySince}{Since}
1.\+15 
\end{DoxySince}
