\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$ \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}\end{DoxyCompactItemize}


\subsection{Field Documentation}
\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 create request.

X\+XX\+: Can a compositor ever enumerate them? 
\begin{DoxyParams}{Parameters}
{\em format} & D\+R\+M\+\_\+\+F\+O\+R\+M\+AT code \\
\hline
\end{DoxyParams}
