\hypertarget{group__Ecore__Wl__Subsurf}{}\doxysection{Functions to manipulate subsurfaces.}
\label{group__Ecore__Wl__Subsurf}\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ \mbox{\hyperlink{group__Ecore__Wl__Subsurf_gabfa492059da7ee25a0514c06c53652b4}{ecore\+\_\+wl\+\_\+subsurf\+\_\+create}} (\mbox{\hyperlink{Ecore__Wayland_8h_a77854d0e7336ac1b6b01bcfe279d5bfd}{Ecore\+\_\+\+Wl\+\_\+\+Window}} $\ast$win)
\begin{DoxyCompactList}\small\item\em Creates and returns a new subsurface. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Subsurf_ga0235cb545205a1937c73f909ed5f014b}{ecore\+\_\+wl\+\_\+subsurf\+\_\+del}} (\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ess)
\begin{DoxyCompactList}\small\item\em Destroys the given subsurface, as well as the surface associated with it. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct wl\+\_\+surface $\ast$ \mbox{\hyperlink{group__Ecore__Wl__Subsurf_ga6f3409f852ab729b82a90a49df14418c}{ecore\+\_\+wl\+\_\+subsurf\+\_\+surface\+\_\+get}} (\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ess)
\begin{DoxyCompactList}\small\item\em Gets the wl\+\_\+surface for this subsurface. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Subsurf_ga5657c8a4cbd75bc48e129b6bb95a78c9}{ecore\+\_\+wl\+\_\+subsurf\+\_\+position\+\_\+set}} (\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ess, int x, int y)
\begin{DoxyCompactList}\small\item\em Sets the position of this subsurface, relative to its parent surface. If ess is defined and the x, y coordinates differ from the currently tracked position, this also schedules a sub-\/surface position change. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Subsurf_gabd0fb3922eda792e0339a4e4b76f5798}{ecore\+\_\+wl\+\_\+subsurf\+\_\+position\+\_\+get}} (\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ess, int $\ast$x, int $\ast$y)
\begin{DoxyCompactList}\small\item\em Gets the position of this subsurface, relative to its parent surface. Coordinates will be returned in x and y if non-\/\+N\+U\+LL. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Subsurf_ga1a1126b6d9bc7d645b1eef84801abeab}{ecore\+\_\+wl\+\_\+subsurf\+\_\+place\+\_\+above}} (\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ess, struct wl\+\_\+surface $\ast$surface)
\begin{DoxyCompactList}\small\item\em Places subsurface on layer above a reference surface. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Subsurf_ga639afaa339a2737613c4ab7355131ed8}{ecore\+\_\+wl\+\_\+subsurf\+\_\+place\+\_\+below}} (\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ess, struct wl\+\_\+surface $\ast$surface)
\begin{DoxyCompactList}\small\item\em Places subsurface on layer below a reference surface. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Subsurf_gaffb4b2d6561b764e10cd4f3a0b732b1a}{ecore\+\_\+wl\+\_\+subsurf\+\_\+sync\+\_\+set}} (\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ess, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} val)
\begin{DoxyCompactList}\small\item\em Enables or disables sub-\/surface synchronization. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Subsurf_ga39979ec8ae7a066e0b3c9a9bd4086a6b}{ecore\+\_\+wl\+\_\+subsurf\+\_\+opaque\+\_\+region\+\_\+set}} (\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$ess, int x, int y, int w, int h)
\begin{DoxyCompactList}\small\item\em Sets an opaque region for the given subsurface. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Functions to manipulate wayland subsurfaces, using Ecore\+\_\+\+Wl\+\_\+\+Subsurf.

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. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_gabfa492059da7ee25a0514c06c53652b4}\label{group__Ecore__Wl__Subsurf_gabfa492059da7ee25a0514c06c53652b4}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_create@{ecore\_wl\_subsurf\_create}}
\index{ecore\_wl\_subsurf\_create@{ecore\_wl\_subsurf\_create}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_create()}{ecore\_wl\_subsurf\_create()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}}$\ast$ ecore\+\_\+wl\+\_\+subsurf\+\_\+create (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a77854d0e7336ac1b6b01bcfe279d5bfd}{Ecore\+\_\+\+Wl\+\_\+\+Window}} $\ast$}]{win }\end{DoxyParamCaption})}



Creates and returns 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\+\_\+\+Wl\+\_\+\+Subsurf object, or N\+U\+LL on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


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

\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_ga0235cb545205a1937c73f909ed5f014b}\label{group__Ecore__Wl__Subsurf_ga0235cb545205a1937c73f909ed5f014b}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_del@{ecore\_wl\_subsurf\_del}}
\index{ecore\_wl\_subsurf\_del@{ecore\_wl\_subsurf\_del}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_del()}{ecore\_wl\_subsurf\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+subsurf\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$}]{ess }\end{DoxyParamCaption})}



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


\begin{DoxyParams}{Parameters}
{\em ess} & the subsurface\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_ga6f3409f852ab729b82a90a49df14418c}\label{group__Ecore__Wl__Subsurf_ga6f3409f852ab729b82a90a49df14418c}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_surface\_get@{ecore\_wl\_subsurf\_surface\_get}}
\index{ecore\_wl\_subsurf\_surface\_get@{ecore\_wl\_subsurf\_surface\_get}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_surface\_get()}{ecore\_wl\_subsurf\_surface\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct wl\+\_\+surface$\ast$ ecore\+\_\+wl\+\_\+subsurf\+\_\+surface\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$}]{ess }\end{DoxyParamCaption})}



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


\begin{DoxyParams}{Parameters}
{\em ess} & 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.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_ga5657c8a4cbd75bc48e129b6bb95a78c9}\label{group__Ecore__Wl__Subsurf_ga5657c8a4cbd75bc48e129b6bb95a78c9}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_position\_set@{ecore\_wl\_subsurf\_position\_set}}
\index{ecore\_wl\_subsurf\_position\_set@{ecore\_wl\_subsurf\_position\_set}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_position\_set()}{ecore\_wl\_subsurf\_position\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+subsurf\+\_\+position\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$}]{ess,  }\item[{int}]{x,  }\item[{int}]{y }\end{DoxyParamCaption})}



Sets the position of this subsurface, relative to its parent surface. If ess 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 ess} & 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.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_gabd0fb3922eda792e0339a4e4b76f5798}\label{group__Ecore__Wl__Subsurf_gabd0fb3922eda792e0339a4e4b76f5798}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_position\_get@{ecore\_wl\_subsurf\_position\_get}}
\index{ecore\_wl\_subsurf\_position\_get@{ecore\_wl\_subsurf\_position\_get}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_position\_get()}{ecore\_wl\_subsurf\_position\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+subsurf\+\_\+position\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$}]{ess,  }\item[{int $\ast$}]{x,  }\item[{int $\ast$}]{y }\end{DoxyParamCaption})}



Gets 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 ess} & 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.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_ga1a1126b6d9bc7d645b1eef84801abeab}\label{group__Ecore__Wl__Subsurf_ga1a1126b6d9bc7d645b1eef84801abeab}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_place\_above@{ecore\_wl\_subsurf\_place\_above}}
\index{ecore\_wl\_subsurf\_place\_above@{ecore\_wl\_subsurf\_place\_above}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_place\_above()}{ecore\_wl\_subsurf\_place\_above()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+subsurf\+\_\+place\+\_\+above (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$}]{ess,  }\item[{struct wl\+\_\+surface $\ast$}]{surface }\end{DoxyParamCaption})}



Places subsurface on layer above a reference surface. 

Moves the
\begin{DoxyParams}{Parameters}
{\em ess} & 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 ess} & the subsurface \\
\hline
{\em surface} & the sibling reference surface\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_ga639afaa339a2737613c4ab7355131ed8}\label{group__Ecore__Wl__Subsurf_ga639afaa339a2737613c4ab7355131ed8}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_place\_below@{ecore\_wl\_subsurf\_place\_below}}
\index{ecore\_wl\_subsurf\_place\_below@{ecore\_wl\_subsurf\_place\_below}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_place\_below()}{ecore\_wl\_subsurf\_place\_below()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+subsurf\+\_\+place\+\_\+below (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$}]{ess,  }\item[{struct wl\+\_\+surface $\ast$}]{surface }\end{DoxyParamCaption})}



Places subsurface on layer below a reference surface. 

See ecore\+\_\+wl\+\_\+subsurf\+\_\+place\+\_\+above.


\begin{DoxyParams}{Parameters}
{\em ess} & the subsurface \\
\hline
{\em surface} & the sibling reference surface\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_gaffb4b2d6561b764e10cd4f3a0b732b1a}\label{group__Ecore__Wl__Subsurf_gaffb4b2d6561b764e10cd4f3a0b732b1a}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_sync\_set@{ecore\_wl\_subsurf\_sync\_set}}
\index{ecore\_wl\_subsurf\_sync\_set@{ecore\_wl\_subsurf\_sync\_set}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_sync\_set()}{ecore\_wl\_subsurf\_sync\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+subsurf\+\_\+sync\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$}]{ess,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{val }\end{DoxyParamCaption})}



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 ess} & the subsurface \\
\hline
{\em val} & true to enable synchronization, false to desynchronize\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Subsurf_ga39979ec8ae7a066e0b3c9a9bd4086a6b}\label{group__Ecore__Wl__Subsurf_ga39979ec8ae7a066e0b3c9a9bd4086a6b}} 
\index{Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}!ecore\_wl\_subsurf\_opaque\_region\_set@{ecore\_wl\_subsurf\_opaque\_region\_set}}
\index{ecore\_wl\_subsurf\_opaque\_region\_set@{ecore\_wl\_subsurf\_opaque\_region\_set}!Functions to manipulate subsurfaces.@{Functions to manipulate subsurfaces.}}
\doxysubsubsection{\texorpdfstring{ecore\_wl\_subsurf\_opaque\_region\_set()}{ecore\_wl\_subsurf\_opaque\_region\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+subsurf\+\_\+opaque\+\_\+region\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Ecore__Wayland_8h_a912648818c2aa9f1ea99ad676cad2104}{Ecore\+\_\+\+Wl\+\_\+\+Subsurf}} $\ast$}]{ess,  }\item[{int}]{x,  }\item[{int}]{y,  }\item[{int}]{w,  }\item[{int}]{h }\end{DoxyParamCaption})}



Sets 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 ess} & 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.\+8 
\end{DoxySince}
