\hypertarget{structzwp__linux__dmabuf__v1__listener}{}\section{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener Struct Reference}
\label{structzwp__linux__dmabuf__v1__listener}\index{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener@{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener}}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
void($\ast$ \mbox{\hyperlink{structzwp__linux__dmabuf__v1__listener_a087d5742e3ecfd94601aef247b9460e3}{format}} )(void $\ast$data, struct zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1 $\ast$zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1, uint32\+\_\+t format)
\begin{DoxyCompactList}\small\item\em supported buffer format \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__linux__dmabuf__v1__listener_ae0e15046469b0064d72297e62ea30f7c}{modifier}} )(void $\ast$data, struct zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1 $\ast$zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1, uint32\+\_\+t \mbox{\hyperlink{structzwp__linux__dmabuf__v1__listener_a087d5742e3ecfd94601aef247b9460e3}{format}}, uint32\+\_\+t modifier\+\_\+hi, uint32\+\_\+t modifier\+\_\+lo)
\begin{DoxyCompactList}\small\item\em supported buffer format modifier \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Field Documentation}
\mbox{\Hypertarget{structzwp__linux__dmabuf__v1__listener_a087d5742e3ecfd94601aef247b9460e3}\label{structzwp__linux__dmabuf__v1__listener_a087d5742e3ecfd94601aef247b9460e3}} 
\index{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener@{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener}!format@{format}}
\index{format@{format}!zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener@{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{format}{format}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener\+::format) (void $\ast$data, struct zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1 $\ast$zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1, uint32\+\_\+t format)}



supported buffer format 

This event advertises one buffer format that the server supports. All the supported formats are advertised once when the client binds to this interface. A roundtrip after binding guarantees that the client has received all supported formats.

For the definition of the format codes, see the zwp\+\_\+linux\+\_\+buffer\+\_\+params\+\_\+v1\+::create request.

Warning\+: the \textquotesingle{}format\textquotesingle{} event is likely to be deprecated and replaced with the \textquotesingle{}modifier\textquotesingle{} event introduced in zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1 version 3, described below. Please refrain from using the information received from this event. 
\begin{DoxyParams}{Parameters}
{\em format} & D\+R\+M\+\_\+\+F\+O\+R\+M\+AT code \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{structzwp__linux__dmabuf__v1__listener_ae0e15046469b0064d72297e62ea30f7c}\label{structzwp__linux__dmabuf__v1__listener_ae0e15046469b0064d72297e62ea30f7c}} 
\index{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener@{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener}!modifier@{modifier}}
\index{modifier@{modifier}!zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener@{zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{modifier}{modifier}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1\+\_\+listener\+::modifier) (void $\ast$data, struct zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1 $\ast$zwp\+\_\+linux\+\_\+dmabuf\+\_\+v1, uint32\+\_\+t \mbox{\hyperlink{structzwp__linux__dmabuf__v1__listener_a087d5742e3ecfd94601aef247b9460e3}{format}}, uint32\+\_\+t modifier\+\_\+hi, uint32\+\_\+t modifier\+\_\+lo)}



supported buffer format modifier 

This event advertises the formats that the server supports, along with the modifiers supported for each format. All the supported modifiers for all the supported formats are advertised once when the client binds to this interface. A roundtrip after binding guarantees that the client has received all supported format-\/modifier pairs.

For the definition of the format and modifier codes, see the zwp\+\_\+linux\+\_\+buffer\+\_\+params\+\_\+v1\+::create request. 
\begin{DoxyParams}{Parameters}
{\em format} & D\+R\+M\+\_\+\+F\+O\+R\+M\+AT code \\
\hline
{\em modifier\+\_\+hi} & high 32 bits of layout modifier \\
\hline
{\em modifier\+\_\+lo} & low 32 bits of layout modifier \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
3 
\end{DoxySince}
