Home
last modified time | relevance | path

Searched refs:mEglContext (Results 1 – 5 of 5) sorted by relevance

/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/
DSkottieRunner.java44 EGLContext mEglContext; field in SkottieRunner
199 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
214 if (!mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, mEglContext)) {
258 if (mEglContext != null) { in doFinishGL()
259 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in doFinishGL()
260 mEglContext = null; in doFinishGL()
DSkottieAnimation.java178 mRunner.mPBufferSurface, mRunner.mEglContext); in end()
315 mRunner.mEglContext)) { in drawFrame()
351 mRunner.mPBufferSurface, mRunner.mEglContext); in drawFrame()
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java44 private EGLContext mEglContext; field in SkottieRunner
179 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
194 if (!mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, mEglContext)) {
238 if (mEglContext != null) { in doFinishGL()
239 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in doFinishGL()
240 mEglContext = null; in doFinishGL()
345 mEglContext); in stop()
415 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in drawFrame()
448 mEglContext); in drawFrame()
/external/angle/src/tests/egl_tests/
DEGLDirectCompositionTest.cpp191 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, contextAttributes); in CreateSurface()
192 ASSERT_TRUE(mEglContext != EGL_NO_CONTEXT); in CreateSurface()
194 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, surface, surface, mEglContext) != EGL_FALSE); in CreateSurface()
216 EGLContext mEglContext; member in EGLDirectCompositionTest
251 ASSERT_EGL_TRUE(eglDestroyContext(mEglDisplay, mEglContext)); in TEST_P()
295 ASSERT_EGL_TRUE(eglDestroyContext(mEglDisplay, mEglContext)); in TEST_P()
/external/replicaisland/src/com/replica/replicaisland/
DGLSurfaceView.java949 mEglContext = mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); in start()
950 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in start()
991 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface()
995 GL gl = mEglContext.getGL(); in createSurface()
1041 if (mEglContext != null) { in finish()
1042 mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext); in finish()
1043 mEglContext = null; in finish()
1065 EGLContext mEglContext; field in GLSurfaceView.EglHelper