Home
last modified time | relevance | path

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

/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java42 private EGLDisplay mEglDisplay; field in SkottieRunner
162 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
163 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
169 if (!mEgl.eglInitialize(mEglDisplay, version)) {
179 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
187 mPBufferSurface = mEgl.eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs);
194 if (!mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, mEglContext)) {
212 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig()
237 if (mEglDisplay != null) { in doFinishGL()
239 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in doFinishGL()
[all …]
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java42 private EGLDisplay mEglDisplay; field in SkottieRunner
162 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
163 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
169 if (!mEgl.eglInitialize(mEglDisplay, version)) {
179 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
187 mPBufferSurface = mEgl.eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs);
194 if (!mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, mEglContext)) {
212 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig()
237 if (mEglDisplay != null) { in doFinishGL()
239 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in doFinishGL()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGLSurfaceView.java930 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in start()
932 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in start()
940 if(!mEgl.eglInitialize(mEglDisplay, version)) { in start()
943 mEglConfig = mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay); in start()
949 mEglContext = mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); in start()
972 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in createSurface()
974 mEGLWindowSurfaceFactory.destroySurface(mEgl, mEglDisplay, mEglSurface); in createSurface()
981 mEglDisplay, mEglConfig, holder); in createSurface()
991 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface()
1019 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in swap()
[all …]