Home
last modified time | relevance | path

Searched refs:mEglSurface (Results 1 – 3 of 3) sorted by relevance

/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/
DSkottieAnimation.java37 private EGLSurface mEglSurface; field in SkottieAnimation
175 if (mEglSurface != null) { in end()
179 mRunner.mEgl.eglDestroySurface(mRunner.mEglDisplay, mEglSurface); in end()
180 mEglSurface = null; in end()
292 if (mEglSurface != null) { in drawFrame()
293 mRunner.mEgl.eglDestroySurface(mRunner.mEglDisplay, mEglSurface); in drawFrame()
294 mEglSurface = null; in drawFrame()
299 if (mEglSurface == null) { in drawFrame()
302 mEglSurface = mRunner.mEgl.eglCreateWindowSurface(mRunner.mEglDisplay, in drawFrame()
307 mEglSurface = mRunner.mEgl.eglCreateWindowSurface(mRunner.mEglDisplay, in drawFrame()
[all …]
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java259 EGLSurface mEglSurface; field in SkottieRunner.SkottieAnimationImpl
342 if (mEglSurface != null) { in stop()
346 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in stop()
347 mEglSurface = null; in stop()
394 if (mEglSurface != null) { in drawFrame()
395 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in drawFrame()
396 mEglSurface = null; in drawFrame()
401 if (mEglSurface == null) { in drawFrame()
403 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, in drawFrame()
405 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in drawFrame()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGLSurfaceView.java954 mEglSurface = null; in start()
966 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in createSurface()
974 mEGLWindowSurfaceFactory.destroySurface(mEgl, mEglDisplay, mEglSurface); in createSurface()
980 mEglSurface = mEGLWindowSurfaceFactory.createWindowSurface(mEgl, in createSurface()
983 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in createSurface()
991 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface()
1019 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in swap()
1031 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in destroySurface()
1035 mEGLWindowSurfaceFactory.destroySurface(mEgl, mEglDisplay, mEglSurface); in destroySurface()
1036 mEglSurface = null; in destroySurface()
[all …]