\hypertarget{group__Ecore__Wl2__Subsurface__Group}{}\section{Functions to manipulate subsurfaces.}
\label{group__Ecore__Wl2__Subsurface__Group}\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}


Functions to manipulate wayland subsurfaces, using Ecore\+\_\+\+Wl2\+\_\+\+Subsurface.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$ \hyperlink{group__Ecore__Wl2__Subsurface__Group_ga6e5240a0b5ac055e7900595e15cd8cf1}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+new} (Ecore\+\_\+\+Wl2\+\_\+\+Window $\ast$window)
\begin{DoxyCompactList}\small\item\em Create and return a new subsurface. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Wl2__Subsurface__Group_ga1fd1b90d63c2e4ef59c6fba1b04fc4dd}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+del} (Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface)
\begin{DoxyCompactList}\small\item\em Destroy the given subsurface, as well as the surface associated with it. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} struct wl\+\_\+surface $\ast$ \hyperlink{group__Ecore__Wl2__Subsurface__Group_ga950bc00e6f15d0060b354ee15b0ad3ae}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+surface\+\_\+get} (Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface)
\begin{DoxyCompactList}\small\item\em Get the wl\+\_\+surface for this subsurface. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Wl2__Subsurface__Group_ga693875c24a6c9193b1b1859861004dd4}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+set} (Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, int x, int y)
\begin{DoxyCompactList}\small\item\em Set the position of this subsurface, relative to its parent surface. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Wl2__Subsurface__Group_ga83fdbf8ac139811c1eaadba93f4ccf38}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+get} (Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, int $\ast$x, int $\ast$y)
\begin{DoxyCompactList}\small\item\em Get the position of this subsurface, relative to its parent surface. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Wl2__Subsurface__Group_gac5f108a9024ff626b162387575285af8}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+above} (Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, struct wl\+\_\+surface $\ast$surface)
\begin{DoxyCompactList}\small\item\em Place subsurface on layer above a reference surface. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Wl2__Subsurface__Group_ga65395881576846357fb4d843aa6494e9}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+below} (Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, struct wl\+\_\+surface $\ast$surface)
\begin{DoxyCompactList}\small\item\em Place subsurface on layer below a reference surface. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Wl2__Subsurface__Group_gad08935fa0259b93ee9bfa68fb233ff7f}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+sync\+\_\+set} (Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} sync)
\begin{DoxyCompactList}\small\item\em Enables or disables sub-\/surface synchronization. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Ecore__Wl2__Subsurface__Group_gadac25a91022eeea48fde333bb4d4e1da}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+opaque\+\_\+region\+\_\+set} (Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, int x, int y, int w, int h)
\begin{DoxyCompactList}\small\item\em Set an opaque region for the given subsurface. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions to manipulate wayland subsurfaces, using Ecore\+\_\+\+Wl2\+\_\+\+Subsurface. 

This A\+PI is intended to expose Wayland subsurface functionality, although it should not be necessary for most applications to use it, as soon as we have means to make Evas automatically switch Evas images to use subsurfaces.

It can/should be used, for instance, when subsurfaces are needed to be not in sync with the main window surface. 

\subsection{Function Documentation}
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+new@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+new}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+new@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+new}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+new(\+Ecore\+\_\+\+Wl2\+\_\+\+Window $\ast$window)}{ecore_wl2_subsurface_new(Ecore_Wl2_Window *window)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} Ecore\+\_\+\+Wl2\+\_\+\+Subsurface$\ast$ ecore\+\_\+wl2\+\_\+subsurface\+\_\+new (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Window $\ast$}]{window}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_ga6e5240a0b5ac055e7900595e15cd8cf1}{}\label{group__Ecore__Wl2__Subsurface__Group_ga6e5240a0b5ac055e7900595e15cd8cf1}


Create and return a new subsurface. 

Create a new surface (and subsurface interface), with the parent surface being the one associated with the given 
\begin{DoxyParams}{Parameters}
{\em win.} & The \\
\hline
{\em win} & must be visible, otherwise there will be no surface created for it yet.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the allocated and initialized Ecore\+\_\+\+Wl2\+\_\+\+Subsurface object, or N\+U\+LL on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


References eina\+\_\+inlist\+\_\+append(), E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+G\+ET, and E\+RR.

\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+del@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+del}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+del@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+del}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+del(\+Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface)}{ecore_wl2_subsurface_del(Ecore_Wl2_Subsurface *subsurface)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} void ecore\+\_\+wl2\+\_\+subsurface\+\_\+del (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$}]{subsurface}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_ga1fd1b90d63c2e4ef59c6fba1b04fc4dd}{}\label{group__Ecore__Wl2__Subsurface__Group_ga1fd1b90d63c2e4ef59c6fba1b04fc4dd}


Destroy the given subsurface, as well as the surface associated with it. 


\begin{DoxyParams}{Parameters}
{\em subsurface} & the subsurface\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+surface\+\_\+get@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+surface\+\_\+get}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+surface\+\_\+get@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+surface\+\_\+get}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+surface\+\_\+get(\+Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface)}{ecore_wl2_subsurface_surface_get(Ecore_Wl2_Subsurface *subsurface)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} struct wl\+\_\+surface$\ast$ ecore\+\_\+wl2\+\_\+subsurface\+\_\+surface\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$}]{subsurface}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_ga950bc00e6f15d0060b354ee15b0ad3ae}{}\label{group__Ecore__Wl2__Subsurface__Group_ga950bc00e6f15d0060b354ee15b0ad3ae}


Get the wl\+\_\+surface for this subsurface. 


\begin{DoxyParams}{Parameters}
{\em subsurface} & the subsurface\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the wl\+\_\+surface associated with this subsurface, or N\+U\+LL on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+set@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+set}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+set@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+set}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+set(\+Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, int x, int y)}{ecore_wl2_subsurface_position_set(Ecore_Wl2_Subsurface *subsurface, int x, int y)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} void ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$}]{subsurface, }
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_ga693875c24a6c9193b1b1859861004dd4}{}\label{group__Ecore__Wl2__Subsurface__Group_ga693875c24a6c9193b1b1859861004dd4}


Set the position of this subsurface, relative to its parent surface. 

If subsurface is defined and the x, y coordinates differ from the currently tracked position, this also schedules a sub-\/surface position change.


\begin{DoxyParams}{Parameters}
{\em subsurface} & the subsurface \\
\hline
{\em x} & coordinate in the parent surface \\
\hline
{\em y} & coordinate in the parent surface\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+get@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+get}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+get@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+get}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+get(\+Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, int $\ast$x, int $\ast$y)}{ecore_wl2_subsurface_position_get(Ecore_Wl2_Subsurface *subsurface, int *x, int *y)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} void ecore\+\_\+wl2\+\_\+subsurface\+\_\+position\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$}]{subsurface, }
\item[{int $\ast$}]{x, }
\item[{int $\ast$}]{y}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_ga83fdbf8ac139811c1eaadba93f4ccf38}{}\label{group__Ecore__Wl2__Subsurface__Group_ga83fdbf8ac139811c1eaadba93f4ccf38}


Get the position of this subsurface, relative to its parent surface. 

Coordinates will be returned in x and y if non-\/\+N\+U\+LL.


\begin{DoxyParams}{Parameters}
{\em subsurface} & the subsurface \\
\hline
{\em x} & coordinate in the parent surface, or N\+U\+LL to ignore \\
\hline
{\em y} & coordinate in the parent surface, or N\+U\+LL to ignore\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+above@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+above}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+above@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+above}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+above(\+Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, struct wl\+\_\+surface $\ast$surface)}{ecore_wl2_subsurface_place_above(Ecore_Wl2_Subsurface *subsurface, struct wl_surface *surface)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} void ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+above (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$}]{subsurface, }
\item[{struct wl\+\_\+surface $\ast$}]{surface}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_gac5f108a9024ff626b162387575285af8}{}\label{group__Ecore__Wl2__Subsurface__Group_gac5f108a9024ff626b162387575285af8}


Place subsurface on layer above a reference surface. 

Moves the 
\begin{DoxyParams}{Parameters}
{\em subsurface} & to just above the reference \\
\hline
{\em surface,changing} & the z-\/order. The reference \\
\hline
{\em surface} & must be either a sibling or parent surface, else a protocol error will be generated.\\
\hline
{\em subsurface} & the subsurface \\
\hline
{\em surface} & the sibling reference surface\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+below@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+below}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+below@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+below}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+below(\+Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, struct wl\+\_\+surface $\ast$surface)}{ecore_wl2_subsurface_place_below(Ecore_Wl2_Subsurface *subsurface, struct wl_surface *surface)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} void ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+below (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$}]{subsurface, }
\item[{struct wl\+\_\+surface $\ast$}]{surface}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_ga65395881576846357fb4d843aa6494e9}{}\label{group__Ecore__Wl2__Subsurface__Group_ga65395881576846357fb4d843aa6494e9}


Place subsurface on layer below a reference surface. 

See ecore\+\_\+wl2\+\_\+subsurface\+\_\+place\+\_\+above.


\begin{DoxyParams}{Parameters}
{\em subsurface} & the subsurface \\
\hline
{\em surface} & the sibling reference surface\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+sync\+\_\+set@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+sync\+\_\+set}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+sync\+\_\+set@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+sync\+\_\+set}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+sync\+\_\+set(\+Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, Eina\+\_\+\+Bool sync)}{ecore_wl2_subsurface_sync_set(Ecore_Wl2_Subsurface *subsurface, Eina_Bool sync)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} void ecore\+\_\+wl2\+\_\+subsurface\+\_\+sync\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$}]{subsurface, }
\item[{{\bf Eina\+\_\+\+Bool}}]{sync}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_gad08935fa0259b93ee9bfa68fb233ff7f}{}\label{group__Ecore__Wl2__Subsurface__Group_gad08935fa0259b93ee9bfa68fb233ff7f}


Enables or disables sub-\/surface synchronization. 

When synchronization is enabled, surface commits on the subsurface will be cached and only applied when the parent surface\textquotesingle{}s state is applied. This ensures atomic updates of the parent and all of its synchronized sub-\/surfaces.

When synchronization is disabled, commits will apply to the pending state directly without caching, just like a normal wl\+\_\+surface. If there are already cached events when this is set, those events are applied simultaneously with the desync event.

Attempting to enable synchronization when the subsurface already thinks it\textquotesingle{}s sync\textquotesingle{}d, or desync when it believes its desync\textquotesingle{}d, will be trivially ignored and will not generate a Wayland event.

See Wayland\textquotesingle{}s set\+\_\+desync documentation for further details and exceptional cases.


\begin{DoxyParams}{Parameters}
{\em subsurface} & the subsurface \\
\hline
{\em sync} & true to enable synchronization, false to desynchronize\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\+\_\+wl2\+\_\+subsurface\+\_\+opaque\+\_\+region\+\_\+set@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+opaque\+\_\+region\+\_\+set}}
\index{ecore\+\_\+wl2\+\_\+subsurface\+\_\+opaque\+\_\+region\+\_\+set@{ecore\+\_\+wl2\+\_\+subsurface\+\_\+opaque\+\_\+region\+\_\+set}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\subsubsection[{\texorpdfstring{ecore\+\_\+wl2\+\_\+subsurface\+\_\+opaque\+\_\+region\+\_\+set(\+Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$subsurface, int x, int y, int w, int h)}{ecore_wl2_subsurface_opaque_region_set(Ecore_Wl2_Subsurface *subsurface, int x, int y, int w, int h)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+PI} void ecore\+\_\+wl2\+\_\+subsurface\+\_\+opaque\+\_\+region\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl2\+\_\+\+Subsurface $\ast$}]{subsurface, }
\item[{int}]{x, }
\item[{int}]{y, }
\item[{int}]{w, }
\item[{int}]{h}
\end{DoxyParamCaption}
)}\hypertarget{group__Ecore__Wl2__Subsurface__Group_gadac25a91022eeea48fde333bb4d4e1da}{}\label{group__Ecore__Wl2__Subsurface__Group_gadac25a91022eeea48fde333bb4d4e1da}


Set an opaque region for the given subsurface. 

This is an optimization hint to the compositor to allow it avoid redrawing content unnecessarily. Note that marking transparent content as opaque will cause repaint artifacts.

Use a 0x0 region size to unset the opaque region.


\begin{DoxyParams}{Parameters}
{\em subsurface} & the subsurface \\
\hline
{\em x} & coordinate in the parent surface \\
\hline
{\em y} & coordinate in the parent surface \\
\hline
{\em w} & width to set as opaque \\
\hline
{\em h} & height to set as opaque\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


References E\+RR, and efl\+::eo\+::parent.

