\section{G\-L\-View}
\label{group__GLView}\index{G\-L\-View@{G\-L\-View}}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__GLView_ga83167067683fa90d1c4c7dd48602f596}{elm\-\_\-obj\-\_\-glview\-\_\-gl\-\_\-api\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-G\-L\-\_\-\-A\-P\-I\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-G\-L\-\_\-\-A\-P\-I $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__GLView_ga757db3b8de305d1453c962610c6ed898}{elm\-\_\-obj\-\_\-glview\-\_\-mode\-\_\-set}(mode, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-M\-O\-D\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__GLView_ga66921b1aacf3e65935a0d6c2576ac096}{Elm\-\_\-\-G\-L\-View\-\_\-\-Mode}, mode), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__GLView_ga898ecf4cfa2887bfcac5a3a1e8b0d717}{elm\-\_\-obj\-\_\-glview\-\_\-resize\-\_\-policy\-\_\-set}(policy, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-E\-S\-I\-Z\-E\-\_\-\-P\-O\-L\-I\-C\-Y\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__GLView_ga9c04014df286723f9716e974d9bb7912}{Elm\-\_\-\-G\-L\-View\-\_\-\-Resize\-\_\-\-Policy}, policy), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__GLView_gaea288f8cb0230cd23730ecfb2a081c6c}{elm\-\_\-obj\-\_\-glview\-\_\-render\-\_\-policy\-\_\-set}(policy, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-E\-N\-D\-E\-R\-\_\-\-P\-O\-L\-I\-C\-Y\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__GLView_gab0c73016c3466ad45c58814aae34ddd7}{Elm\-\_\-\-G\-L\-View\-\_\-\-Render\-\_\-\-Policy}, policy), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__GLView_ga010f310dc49e41138855e6b07d482177}{elm\-\_\-obj\-\_\-glview\-\_\-size\-\_\-set}(w, h)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, h)
\item 
\#define \hyperlink{group__GLView_gad76ee1213ae5ed236e86cbce11dd8d25}{elm\-\_\-obj\-\_\-glview\-\_\-size\-\_\-get}(w, h)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, h)
\item 
\#define \hyperlink{group__GLView_gaf9cbcb738a137e87791e4867cbdd726a}{elm\-\_\-obj\-\_\-glview\-\_\-init\-\_\-func\-\_\-set}(func)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-N\-I\-T\-\_\-\-F\-U\-N\-C\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb, func)
\item 
\#define \hyperlink{group__GLView_gaf58443cf741581c2374d3b3b8756714a}{elm\-\_\-obj\-\_\-glview\-\_\-del\-\_\-func\-\_\-set}(func)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-E\-L\-\_\-\-F\-U\-N\-C\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb, func)
\item 
\#define \hyperlink{group__GLView_gad3540fd891b7bd615a37c8aa656cee7d}{elm\-\_\-obj\-\_\-glview\-\_\-resize\-\_\-func\-\_\-set}(func)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-E\-S\-I\-Z\-E\-\_\-\-F\-U\-N\-C\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb, func)
\item 
\#define \hyperlink{group__GLView_ga7ca6f784c1081e6c596e607a834208e0}{elm\-\_\-obj\-\_\-glview\-\_\-render\-\_\-func\-\_\-set}(func)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-E\-N\-D\-E\-R\-\_\-\-F\-U\-N\-C\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb, func)
\item 
\#define \hyperlink{group__GLView_ga539f0d2ec1ce8fe5586e6e59e16ad2f4}{elm\-\_\-obj\-\_\-glview\-\_\-changed\-\_\-set}()~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-H\-A\-N\-G\-E\-D\-\_\-\-S\-E\-T)
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef enum \hyperlink{group__GLView_gaabffbc1312be12b222eb67916e9645d1}{\-\_\-\-Elm\-\_\-\-G\-L\-View\-\_\-\-Mode} \hyperlink{group__GLView_ga66921b1aacf3e65935a0d6c2576ac096}{Elm\-\_\-\-G\-L\-View\-\_\-\-Mode}\label{group__GLView_ga66921b1aacf3e65935a0d6c2576ac096}

\begin{DoxyCompactList}\small\item\em Defines mode of G\-L\-View. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__GLView_gaabffbc1312be12b222eb67916e9645d1}{\-\_\-\-Elm\-\_\-\-G\-L\-View\-\_\-\-Mode} \{ , \\*
\hyperlink{group__GLView_ggaabffbc1312be12b222eb67916e9645d1a00c61dd95cd14bfb20b575e85913990a}{E\-L\-M\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-A\-L\-P\-H\-A} = (1$<$$<$1), 
\\*
\hyperlink{group__GLView_ggaabffbc1312be12b222eb67916e9645d1ae9ce1787f812b721ab0403ebaad3e442}{E\-L\-M\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-D\-E\-P\-T\-H} = (1$<$$<$2), 
\\*
\hyperlink{group__GLView_ggaabffbc1312be12b222eb67916e9645d1aa211a5cc15ed45dd9e3fcbd82d53e9ba}{E\-L\-M\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-T\-E\-N\-C\-I\-L} = (1$<$$<$3), 
\\*
\hyperlink{group__GLView_ggaabffbc1312be12b222eb67916e9645d1a94421f49b912f6a4d479f5f453a165af}{E\-L\-M\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-D\-I\-R\-E\-C\-T} = (1$<$$<$4)
 \}
\begin{DoxyCompactList}\small\item\em Defines mode of G\-L\-View. \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 
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}\item 
Evas\-\_\-\-G\-L\-\_\-\-A\-P\-I $\ast$ \hyperlink{group__GLView_ga1ecf2b85d4eac4a349de1f6c11cf1b03}{elm\-\_\-glview\-\_\-gl\-\_\-api\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the gl api struct for gl rendering. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__GLView_ga337a2af564ae6607a785c6712748146d}{elm\-\_\-glview\-\_\-mode\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, \hyperlink{group__GLView_ga66921b1aacf3e65935a0d6c2576ac096}{Elm\-\_\-\-G\-L\-View\-\_\-\-Mode} mode)
\begin{DoxyCompactList}\small\item\em Set the mode of the G\-L\-View. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__GLView_ga7351849a8ad9380c3ba57663c5fe2ba9}{elm\-\_\-glview\-\_\-resize\-\_\-policy\-\_\-set} (Evas\-\_\-\-Object $\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 
Eina\-\_\-\-Bool \hyperlink{group__GLView_gaaeee3d0d6347b90e9e688506ab03263f}{elm\-\_\-glview\-\_\-render\-\_\-policy\-\_\-set} (Evas\-\_\-\-Object $\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 
void \hyperlink{group__GLView_gad8b3b31cd649234c560e66906463e674}{elm\-\_\-glview\-\_\-size\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Evas\-\_\-\-Coord w, Evas\-\_\-\-Coord h)
\begin{DoxyCompactList}\small\item\em Sets the size of the glview. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_ga8020f7d27bc166a0ef3a4ef735c7e46e}{elm\-\_\-glview\-\_\-size\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj, Evas\-\_\-\-Coord $\ast$w, Evas\-\_\-\-Coord $\ast$h)
\begin{DoxyCompactList}\small\item\em Get the size of the glview. \end{DoxyCompactList}\item 
void \hyperlink{group__GLView_ga85c8b387f2f8e19e563882f7ce25d736}{elm\-\_\-glview\-\_\-init\-\_\-func\-\_\-set} (Evas\-\_\-\-Object $\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 
void \hyperlink{group__GLView_gae6bc093d6804c3131df752e80aca724c}{elm\-\_\-glview\-\_\-del\-\_\-func\-\_\-set} (Evas\-\_\-\-Object $\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_ga4f3cc094a7f467595c6c5d4ebb8a02cd}{elm\-\_\-glview\-\_\-resize\-\_\-func\-\_\-set} (Evas\-\_\-\-Object $\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_ga0a2bcda5d7e37ed2dbfd43da47046f05}{elm\-\_\-glview\-\_\-render\-\_\-func\-\_\-set} (Evas\-\_\-\-Object $\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_ga1e1544c2e0a7531f07e8cae105c38e3b}{elm\-\_\-glview\-\_\-changed\-\_\-set} (Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Notifies that there has been changes in the G\-L\-View. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{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'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. \hyperlink{glview_example_01_page}{
\begin{DoxyItemize}
\item G\-L\-View Example
\end{DoxyItemize}} 

\subsection{Macro Definition Documentation}
\index{G\-L\-View@{G\-L\-View}!elm\-\_\-obj\-\_\-glview\-\_\-changed\-\_\-set@{elm\-\_\-obj\-\_\-glview\-\_\-changed\-\_\-set}}
\index{elm\-\_\-obj\-\_\-glview\-\_\-changed\-\_\-set@{elm\-\_\-obj\-\_\-glview\-\_\-changed\-\_\-set}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-changed\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-changed\-\_\-set(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-H\-A\-N\-G\-E\-D\-\_\-\-S\-E\-T)}\label{group__GLView_ga539f0d2ec1ce8fe5586e6e59e16ad2f4}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Notifies that there has been changes in the G\-L\-View.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_ga1e1544c2e0a7531f07e8cae105c38e3b}{elm\-\_\-glview\-\_\-changed\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-glview\-\_\-changed\-\_\-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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-del\-\_\-func\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-del\-\_\-func\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{func}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-E\-L\-\_\-\-F\-U\-N\-C\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb, func)}\label{group__GLView_gaf58443cf741581c2374d3b3b8756714a}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the render function that runs in the main loop.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_gae6bc093d6804c3131df752e80aca724c}{elm\-\_\-glview\-\_\-del\-\_\-func\-\_\-set} 
\end{DoxySeeAlso}


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

\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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-gl\-\_\-api\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-gl\-\_\-api\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-G\-L\-\_\-\-A\-P\-I\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-G\-L\-\_\-\-A\-P\-I $\ast$$\ast$, ret)}\label{group__GLView_ga83167067683fa90d1c4c7dd48602f596}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the gl api struct for gl rendering


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_ga1ecf2b85d4eac4a349de1f6c11cf1b03}{elm\-\_\-glview\-\_\-gl\-\_\-api\-\_\-get} 
\end{DoxySeeAlso}


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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-init\-\_\-func\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-init\-\_\-func\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{func}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-N\-I\-T\-\_\-\-F\-U\-N\-C\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb, func)}\label{group__GLView_gaf9cbcb738a137e87791e4867cbdd726a}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the init function that runs once in the main loop.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_ga85c8b387f2f8e19e563882f7ce25d736}{elm\-\_\-glview\-\_\-init\-\_\-func\-\_\-set} 
\end{DoxySeeAlso}


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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-mode\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-mode\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{mode, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-M\-O\-D\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-G\-L\-View\-\_\-\-Mode}, mode), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__GLView_ga757db3b8de305d1453c962610c6ed898}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the mode of the G\-L\-View. Supports alpha, depth, stencil.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_ga337a2af564ae6607a785c6712748146d}{elm\-\_\-glview\-\_\-mode\-\_\-set} 
\end{DoxySeeAlso}


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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-render\-\_\-func\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-render\-\_\-func\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{func}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-E\-N\-D\-E\-R\-\_\-\-F\-U\-N\-C\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb, func)}\label{group__GLView_ga7ca6f784c1081e6c596e607a834208e0}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the render function that runs in the main loop.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_ga0a2bcda5d7e37ed2dbfd43da47046f05}{elm\-\_\-glview\-\_\-render\-\_\-func\-\_\-set} 
\end{DoxySeeAlso}


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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-render\-\_\-policy\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-render\-\_\-policy\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{policy, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-E\-N\-D\-E\-R\-\_\-\-P\-O\-L\-I\-C\-Y\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-G\-L\-View\-\_\-\-Render\-\_\-\-Policy}, policy), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__GLView_gaea288f8cb0230cd23730ecfb2a081c6c}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the render policy for the glview object.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em policy} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_gaaeee3d0d6347b90e9e688506ab03263f}{elm\-\_\-glview\-\_\-render\-\_\-policy\-\_\-set} 
\end{DoxySeeAlso}


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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-resize\-\_\-func\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-resize\-\_\-func\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{func}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-E\-S\-I\-Z\-E\-\_\-\-F\-U\-N\-C\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb, func)}\label{group__GLView_gad3540fd891b7bd615a37c8aa656cee7d}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the resize function that gets called when resize happens.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_ga4f3cc094a7f467595c6c5d4ebb8a02cd}{elm\-\_\-glview\-\_\-resize\-\_\-func\-\_\-set} 
\end{DoxySeeAlso}


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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-resize\-\_\-policy\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-resize\-\_\-policy\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{policy, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-E\-S\-I\-Z\-E\-\_\-\-P\-O\-L\-I\-C\-Y\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-G\-L\-View\-\_\-\-Resize\-\_\-\-Policy}, policy), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__GLView_ga898ecf4cfa2887bfcac5a3a1e8b0d717}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the resize policy for the glview object.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em policy} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_ga7351849a8ad9380c3ba57663c5fe2ba9}{elm\-\_\-glview\-\_\-resize\-\_\-policy\-\_\-set} 
\end{DoxySeeAlso}


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

\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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-size\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, h)}\label{group__GLView_gad76ee1213ae5ed236e86cbce11dd8d25}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the size of the glview.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em w} & \\
\hline
\mbox{\tt out}  & {\em h} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_ga8020f7d27bc166a0ef3a4ef735c7e46e}{elm\-\_\-glview\-\_\-size\-\_\-get} 
\end{DoxySeeAlso}
\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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-obj\-\_\-glview\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-glview\-\_\-size\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-G\-L\-V\-I\-E\-W\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, h)}\label{group__GLView_ga010f310dc49e41138855e6b07d482177}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Sets the size of the glview


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w} & \\
\hline
\mbox{\tt in}  & {\em h} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__GLView_gad8b3b31cd649234c560e66906463e674}{elm\-\_\-glview\-\_\-size\-\_\-set} 
\end{DoxySeeAlso}


\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}!GLView@{G\-L\-View}}
\subsubsection[{\-\_\-\-Elm\-\_\-\-G\-L\-View\-\_\-\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf \-\_\-\-Elm\-\_\-\-G\-L\-View\-\_\-\-Mode}}\label{group__GLView_gaabffbc1312be12b222eb67916e9645d1}


Defines mode of G\-L\-View. 

\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_ggaabffbc1312be12b222eb67916e9645d1a00c61dd95cd14bfb20b575e85913990a}
}]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_ggaabffbc1312be12b222eb67916e9645d1ae9ce1787f812b721ab0403ebaad3e442}
}]Depth buffer enabled rendering mode. \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_ggaabffbc1312be12b222eb67916e9645d1aa211a5cc15ed45dd9e3fcbd82d53e9ba}
}]Stencil buffer enabled rendering mode. \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_ggaabffbc1312be12b222eb67916e9645d1a94421f49b912f6a4d479f5f453a165af}
}]Direct rendering optimization hint. \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}!GLView@{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}!GLView@{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}!GLView@{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\-\_\-changed\-\_\-set@{elm\-\_\-glview\-\_\-changed\-\_\-set}}
\index{elm\-\_\-glview\-\_\-changed\-\_\-set@{elm\-\_\-glview\-\_\-changed\-\_\-set}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-changed\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-glview\-\_\-changed\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__GLView_ga1e1544c2e0a7531f07e8cae105c38e3b}


Notifies that there has been changes in the G\-L\-View. 


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object. \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-glview\-\_\-changed\-\_\-set.

\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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-del\-\_\-func\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-glview\-\_\-del\-\_\-func\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_gae6bc093d6804c3131df752e80aca724c}


Set the render function that runs in the main loop. 


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object. \\
\hline
{\em func} & The delete function to be registered.\\
\hline
\end{DoxyParams}
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. 

References elm\-\_\-obj\-\_\-glview\-\_\-del\-\_\-func\-\_\-set.

\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}!GLView@{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 Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__GLView_ga1ecf2b85d4eac4a349de1f6c11cf1b03}


Get the gl api struct for gl rendering. 


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object \\
\hline
\end{DoxyParams}
\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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-init\-\_\-func\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-glview\-\_\-init\-\_\-func\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_ga85c8b387f2f8e19e563882f7ce25d736}


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


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object. \\
\hline
{\em func} & The init function to be registered.\\
\hline
\end{DoxyParams}
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. 

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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-mode\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-glview\-\_\-mode\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{{\bf Elm\-\_\-\-G\-L\-View\-\_\-\-Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__GLView_ga337a2af564ae6607a785c6712748146d}


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

Supports alpha, depth, stencil.


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object \\
\hline
{\em mode} & The mode Options O\-R'ed enabling Alpha, Depth, Stencil, Direct. \\
\hline
\end{DoxyParams}
\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. 

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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-render\-\_\-func\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-glview\-\_\-render\-\_\-func\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_ga0a2bcda5d7e37ed2dbfd43da47046f05}


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_ga1e1544c2e0a7531f07e8cae105c38e3b}{elm\-\_\-glview\-\_\-changed\-\_\-set()} gets called.


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object. \\
\hline
{\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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-render\-\_\-policy\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-glview\-\_\-render\-\_\-policy\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{{\bf Elm\-\_\-\-G\-L\-View\-\_\-\-Render\-\_\-\-Policy}}]{policy}
\end{DoxyParamCaption}
)}\label{group__GLView_gaaeee3d0d6347b90e9e688506ab03263f}


Set the render policy for the glview object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object. \\
\hline
{\em policy} & The render policy.\\
\hline
\end{DoxyParams}
By default, the render policy is set to 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. 

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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-resize\-\_\-func\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-glview\-\_\-resize\-\_\-func\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-G\-L\-View\-\_\-\-Func\-\_\-\-Cb}]{func}
\end{DoxyParamCaption}
)}\label{group__GLView_ga4f3cc094a7f467595c6c5d4ebb8a02cd}


Set the resize function that gets called when resize happens. 


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object. \\
\hline
{\em func} & The resize function to be registered.\\
\hline
\end{DoxyParams}
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. 

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}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-resize\-\_\-policy\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-glview\-\_\-resize\-\_\-policy\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{{\bf Elm\-\_\-\-G\-L\-View\-\_\-\-Resize\-\_\-\-Policy}}]{policy}
\end{DoxyParamCaption}
)}\label{group__GLView_ga7351849a8ad9380c3ba57663c5fe2ba9}


Set the resize policy for the glview object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object. \\
\hline
{\em policy} & The scaling policy.\\
\hline
\end{DoxyParams}
By default, the resize policy is set to 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 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. 

References elm\-\_\-obj\-\_\-glview\-\_\-resize\-\_\-policy\-\_\-set.

\index{G\-L\-View@{G\-L\-View}!elm\-\_\-glview\-\_\-size\-\_\-get@{elm\-\_\-glview\-\_\-size\-\_\-get}}
\index{elm\-\_\-glview\-\_\-size\-\_\-get@{elm\-\_\-glview\-\_\-size\-\_\-get}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-glview\-\_\-size\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord $\ast$}]{w, }
\item[{Evas\-\_\-\-Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}\label{group__GLView_ga8020f7d27bc166a0ef3a4ef735c7e46e}


Get the size of the glview. 


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object \\
\hline
{\em w} & width of the glview object \\
\hline
{\em h} & height of the glview object\\
\hline
\end{DoxyParams}
Note that this function returns the actual image size of the glview. This means that when the scale policy is set to 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'll return the non-\/scaled size. \index{G\-L\-View@{G\-L\-View}!elm\-\_\-glview\-\_\-size\-\_\-set@{elm\-\_\-glview\-\_\-size\-\_\-set}}
\index{elm\-\_\-glview\-\_\-size\-\_\-set@{elm\-\_\-glview\-\_\-size\-\_\-set}!GLView@{G\-L\-View}}
\subsubsection[{elm\-\_\-glview\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-glview\-\_\-size\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord}]{w, }
\item[{Evas\-\_\-\-Coord}]{h}
\end{DoxyParamCaption}
)}\label{group__GLView_gad8b3b31cd649234c560e66906463e674}


Sets the size of the glview. 


\begin{DoxyParams}{Parameters}
{\em obj} & The glview object \\
\hline
{\em w} & width of the glview object \\
\hline
{\em h} & height of the glview object \\
\hline
\end{DoxyParams}
