\section{G\+L\+View}
\label{group__GLView}\index{G\+L\+View@{G\+L\+View}}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__GLView_ga4d0a2281e13c66d7274987ef24e7abe7}{Elm\+\_\+\+G\+L\+View\+\_\+\+Mode} \{ , \\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a00c61dd95cd14bfb20b575e85913990a}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+A\+L\+P\+H\+A} = (1$<$$<$1), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ae9ce1787f812b721ab0403ebaad3e442}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H} = (1$<$$<$2), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7aa211a5cc15ed45dd9e3fcbd82d53e9ba}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L} = (1$<$$<$3), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a94421f49b912f6a4d479f5f453a165af}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+I\+R\+E\+C\+T} = (1$<$$<$4), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ae285fb7bf02283abded2b28309bca582}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N} = (1$<$$<$5), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a5809e000c2eaa937c43a66654b8db8ec}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+8} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H $\vert$ (1 $<$$<$ 6), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a6b2b44e5fe05938799d4930a1507d06f}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+16} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H $\vert$ (2 $<$$<$ 6), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a5683b035d604d1856f147c76da20bc4f}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+24} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H $\vert$ (3 $<$$<$ 6), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a8783f4db4aa4dceced6c6d2167be58d0}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+32} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H $\vert$ (4 $<$$<$ 6), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a4f0bda7564463bfb0051c2e80178904d}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+1} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L $\vert$ (1 $<$$<$ 9), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ac84019556d4973ec6b4e739e286d5a41}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+2} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L $\vert$ (2 $<$$<$ 9), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7afdbadb1d1d260b28994071ad2d995947}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+4} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L $\vert$ (3 $<$$<$ 9), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a4d75a62577e6e64d52ea4fe69b59c0a4}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+8} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L $\vert$ (4 $<$$<$ 9), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ae5a999525cda4c819b3177845462e165}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+16} = E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L $\vert$ (5 $<$$<$ 9), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a292b85bd12d8e6cf2e901839ec7f97b7}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+L\+O\+W} = (1 $<$$<$ 12), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ad5808821cae2c0916f063a6bc80cf79a}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+M\+E\+D} = (2 $<$$<$ 12), 
\\*
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a8980b9b989e34222c6d8dbf52b98608d}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+H\+I\+G\+H} = (3 $<$$<$ 12)
 \}
\begin{DoxyCompactList}\small\item\em Selects the target surface properties. \end{DoxyCompactList}\item 
enum \hyperlink{group__GLView_ga9c04014df286723f9716e974d9bb7912}{Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy} \{ \\*
\hyperlink{group__GLView_gga9c04014df286723f9716e974d9bb7912a47c5f63726f7746784449b3025facf16}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E} = 1, 
\\*
\hyperlink{group__GLView_gga9c04014df286723f9716e974d9bb7912a837f5662af71d4399b4af3dee43ff2b7}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E} = 2
 \}
\begin{DoxyCompactList}\small\item\em Defines a policy for the glview resizing. \end{DoxyCompactList}\item 
enum \hyperlink{group__GLView_gab0c73016c3466ad45c58814aae34ddd7}{Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy} \{ \\*
\hyperlink{group__GLView_ggab0c73016c3466ad45c58814aae34ddd7a17ebe10e3b42f7668727e5ee4f9a382a}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D} = 1, 
\\*
\hyperlink{group__GLView_ggab0c73016c3466ad45c58814aae34ddd7a8753d328ffccbe05bb656ab5d94cf6f8}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+L\+W\+A\+Y\+S} = 2
 \}
\begin{DoxyCompactList}\small\item\em Defines a policy for gl rendering. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I void \hyperlink{group__GLView_gabe446857099f7d72fb1bdcd86cf035e9}{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+set} (int w, int h)
\begin{DoxyCompactList}\small\item\em Sets the size of the glview. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__GLView_ga699624984812979c15abf2ad8d466e60}{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+get} (int $\ast$w, int $\ast$h)
\begin{DoxyCompactList}\small\item\em Get the size of the glview. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__GLView_ga4f63efb4345e70e1dce5065da5b470e0}{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set} (\hyperlink{group__GLView_ga9c04014df286723f9716e974d9bb7912}{Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy} policy)
\begin{DoxyCompactList}\small\item\em Set the resize policy for the glview object. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__GLView_gaf6353b789fa06c31918dec30570d91a2}{elm\+\_\+obj\+\_\+glview\+\_\+changed\+\_\+set} (void)\label{group__GLView_gaf6353b789fa06c31918dec30570d91a2}

\begin{DoxyCompactList}\small\item\em Notifies that there has been changes in the G\+L\+View. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__GLView_gacaa3f4b13bda2ce0c9e1499463184c90}{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set} (Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb func)
\begin{DoxyCompactList}\small\item\em Set the resize function that gets called when resize happens. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__GLView_ga6e4385a74b857772994f251fa053dbd1}{elm\+\_\+obj\+\_\+glview\+\_\+del\+\_\+func\+\_\+set} (Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb func)
\begin{DoxyCompactList}\small\item\em Set the render function that runs in the main loop. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__GLView_ga61930e619ec3de01f9318cf7ae3713db}{elm\+\_\+obj\+\_\+glview\+\_\+init\+\_\+func\+\_\+set} (Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb func)
\begin{DoxyCompactList}\small\item\em Set the init function that runs once in the main loop. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__GLView_ga975fb40617779f0da13a879ec73fdce2}{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set} (\hyperlink{group__GLView_gab0c73016c3466ad45c58814aae34ddd7}{Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy} policy)
\begin{DoxyCompactList}\small\item\em Set the render policy for the glview object. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__GLView_ga19916464180a0e89daf22bcbb2972be4}{elm\+\_\+obj\+\_\+glview\+\_\+mode\+\_\+set} (\hyperlink{group__GLView_ga4d0a2281e13c66d7274987ef24e7abe7}{Elm\+\_\+\+G\+L\+View\+\_\+\+Mode} mode)
\begin{DoxyCompactList}\small\item\em Set the mode of the G\+L\+View. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__GLView_ga8b9bb150a15e8da001bc78b803deea1f}{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+func\+\_\+set} (Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb func)
\begin{DoxyCompactList}\small\item\em Set the render function that runs in the main loop. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Evas\+\_\+\+G\+L\+\_\+\+A\+P\+I $\ast$ \hyperlink{group__GLView_gaf26d05959f1fd4fd49745765867876dc}{elm\+\_\+obj\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the gl api struct for gl rendering. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Evas\+\_\+\+G\+L $\ast$ \hyperlink{group__GLView_ga844543a40a5e2f3f1e66078b146b3203}{elm\+\_\+obj\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the internal Evas G\+L attached to this view. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I int \hyperlink{group__GLView_ga172ce9ff1ccb6075ef5f78218ee4f87f}{elm\+\_\+obj\+\_\+glview\+\_\+rotation\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the current G\+L view\textquotesingle{}s rotation when using direct rendering. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_ga24b5fa4578f1d7210a7556013b85e88f}{elm\+\_\+glview\+\_\+size\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj, int w, int h)
\begin{DoxyCompactList}\small\item\em Sets the size of the glview. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_ga7f5a44e208c49360c6c1dd655c72a40c}{elm\+\_\+glview\+\_\+size\+\_\+get} (const Elm\+\_\+\+Glview $\ast$obj, int $\ast$w, int $\ast$h)
\begin{DoxyCompactList}\small\item\em Get the size of the glview. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__GLView_gae75f6350beb7accb8fa8f2b5f6731be4}{elm\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj, \hyperlink{group__GLView_ga9c04014df286723f9716e974d9bb7912}{Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy} policy)
\begin{DoxyCompactList}\small\item\em Set the resize policy for the glview object. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_ga694ee2d9450a10207a7b672409b37fa5}{elm\+\_\+glview\+\_\+changed\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj)\label{group__GLView_ga694ee2d9450a10207a7b672409b37fa5}

\begin{DoxyCompactList}\small\item\em Notifies that there has been changes in the G\+L\+View. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_gad02c88a21959b40d6221cdb2a2c21437}{elm\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj, Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb func)
\begin{DoxyCompactList}\small\item\em Set the resize function that gets called when resize happens. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_gaa56e5923c6fa527646c90d6d56c36ee7}{elm\+\_\+glview\+\_\+del\+\_\+func\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj, Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb func)
\begin{DoxyCompactList}\small\item\em Set the render function that runs in the main loop. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_ga0be9adba1d5e2ad3263125182e1aba1e}{elm\+\_\+glview\+\_\+init\+\_\+func\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj, Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb func)
\begin{DoxyCompactList}\small\item\em Set the init function that runs once in the main loop. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__GLView_gaff708b4fd60786608f3ab626d68b5b34}{elm\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj, \hyperlink{group__GLView_gab0c73016c3466ad45c58814aae34ddd7}{Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy} policy)
\begin{DoxyCompactList}\small\item\em Set the render policy for the glview object. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__GLView_ga82348ac294c3743da572ba7dc8aa6b1f}{elm\+\_\+glview\+\_\+mode\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj, \hyperlink{group__GLView_ga4d0a2281e13c66d7274987ef24e7abe7}{Elm\+\_\+\+G\+L\+View\+\_\+\+Mode} mode)
\begin{DoxyCompactList}\small\item\em Set the mode of the G\+L\+View. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_ga4883a8980c35a8710d47158c3b23fc69}{elm\+\_\+glview\+\_\+render\+\_\+func\+\_\+set} (Elm\+\_\+\+Glview $\ast$obj, Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb func)
\begin{DoxyCompactList}\small\item\em Set the render function that runs in the main loop. \end{DoxyCompactList}\item 
Evas\+\_\+\+G\+L\+\_\+\+A\+P\+I $\ast$ \hyperlink{group__GLView_ga09e5d1e9010193fb952ede4e3c7014e0}{elm\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get} (const Elm\+\_\+\+Glview $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the gl api struct for gl rendering. \end{DoxyCompactList}\item 
Evas\+\_\+\+G\+L $\ast$ \hyperlink{group__GLView_gaa47f8f9b7b85549b22e38ebffc5776c4}{elm\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get} (const Elm\+\_\+\+Glview $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the internal Evas G\+L attached to this view. \end{DoxyCompactList}\item 
int \hyperlink{group__GLView_ga6c06e32edd101345d3e0c7c9b7aacc9c}{elm\+\_\+glview\+\_\+rotation\+\_\+get} (const Elm\+\_\+\+Glview $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the current G\+L view\textquotesingle{}s rotation when using direct rendering. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__GLView_ga2ab32b7aee3433992b3f0edba5909a42}{elm\+\_\+glview\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new glview to the parent. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{glview_inheritance_tree}}
\end{DoxyImageNoCaption}


A G\+L\+View widget allows for simple G\+L rendering in elementary environment. G\+L\+View hides all the complicated evas\+\_\+gl details so that the user only has to deal with registering a few callback functions for rendering to a surface using Open\+G\+L A\+P\+Is.

This widget emits the following signals, besides the ones sent from G\+L\+View\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}focused\char`\"{}} -\/ when glview has received focus.
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ when glview has lost focus.
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed
\end{DoxyItemize}

Below is an illustrative example of how to use G\+L\+View and and Open\+G\+L to render in elementary environment. glview\+\_\+example\+\_\+01\+\_\+page 

\subsection{Enumeration Type Documentation}
\index{G\+L\+View@{G\+L\+View}!Elm\+\_\+\+G\+L\+View\+\_\+\+Mode@{Elm\+\_\+\+G\+L\+View\+\_\+\+Mode}}
\index{Elm\+\_\+\+G\+L\+View\+\_\+\+Mode@{Elm\+\_\+\+G\+L\+View\+\_\+\+Mode}!G\+L\+View@{G\+L\+View}}
\subsubsection[{Elm\+\_\+\+G\+L\+View\+\_\+\+Mode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Mode}}\label{group__GLView_ga4d0a2281e13c66d7274987ef24e7abe7}


Selects the target surface properties. 

An O\+R combination of {\ttfamily Elm\+\_\+\+G\+L\+View\+\_\+\+Mode} values should be passed to \hyperlink{group__GLView_ga82348ac294c3743da572ba7dc8aa6b1f}{elm\+\_\+glview\+\_\+mode\+\_\+set} when setting up a G\+L widget. These flags will specify the properties of the rendering target surface; in particular, the mode can request the surface to support alpha, depth and stencil buffers.

\begin{DoxyNote}{Note}
{\ttfamily E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N} is a special value that indicates to E\+F\+L that the application will handle the view rotation when the device is rotated. This is needed only when the application requests direct rendering. Please refer to Evas\+\_\+\+G\+L for more information about direct rendering.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__GLView_ga82348ac294c3743da572ba7dc8aa6b1f}{elm\+\_\+glview\+\_\+mode\+\_\+set} 

elm\+\_\+opengl\+\_\+page 
\end{DoxySeeAlso}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+A\+L\+P\+H\+A@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+A\+L\+P\+H\+A}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+A\+L\+P\+H\+A@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+A\+L\+P\+H\+A}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+A\+L\+P\+H\+A\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a00c61dd95cd14bfb20b575e85913990a}
}]Alpha channel enabled rendering mode. \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ae9ce1787f812b721ab0403ebaad3e442}
}]Depth buffer enabled rendering mode (24 bits by default) \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7aa211a5cc15ed45dd9e3fcbd82d53e9ba}
}]Stencil buffer enabled rendering mode (8 bits by default) \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+I\+R\+E\+C\+T@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+I\+R\+E\+C\+T}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+I\+R\+E\+C\+T@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+I\+R\+E\+C\+T}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+I\+R\+E\+C\+T\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a94421f49b912f6a4d479f5f453a165af}
}]Request direct rendering, unless there must be a fallback. \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ae285fb7bf02283abded2b28309bca582}
}]Client will handle G\+L view rotation if direct rendering is enabled. \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+8@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+8}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+8@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+8}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+8\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a5809e000c2eaa937c43a66654b8db8ec}
}]Request min. 8 bits for the depth buffer \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+16@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+16}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+16@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+16}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+16\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a6b2b44e5fe05938799d4930a1507d06f}
}]Request min. 16 bits for the depth buffer \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+24@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+24}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+24@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+24}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+24\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a5683b035d604d1856f147c76da20bc4f}
}]Request min. 24 bits for the depth buffer (default) \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+32@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+32}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+32@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+32}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+32\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a8783f4db4aa4dceced6c6d2167be58d0}
}]Request min. 32 bits for the depth buffer \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+1@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+1}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+1@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+1}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+1\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a4f0bda7564463bfb0051c2e80178904d}
}]Request min. 1 bits for the stencil buffer \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+2@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+2}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+2@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+2}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+2\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ac84019556d4973ec6b4e739e286d5a41}
}]Request min. 2 bits for the stencil buffer \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+4@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+4}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+4@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+4}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+4\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7afdbadb1d1d260b28994071ad2d995947}
}]Request min. 4 bits for the stencil buffer \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+8@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+8}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+8@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+8}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+8\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a4d75a62577e6e64d52ea4fe69b59c0a4}
}]Request min. 8 bits for the stencil buffer (default) \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+16@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+16}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+16@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+16}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+16\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ae5a999525cda4c819b3177845462e165}
}]Request min. 16 bits for the stencil buffer \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+L\+O\+W@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+L\+O\+W}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+L\+O\+W@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+L\+O\+W}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+L\+O\+W\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a292b85bd12d8e6cf2e901839ec7f97b7}
}]M\+S\+A\+A with minimum number of samples. \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+M\+E\+D@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+M\+E\+D}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+M\+E\+D@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+M\+E\+D}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+M\+E\+D\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ad5808821cae2c0916f063a6bc80cf79a}
}]M\+S\+A\+A with half the number of maximum samples. \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+H\+I\+G\+H@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+H\+I\+G\+H}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+H\+I\+G\+H@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+H\+I\+G\+H}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+\_\+\+H\+I\+G\+H\label{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7a8980b9b989e34222c6d8dbf52b98608d}
}]M\+S\+A\+A with maximum number of samples. \end{description}
\end{Desc}
\index{G\+L\+View@{G\+L\+View}!Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy@{Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy}}
\index{Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy@{Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy}!G\+L\+View@{G\+L\+View}}
\subsubsection[{Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy}}\label{group__GLView_gab0c73016c3466ad45c58814aae34ddd7}


Defines a policy for gl rendering. 

The rendering policy tells glview where to run the gl rendering code. E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D tells glview to call the rendering calls on demand, which means that the rendering code gets called only when it is visible.

\begin{DoxyNote}{Note}
Default is E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D 
\end{DoxyNote}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D\label{group__GLView_ggab0c73016c3466ad45c58814aae34ddd7a17ebe10e3b42f7668727e5ee4f9a382a}
}]Render only when there is a need for redrawing. \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+L\+W\+A\+Y\+S@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+L\+W\+A\+Y\+S}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+L\+W\+A\+Y\+S@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+L\+W\+A\+Y\+S}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+L\+W\+A\+Y\+S\label{group__GLView_ggab0c73016c3466ad45c58814aae34ddd7a8753d328ffccbe05bb656ab5d94cf6f8}
}]Render always even when it is not visible. \end{description}
\end{Desc}
\index{G\+L\+View@{G\+L\+View}!Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy@{Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy}}
\index{Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy@{Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy}!G\+L\+View@{G\+L\+View}}
\subsubsection[{Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy}}\label{group__GLView_ga9c04014df286723f9716e974d9bb7912}


Defines a policy for the glview resizing. 

The resizing policy tells glview what to do with the underlying surface when resize happens. E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E will destroy the current surface and recreate the surface to the new size. E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E will instead keep the current surface but only display the result at the desired size scaled.

\begin{DoxyNote}{Note}
Default is E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E 
\end{DoxyNote}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E\label{group__GLView_gga9c04014df286723f9716e974d9bb7912a47c5f63726f7746784449b3025facf16}
}]Resize the internal surface along with the image. \index{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E}!G\+L\+View@{G\+L\+View}}\index{G\+L\+View@{G\+L\+View}!E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E@{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E}}\item[{\em 
E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E\label{group__GLView_gga9c04014df286723f9716e974d9bb7912a837f5662af71d4399b4af3dee43ff2b7}
}]Only resize the internal image and not the surface. \end{description}
\end{Desc}


\subsection{Function Documentation}
\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+add@{elm\+\_\+glview\+\_\+add}}
\index{elm\+\_\+glview\+\_\+add@{elm\+\_\+glview\+\_\+add}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+glview\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__GLView_ga2ab32b7aee3433992b3f0edba5909a42}


Add a new glview to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+L\+L if it cannot be created 
\end{DoxyReturn}
\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+del\+\_\+func\+\_\+set@{elm\+\_\+glview\+\_\+del\+\_\+func\+\_\+set}}
\index{elm\+\_\+glview\+\_\+del\+\_\+func\+\_\+set@{elm\+\_\+glview\+\_\+del\+\_\+func\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+del\+\_\+func\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+glview\+\_\+del\+\_\+func\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_gaa56e5923c6fa527646c90d6d56c36ee7}


Set the render function that runs in the main loop. 

The registered del function gets called when G\+L\+View object is deleted. This function allows glview to hide all the rendering context/surface details and have the user just call G\+L calls that they desire when delete happens.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The delete function to be registered. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+del\+\_\+func\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get@{elm\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get}}
\index{elm\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get@{elm\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+G\+L$\ast$ elm\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Glview $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__GLView_gaa47f8f9b7b85549b22e38ebffc5776c4}


Get the internal Evas G\+L attached to this view. 

\begin{DoxyNote}{Note}
The returned Evas\+\_\+\+G\+L must not be destroyed as it is still owned by the view. But this pointer can be used then to call all the evas\+\_\+gl\+\_\+ functions.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+12
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The Evas\+\_\+\+G\+L used by this G\+L\+View. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get@{elm\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get}}
\index{elm\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get@{elm\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+G\+L\+\_\+\+A\+P\+I$\ast$ elm\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Glview $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__GLView_ga09e5d1e9010193fb952ede4e3c7014e0}


Get the gl api struct for gl rendering. 

\begin{DoxyReturn}{Returns}
The api object or N\+U\+L\+L if it cannot be created 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+init\+\_\+func\+\_\+set@{elm\+\_\+glview\+\_\+init\+\_\+func\+\_\+set}}
\index{elm\+\_\+glview\+\_\+init\+\_\+func\+\_\+set@{elm\+\_\+glview\+\_\+init\+\_\+func\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+init\+\_\+func\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+glview\+\_\+init\+\_\+func\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_ga0be9adba1d5e2ad3263125182e1aba1e}


Set the init function that runs once in the main loop. 

The registered init function gets called once during the render loop. This function allows glview to hide all the rendering context/surface details and have the user just call G\+L calls that they desire for initialization G\+L calls.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The init function to be registered. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+init\+\_\+func\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+mode\+\_\+set@{elm\+\_\+glview\+\_\+mode\+\_\+set}}
\index{elm\+\_\+glview\+\_\+mode\+\_\+set@{elm\+\_\+glview\+\_\+mode\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+mode\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+glview\+\_\+mode\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__GLView_ga82348ac294c3743da572ba7dc8aa6b1f}


Set the mode of the G\+L\+View. 

Supports alpha, depth, stencil.

\begin{DoxyReturn}{Returns}
True if set properly.
\end{DoxyReturn}
Direct is a hint for the elm\+\_\+glview to render directly to the window given that the right conditions are met. Otherwise it falls back to rendering to an offscreen buffer before it gets composited to the window.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & The mode Options O\+R\textquotesingle{}ed enabling Alpha, Depth, Stencil, Direct. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+mode\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+render\+\_\+func\+\_\+set@{elm\+\_\+glview\+\_\+render\+\_\+func\+\_\+set}}
\index{elm\+\_\+glview\+\_\+render\+\_\+func\+\_\+set@{elm\+\_\+glview\+\_\+render\+\_\+func\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+render\+\_\+func\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+glview\+\_\+render\+\_\+func\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_ga4883a8980c35a8710d47158c3b23fc69}


Set the render function that runs in the main loop. 

The render function gets called in the main loop but whether it runs depends on the rendering policy and whether \hyperlink{group__GLView_ga694ee2d9450a10207a7b672409b37fa5}{elm\+\_\+glview\+\_\+changed\+\_\+set()} gets called.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The render function to be registered. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+func\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set@{elm\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set}}
\index{elm\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set@{elm\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy}}]{policy}
\end{DoxyParamCaption}
)}\label{group__GLView_gaff708b4fd60786608f3ab626d68b5b34}


Set the render policy for the glview object. 

By default, the render policy is set to \hyperlink{group__GLView_ggab0c73016c3466ad45c58814aae34ddd7a17ebe10e3b42f7668727e5ee4f9a382a}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D}. This policy is set such that during the render loop, glview is only redrawn if it needs to be redrawn. (i.\+e. when it is visible) If the policy is set to \#\+E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+L\+W\+A\+Y\+S, it redraws regardless of whether it is visible or needs redrawing.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em policy} & The render policy. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set@{elm\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set}}
\index{elm\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set@{elm\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_gad02c88a21959b40d6221cdb2a2c21437}


Set the resize function that gets called when resize happens. 

The resize function gets called during the render loop. This function allows glview to hide all the rendering context/surface details and have the user just call G\+L calls that they desire when resize happens.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The resize function to be registered. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set@{elm\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set}}
\index{elm\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set@{elm\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy}}]{policy}
\end{DoxyParamCaption}
)}\label{group__GLView_gae75f6350beb7accb8fa8f2b5f6731be4}


Set the resize policy for the glview object. 

By default, the resize policy is set to \hyperlink{group__GLView_gga9c04014df286723f9716e974d9bb7912a47c5f63726f7746784449b3025facf16}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E}. When resize is called it destroys the previous surface and recreates the newly specified size. If the policy is set to \hyperlink{group__GLView_gga9c04014df286723f9716e974d9bb7912a837f5662af71d4399b4af3dee43ff2b7}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E}, however, glview only scales the image object and not the underlying G\+L Surface.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em policy} & The scaling policy. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+rotation\+\_\+get@{elm\+\_\+glview\+\_\+rotation\+\_\+get}}
\index{elm\+\_\+glview\+\_\+rotation\+\_\+get@{elm\+\_\+glview\+\_\+rotation\+\_\+get}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+rotation\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int elm\+\_\+glview\+\_\+rotation\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Glview $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__GLView_ga6c06e32edd101345d3e0c7c9b7aacc9c}


Get the current G\+L view\textquotesingle{}s rotation when using direct rendering. 

\begin{DoxyReturn}{Returns}
A window rotation in degrees (0, 90, 180 or 270)
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This rotation can be different from the device orientation. This rotation value must be used in case of direct rendering and should be taken into account by the application when setting the internal rotation matrix for the view.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ae285fb7bf02283abded2b28309bca582}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


References elm\+\_\+obj\+\_\+glview\+\_\+rotation\+\_\+get().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+size\+\_\+get@{elm\+\_\+glview\+\_\+size\+\_\+get}}
\index{elm\+\_\+glview\+\_\+size\+\_\+get@{elm\+\_\+glview\+\_\+size\+\_\+get}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+size\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+glview\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{int $\ast$}]{w, }
\item[{int $\ast$}]{h}
\end{DoxyParamCaption}
)}\label{group__GLView_ga7f5a44e208c49360c6c1dd655c72a40c}


Get the size of the glview. 

Note that this function returns the actual image size of the glview. This means that when the scale policy is set to \hyperlink{group__GLView_gga9c04014df286723f9716e974d9bb7912a837f5662af71d4399b4af3dee43ff2b7}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E}, it\textquotesingle{}ll return the non-\/scaled size.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em w} & width of the glview object \\
\hline
\mbox{\tt out}  & {\em h} & height of the glview object \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+get().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+glview\+\_\+size\+\_\+set@{elm\+\_\+glview\+\_\+size\+\_\+set}}
\index{elm\+\_\+glview\+\_\+size\+\_\+set@{elm\+\_\+glview\+\_\+size\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+glview\+\_\+size\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+glview\+\_\+size\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Glview $\ast$}]{obj, }
\item[{int}]{w, }
\item[{int}]{h}
\end{DoxyParamCaption}
)}\label{group__GLView_ga24b5fa4578f1d7210a7556013b85e88f}


Sets the size of the glview. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w} & width of the glview object \\
\hline
\mbox{\tt in}  & {\em h} & height of the glview object \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+del\+\_\+func\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+del\+\_\+func\+\_\+set}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+del\+\_\+func\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+del\+\_\+func\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+del\+\_\+func\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+glview\+\_\+del\+\_\+func\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_ga6e4385a74b857772994f251fa053dbd1}


Set the render function that runs in the main loop. 

The registered del function gets called when G\+L\+View object is deleted. This function allows glview to hide all the rendering context/surface details and have the user just call G\+L calls that they desire when delete happens.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The delete function to be registered. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+del\+\_\+func\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get@{elm\+\_\+obj\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get@{elm\+\_\+obj\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Evas\+\_\+\+G\+L$\ast$ elm\+\_\+obj\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__GLView_ga844543a40a5e2f3f1e66078b146b3203}


Get the internal Evas G\+L attached to this view. 

\begin{DoxyNote}{Note}
The returned Evas\+\_\+\+G\+L must not be destroyed as it is still owned by the view. But this pointer can be used then to call all the evas\+\_\+gl\+\_\+ functions.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+12
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The Evas\+\_\+\+G\+L used by this G\+L\+View. 
\end{DoxyReturn}


Referenced by elm\+\_\+glview\+\_\+evas\+\_\+gl\+\_\+get().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get@{elm\+\_\+obj\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get@{elm\+\_\+obj\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Evas\+\_\+\+G\+L\+\_\+\+A\+P\+I$\ast$ elm\+\_\+obj\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__GLView_gaf26d05959f1fd4fd49745765867876dc}


Get the gl api struct for gl rendering. 

\begin{DoxyReturn}{Returns}
The api object or N\+U\+L\+L if it cannot be created 
\end{DoxyReturn}


Referenced by elm\+\_\+glview\+\_\+gl\+\_\+api\+\_\+get().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+init\+\_\+func\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+init\+\_\+func\+\_\+set}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+init\+\_\+func\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+init\+\_\+func\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+init\+\_\+func\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+glview\+\_\+init\+\_\+func\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_ga61930e619ec3de01f9318cf7ae3713db}


Set the init function that runs once in the main loop. 

The registered init function gets called once during the render loop. This function allows glview to hide all the rendering context/surface details and have the user just call G\+L calls that they desire for initialization G\+L calls.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The init function to be registered. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+init\+\_\+func\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+mode\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+mode\+\_\+set}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+mode\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+mode\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+mode\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+glview\+\_\+mode\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__GLView_ga19916464180a0e89daf22bcbb2972be4}


Set the mode of the G\+L\+View. 

Supports alpha, depth, stencil.

\begin{DoxyReturn}{Returns}
True if set properly.
\end{DoxyReturn}
Direct is a hint for the elm\+\_\+glview to render directly to the window given that the right conditions are met. Otherwise it falls back to rendering to an offscreen buffer before it gets composited to the window.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & The mode Options O\+R\textquotesingle{}ed enabling Alpha, Depth, Stencil, Direct. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+mode\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+func\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+func\+\_\+set}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+func\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+func\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+func\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+func\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_ga8b9bb150a15e8da001bc78b803deea1f}


Set the render function that runs in the main loop. 

The render function gets called in the main loop but whether it runs depends on the rendering policy and whether \hyperlink{group__GLView_ga694ee2d9450a10207a7b672409b37fa5}{elm\+\_\+glview\+\_\+changed\+\_\+set()} gets called.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The render function to be registered. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+render\+\_\+func\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Render\+\_\+\+Policy}}]{policy}
\end{DoxyParamCaption}
)}\label{group__GLView_ga975fb40617779f0da13a879ec73fdce2}


Set the render policy for the glview object. 

By default, the render policy is set to \hyperlink{group__GLView_ggab0c73016c3466ad45c58814aae34ddd7a17ebe10e3b42f7668727e5ee4f9a382a}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N\+\_\+\+D\+E\+M\+A\+N\+D}. This policy is set such that during the render loop, glview is only redrawn if it needs to be redrawn. (i.\+e. when it is visible) If the policy is set to \#\+E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+W\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+L\+W\+A\+Y\+S, it redraws regardless of whether it is visible or needs redrawing.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em policy} & The render policy. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+render\+\_\+policy\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+G\+L\+View\+\_\+\+Func\+\_\+\+Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_gacaa3f4b13bda2ce0c9e1499463184c90}


Set the resize function that gets called when resize happens. 

The resize function gets called during the render loop. This function allows glview to hide all the rendering context/surface details and have the user just call G\+L calls that they desire when resize happens.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The resize function to be registered. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+resize\+\_\+func\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+G\+L\+View\+\_\+\+Resize\+\_\+\+Policy}}]{policy}
\end{DoxyParamCaption}
)}\label{group__GLView_ga4f63efb4345e70e1dce5065da5b470e0}


Set the resize policy for the glview object. 

By default, the resize policy is set to \hyperlink{group__GLView_gga9c04014df286723f9716e974d9bb7912a47c5f63726f7746784449b3025facf16}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+R\+E\+C\+R\+E\+A\+T\+E}. When resize is called it destroys the previous surface and recreates the newly specified size. If the policy is set to \hyperlink{group__GLView_gga9c04014df286723f9716e974d9bb7912a837f5662af71d4399b4af3dee43ff2b7}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E}, however, glview only scales the image object and not the underlying G\+L Surface.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em policy} & The scaling policy. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+resize\+\_\+policy\+\_\+set().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+rotation\+\_\+get@{elm\+\_\+obj\+\_\+glview\+\_\+rotation\+\_\+get}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+rotation\+\_\+get@{elm\+\_\+obj\+\_\+glview\+\_\+rotation\+\_\+get}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+rotation\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I int elm\+\_\+obj\+\_\+glview\+\_\+rotation\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__GLView_ga172ce9ff1ccb6075ef5f78218ee4f87f}


Get the current G\+L view\textquotesingle{}s rotation when using direct rendering. 

\begin{DoxyReturn}{Returns}
A window rotation in degrees (0, 90, 180 or 270)
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This rotation can be different from the device orientation. This rotation value must be used in case of direct rendering and should be taken into account by the application when setting the internal rotation matrix for the view.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__GLView_gga4d0a2281e13c66d7274987ef24e7abe7ae285fb7bf02283abded2b28309bca582}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+I\+D\+E\+\_\+\+R\+O\+T\+A\+T\+I\+O\+N}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


Referenced by elm\+\_\+glview\+\_\+rotation\+\_\+get().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+get@{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+get}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+get@{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+get}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{w, }
\item[{int $\ast$}]{h}
\end{DoxyParamCaption}
)}\label{group__GLView_ga699624984812979c15abf2ad8d466e60}


Get the size of the glview. 

Note that this function returns the actual image size of the glview. This means that when the scale policy is set to \hyperlink{group__GLView_gga9c04014df286723f9716e974d9bb7912a837f5662af71d4399b4af3dee43ff2b7}{E\+L\+M\+\_\+\+G\+L\+V\+I\+E\+W\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+S\+C\+A\+L\+E}, it\textquotesingle{}ll return the non-\/scaled size.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em w} & width of the glview object \\
\hline
\mbox{\tt out}  & {\em h} & height of the glview object \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+size\+\_\+get().

\index{G\+L\+View@{G\+L\+View}!elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+set}}
\index{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+set@{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+set}!G\+L\+View@{G\+L\+View}}
\subsubsection[{elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+glview\+\_\+size\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{w, }
\item[{int}]{h}
\end{DoxyParamCaption}
)}\label{group__GLView_gabe446857099f7d72fb1bdcd86cf035e9}


Sets the size of the glview. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w} & width of the glview object \\
\hline
\mbox{\tt in}  & {\em h} & height of the glview object \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+glview\+\_\+size\+\_\+set().

