\hypertarget{group__Ecore__Drm2__Fb__Group}{}\section{Drm framebuffer functions}
\label{group__Ecore__Drm2__Fb__Group}\index{Drm framebuffer functions@{Drm framebuffer functions}}


Functions that deal with setup of framebuffers.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$ \hyperlink{group__Ecore__Drm2__Fb__Group_gaf4c02838eaa0be91acf9449fca4afdc0}{ecore\+\_\+drm2\+\_\+fb\+\_\+create} (int fd, int width, int height, int depth, int bpp, unsigned int format)
\begin{DoxyCompactList}\small\item\em Create a new framebuffer object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Drm2__Fb__Group_ga9bc66915eb0f7b981cd2f63cc94a54a5}{ecore\+\_\+drm2\+\_\+fb\+\_\+destroy} (Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$fb)
\begin{DoxyCompactList}\small\item\em Destroy a framebuffer object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void $\ast$ \hyperlink{group__Ecore__Drm2__Fb__Group_ga9ec0bb02d50b32384ea77043af874705}{ecore\+\_\+drm2\+\_\+fb\+\_\+data\+\_\+get} (Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$fb)
\begin{DoxyCompactList}\small\item\em Get a framebuffer\textquotesingle{}s mmap\textquotesingle{}d data. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} unsigned int \hyperlink{group__Ecore__Drm2__Fb__Group_ga299c59febe9acdfcfd71f64e06f435f4}{ecore\+\_\+drm2\+\_\+fb\+\_\+size\+\_\+get} (Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$fb)
\begin{DoxyCompactList}\small\item\em Get a framebuffer\textquotesingle{}s size. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} unsigned int \hyperlink{group__Ecore__Drm2__Fb__Group_gab118797821bc554154c8a141769889f7}{ecore\+\_\+drm2\+\_\+fb\+\_\+stride\+\_\+get} (Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$fb)
\begin{DoxyCompactList}\small\item\em Get a framebuffer\textquotesingle{}s stride. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Drm2__Fb__Group_gafabe8f7edef512bffbd4f821ab18eda6}{ecore\+\_\+drm2\+\_\+fb\+\_\+dirty} (Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$fb, \hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle} $\ast$rects, unsigned int count)
\begin{DoxyCompactList}\small\item\em Mark regions of a framebuffer as dirty. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Ecore__Drm2__Fb__Group_ga3efa9258b3c3dff3a84bc2c635612d89}{ecore\+\_\+drm2\+\_\+fb\+\_\+flip} (Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$fb, Ecore\+\_\+\+Drm2\+\_\+\+Output $\ast$output, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Schedule a pageflip to the given Ecore\+\_\+\+Drm2\+\_\+\+Fb. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that deal with setup of framebuffers. 



\subsection{Function Documentation}
\hypertarget{group__Ecore__Drm2__Fb__Group_gaf4c02838eaa0be91acf9449fca4afdc0}{}\label{group__Ecore__Drm2__Fb__Group_gaf4c02838eaa0be91acf9449fca4afdc0} 
\index{Drm framebuffer functions@{Drm framebuffer functions}!ecore\+\_\+drm2\+\_\+fb\+\_\+create@{ecore\+\_\+drm2\+\_\+fb\+\_\+create}}
\index{ecore\+\_\+drm2\+\_\+fb\+\_\+create@{ecore\+\_\+drm2\+\_\+fb\+\_\+create}!Drm framebuffer functions@{Drm framebuffer functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm2\+\_\+fb\+\_\+create()}{ecore\_drm2\_fb\_create()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} Ecore\+\_\+\+Drm2\+\_\+\+Fb$\ast$ ecore\+\_\+drm2\+\_\+fb\+\_\+create (\begin{DoxyParamCaption}\item[{int}]{fd,  }\item[{int}]{width,  }\item[{int}]{height,  }\item[{int}]{depth,  }\item[{int}]{bpp,  }\item[{unsigned int}]{format }\end{DoxyParamCaption})}



Create a new framebuffer object. 


\begin{DoxyParams}{Parameters}
{\em fd} & \\
\hline
{\em width} & \\
\hline
{\em height} & \\
\hline
{\em depth} & \\
\hline
{\em bpp} & \\
\hline
{\em format} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A newly create framebuffer object, or N\+U\+LL on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}
\hypertarget{group__Ecore__Drm2__Fb__Group_ga9bc66915eb0f7b981cd2f63cc94a54a5}{}\label{group__Ecore__Drm2__Fb__Group_ga9bc66915eb0f7b981cd2f63cc94a54a5} 
\index{Drm framebuffer functions@{Drm framebuffer functions}!ecore\+\_\+drm2\+\_\+fb\+\_\+destroy@{ecore\+\_\+drm2\+\_\+fb\+\_\+destroy}}
\index{ecore\+\_\+drm2\+\_\+fb\+\_\+destroy@{ecore\+\_\+drm2\+\_\+fb\+\_\+destroy}!Drm framebuffer functions@{Drm framebuffer functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm2\+\_\+fb\+\_\+destroy()}{ecore\_drm2\_fb\_destroy()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void ecore\+\_\+drm2\+\_\+fb\+\_\+destroy (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$}]{fb }\end{DoxyParamCaption})}



Destroy a framebuffer object. 


\begin{DoxyParams}{Parameters}
{\em fb} & \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}
\hypertarget{group__Ecore__Drm2__Fb__Group_ga9ec0bb02d50b32384ea77043af874705}{}\label{group__Ecore__Drm2__Fb__Group_ga9ec0bb02d50b32384ea77043af874705} 
\index{Drm framebuffer functions@{Drm framebuffer functions}!ecore\+\_\+drm2\+\_\+fb\+\_\+data\+\_\+get@{ecore\+\_\+drm2\+\_\+fb\+\_\+data\+\_\+get}}
\index{ecore\+\_\+drm2\+\_\+fb\+\_\+data\+\_\+get@{ecore\+\_\+drm2\+\_\+fb\+\_\+data\+\_\+get}!Drm framebuffer functions@{Drm framebuffer functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm2\+\_\+fb\+\_\+data\+\_\+get()}{ecore\_drm2\_fb\_data\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void$\ast$ ecore\+\_\+drm2\+\_\+fb\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$}]{fb }\end{DoxyParamCaption})}



Get a framebuffer\textquotesingle{}s mmap\textquotesingle{}d data. 


\begin{DoxyParams}{Parameters}
{\em fb} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The mmap\textquotesingle{}d area of the framebuffer or N\+U\+LL on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}
\hypertarget{group__Ecore__Drm2__Fb__Group_ga299c59febe9acdfcfd71f64e06f435f4}{}\label{group__Ecore__Drm2__Fb__Group_ga299c59febe9acdfcfd71f64e06f435f4} 
\index{Drm framebuffer functions@{Drm framebuffer functions}!ecore\+\_\+drm2\+\_\+fb\+\_\+size\+\_\+get@{ecore\+\_\+drm2\+\_\+fb\+\_\+size\+\_\+get}}
\index{ecore\+\_\+drm2\+\_\+fb\+\_\+size\+\_\+get@{ecore\+\_\+drm2\+\_\+fb\+\_\+size\+\_\+get}!Drm framebuffer functions@{Drm framebuffer functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm2\+\_\+fb\+\_\+size\+\_\+get()}{ecore\_drm2\_fb\_size\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} unsigned int ecore\+\_\+drm2\+\_\+fb\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$}]{fb }\end{DoxyParamCaption})}



Get a framebuffer\textquotesingle{}s size. 


\begin{DoxyParams}{Parameters}
{\em fb} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
size of the framebuffers\textquotesingle{} mmap\textquotesingle{}d data or 0 on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}
\hypertarget{group__Ecore__Drm2__Fb__Group_gab118797821bc554154c8a141769889f7}{}\label{group__Ecore__Drm2__Fb__Group_gab118797821bc554154c8a141769889f7} 
\index{Drm framebuffer functions@{Drm framebuffer functions}!ecore\+\_\+drm2\+\_\+fb\+\_\+stride\+\_\+get@{ecore\+\_\+drm2\+\_\+fb\+\_\+stride\+\_\+get}}
\index{ecore\+\_\+drm2\+\_\+fb\+\_\+stride\+\_\+get@{ecore\+\_\+drm2\+\_\+fb\+\_\+stride\+\_\+get}!Drm framebuffer functions@{Drm framebuffer functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm2\+\_\+fb\+\_\+stride\+\_\+get()}{ecore\_drm2\_fb\_stride\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} unsigned int ecore\+\_\+drm2\+\_\+fb\+\_\+stride\+\_\+get (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$}]{fb }\end{DoxyParamCaption})}



Get a framebuffer\textquotesingle{}s stride. 


\begin{DoxyParams}{Parameters}
{\em fb} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
stride of the framebuffer or 0 on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}
\hypertarget{group__Ecore__Drm2__Fb__Group_gafabe8f7edef512bffbd4f821ab18eda6}{}\label{group__Ecore__Drm2__Fb__Group_gafabe8f7edef512bffbd4f821ab18eda6} 
\index{Drm framebuffer functions@{Drm framebuffer functions}!ecore\+\_\+drm2\+\_\+fb\+\_\+dirty@{ecore\+\_\+drm2\+\_\+fb\+\_\+dirty}}
\index{ecore\+\_\+drm2\+\_\+fb\+\_\+dirty@{ecore\+\_\+drm2\+\_\+fb\+\_\+dirty}!Drm framebuffer functions@{Drm framebuffer functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm2\+\_\+fb\+\_\+dirty()}{ecore\_drm2\_fb\_dirty()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void ecore\+\_\+drm2\+\_\+fb\+\_\+dirty (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$}]{fb,  }\item[{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle} $\ast$}]{rects,  }\item[{unsigned int}]{count }\end{DoxyParamCaption})}



Mark regions of a framebuffer as dirty. 


\begin{DoxyParams}{Parameters}
{\em fb} & \\
\hline
{\em rects} & \\
\hline
{\em count} & \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}
\hypertarget{group__Ecore__Drm2__Fb__Group_ga3efa9258b3c3dff3a84bc2c635612d89}{}\label{group__Ecore__Drm2__Fb__Group_ga3efa9258b3c3dff3a84bc2c635612d89} 
\index{Drm framebuffer functions@{Drm framebuffer functions}!ecore\+\_\+drm2\+\_\+fb\+\_\+flip@{ecore\+\_\+drm2\+\_\+fb\+\_\+flip}}
\index{ecore\+\_\+drm2\+\_\+fb\+\_\+flip@{ecore\+\_\+drm2\+\_\+fb\+\_\+flip}!Drm framebuffer functions@{Drm framebuffer functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm2\+\_\+fb\+\_\+flip()}{ecore\_drm2\_fb\_flip()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int ecore\+\_\+drm2\+\_\+fb\+\_\+flip (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Drm2\+\_\+\+Fb $\ast$}]{fb,  }\item[{Ecore\+\_\+\+Drm2\+\_\+\+Output $\ast$}]{output,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



Schedule a pageflip to the given Ecore\+\_\+\+Drm2\+\_\+\+Fb. 


\begin{DoxyParams}{Parameters}
{\em fb} & \\
\hline
{\em output} & \\
\hline
{\em data} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of drm\+Mode\+Page\+Flip function call
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}
