Home
last modified time | relevance | path

Searched refs:mEglManager (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp48 : SkiaPipeline(thread), mEglManager(thread.eglManager()) { in SkiaOpenGLPipeline()
60 if (!mEglManager.makeCurrent(mEglSurface, &error)) { in makeCurrent()
69 return mEglManager.beginFrame(mEglSurface); in getFrame()
78 mEglManager.damageFrame(frame, dirty); in draw()
133 *requireSwap = drew || mEglManager.damageRequiresSwap(); in swapBuffers()
135 if (*requireSwap && (CC_UNLIKELY(!mEglManager.swapBuffers(frame, screenDirty)))) { in swapBuffers()
149 mEglManager.destroySurface(mEglSurface); in onContextDestroyed()
155 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
156 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop()
162 mEglManager.destroySurface(mEglSurface); in setSurface()
[all …]
DSkiaOpenGLPipeline.h59 renderthread::EglManager& mEglManager;
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp143 mEglManager.destroy(); in onDestroy()
146 mEglManager.destroy(); in onIdle()
150 if (!mEglManager.hasEglContext()) { in onBeginUpload()
152 this->mEglManager.initialize(); in onBeginUpload()
163 LOG_ALWAYS_FATAL_IF(!mEglManager.hasEglContext(), "Forgot to begin an upload?"); in getUploadEglDisplay()
164 return mEglManager.eglDisplay(); in getUploadEglDisplay()
226 renderthread::EglManager mEglManager; member in android::uirenderer::EGLUploader
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp133 , mEglManager(nullptr) in RenderThread()
167 mEglManager = new EglManager(); in initThreadLocals()
180 if (mEglManager->hasEglContext()) { in requireGlContext()
183 mEglManager->initialize(); in requireGlContext()
220 if (mEglManager->hasEglContext()) { in destroyRenderingContext()
222 mEglManager->destroy(); in destroyRenderingContext()
DRenderThread.h105 EglManager& eglManager() const { return *mEglManager; } in eglManager()
183 EglManager* mEglManager; variable
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.cpp298 : mSurfaceManager(new SurfaceManager), mEglManager(new EglManager), mProgram(new Program) { in BufferGenerator()
306 if (!mEglManager->initialize(mSurfaceManager->getSurface())) return; in BufferGenerator()
308 mEglManager->makeCurrent(); in BufferGenerator()
322 mEglManager->makeCurrent(); in ~BufferGenerator()
341 mEglManager->makeCurrent(); in get()
351 mEglManager->present(); in get()
DBufferGenerator.h45 std::unique_ptr<EglManager> mEglManager; variable