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


Structure used when initializing Ecore Buffer Backend. This structure is mainly used by modules implementing the Ecore Buffer Backend interface.  


\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_abc2f257e914eb5786acfb430fead8601}\label{struct__Ecore__Buffer__Backend_abc2f257e914eb5786acfb430fead8601}} 
const char $\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_abc2f257e914eb5786acfb430fead8601}{name}}
\begin{DoxyCompactList}\small\item\em The name of backend. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_a76546cb5ade8f3049e4a3f2102bea862}\label{struct__Ecore__Buffer__Backend_a76546cb5ade8f3049e4a3f2102bea862}} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga171e27706e15bbbecd6c92ffcb8384c7}{Ecore\+\_\+\+Buffer\+\_\+\+Module\+\_\+\+Data}}($\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_a76546cb5ade8f3049e4a3f2102bea862}{init}} )(const char $\ast$context, const char $\ast$options)
\begin{DoxyCompactList}\small\item\em Initialize the backend. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_a2b97e3ea4bed9a447ce863a5181f50cf}\label{struct__Ecore__Buffer__Backend_a2b97e3ea4bed9a447ce863a5181f50cf}} 
void($\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_a2b97e3ea4bed9a447ce863a5181f50cf}{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 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_a16e83836bc11070481c6cb9f21af7487}\label{struct__Ecore__Buffer__Backend_a16e83836bc11070481c6cb9f21af7487}} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}}($\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_a16e83836bc11070481c6cb9f21af7487}{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 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_a5c07dee1fa95c738549ce67f62debb0b}\label{struct__Ecore__Buffer__Backend_a5c07dee1fa95c738549ce67f62debb0b}} 
void($\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_a5c07dee1fa95c738549ce67f62debb0b}{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 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_a1a5feb7ff902a157e8bae98de97d961b}\label{struct__Ecore__Buffer__Backend_a1a5feb7ff902a157e8bae98de97d961b}} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gad87372cf164c1297bb85d96cd19d0eee}{Ecore\+\_\+\+Export\+\_\+\+Type}}($\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_a1a5feb7ff902a157e8bae98de97d961b}{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 $\ast$id)
\begin{DoxyCompactList}\small\item\em Get the id or fd of Ecore\+\_\+\+Buffer for exporting it. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_a0350669324af681a56877a203bbd9067}\label{struct__Ecore__Buffer__Backend_a0350669324af681a56877a203bbd9067}} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gaa90cad3a37323716f0169268bf053148}{Ecore\+\_\+\+Buffer\+\_\+\+Data}}($\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_a0350669324af681a56877a203bbd9067}{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 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_a9386564e0cde3fcc8610d30e9aa1a465}\label{struct__Ecore__Buffer__Backend_a9386564e0cde3fcc8610d30e9aa1a465}} 
void $\ast$($\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 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_a9427b7b9e4e5e9f21255623653a7442b}\label{struct__Ecore__Buffer__Backend_a9427b7b9e4e5e9f21255623653a7442b}} 
\mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gae2ee138c8cb50210ae28de447bf507bd}{Ecore\+\_\+\+Pixmap}}($\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_a9427b7b9e4e5e9f21255623653a7442b}{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 
\mbox{\Hypertarget{struct__Ecore__Buffer__Backend_ad6b8255faaaef4235f1185469bd2cfbc}\label{struct__Ecore__Buffer__Backend_ad6b8255faaaef4235f1185469bd2cfbc}} 
void $\ast$($\ast$ \mbox{\hyperlink{struct__Ecore__Buffer__Backend_ad6b8255faaaef4235f1185469bd2cfbc}{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}
