Searched refs:gl_context_ (Results 1 – 2 of 2) sorted by relevance
44 ndk_helper::GLContext* gl_context_; member in Engine105 gl_context_ = ndk_helper::GLContext::GetInstance(); in Engine()139 gl_context_->Init( app_->window ); in InitDisplay()146 if( EGL_SUCCESS != gl_context_->Resume( app_->window ) ) in InitDisplay()161 glViewport( 0, 0, gl_context_->GetScreenWidth(), gl_context_->GetScreenHeight() ); in InitDisplay()188 if( EGL_SUCCESS != gl_context_->Swap() ) in DrawFrame()200 gl_context_->Suspend(); in TermDisplay()207 gl_context_->Invalidate(); in TrimMemory()394 / ndk_helper::Vec2( gl_context_->GetScreenWidth(), gl_context_->GetScreenHeight() ) in TransformPosition()
54 ndk_helper::GLContext* gl_context_; member in Engine115 gl_context_ = ndk_helper::GLContext::GetInstance(); in Engine()149 gl_context_->Init( app_->window ); in InitDisplay()156 if( EGL_SUCCESS != gl_context_->Resume( app_->window ) ) in InitDisplay()171 glViewport( 0, 0, gl_context_->GetScreenWidth(), gl_context_->GetScreenHeight() ); in InitDisplay()199 if( EGL_SUCCESS != gl_context_->Swap() ) in DrawFrame()211 gl_context_->Suspend(); in TermDisplay()218 gl_context_->Invalidate(); in TrimMemory()405 / ndk_helper::Vec2( gl_context_->GetScreenWidth(), gl_context_->GetScreenHeight() ) in TransformPosition()