Searched refs:mEglManager (Results 1 – 8 of 8) sorted by relevance
50 : SkiaGpuPipeline(thread), mEglManager(thread.eglManager()) { in SkiaOpenGLPipeline()59 bool wasSurfaceless = mEglManager.isCurrent(EGL_NO_SURFACE); in makeCurrent()70 if (!mEglManager.makeCurrent(mEglSurface, &error)) { in makeCurrent()113 return mEglManager.beginFrame(mEglSurface); in getFrame()123 mEglManager.damageFrame(frame, dirty); in draw()207 *requireSwap = drawResult.success || mEglManager.damageRequiresSwap(); in swapBuffers()209 if (*requireSwap && (CC_UNLIKELY(!mEglManager.swapBuffers(frame, screenDirty)))) { in swapBuffers()223 mEglManager.destroySurface(mEglSurface); in onContextDestroyed()229 if (mEglManager.isCurrent(mEglSurface)) { in onStop()230 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop()[all …]
299 : mSurfaceManager(new SurfaceManager), mEglManager(new EglManager), mProgram(new Program) { in BufferGenerator()307 if (!mEglManager->initialize(mSurfaceManager->getSurface())) return; in BufferGenerator()309 mEglManager->makeCurrent(); in BufferGenerator()325 mEglManager->makeCurrent(); in ~BufferGenerator()344 mEglManager->makeCurrent(); in get()354 mEglManager->present(); in get()
46 std::unique_ptr<EglManager> mEglManager; variable
145 mEglManager.destroy(); in onDestroy()148 mEglManager.destroy(); in onIdle()152 if (!mEglManager.hasEglContext()) { in onBeginUpload()154 this->mEglManager.initialize(); in onBeginUpload()165 LOG_ALWAYS_FATAL_IF(!mEglManager.hasEglContext(), "Forgot to begin an upload?"); in getUploadEglDisplay()166 return mEglManager.eglDisplay(); in getUploadEglDisplay()228 renderthread::EglManager mEglManager; member in android::uirenderer::EGLUploader
233 , mEglManager(nullptr) in RenderThread()266 mEglManager = new EglManager(); in initThreadLocals()278 if (mEglManager->hasEglContext()) { in requireGlContext()281 mEglManager->initialize(); in requireGlContext()327 if (mEglManager->hasEglContext()) { in destroyRenderingContext()329 mEglManager->destroy(); in destroyRenderingContext()
147 EglManager& eglManager() const { return *mEglManager; } in eglManager()237 EglManager* mEglManager; variable
72 renderthread::EglManager& mEglManager;
61 , mEglManager(nullptr) in RenderThread()