Home
last modified time | relevance | path

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

/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java41 private EGL10 mEgl; field in SkottieRunner
160 mEgl = (EGL10) EGLContext.getEGL();
162 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
165 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
169 if (!mEgl.eglInitialize(mEglDisplay, version)) {
171 GLUtils.getEGLErrorString(mEgl.eglGetError()));
179 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
187 mPBufferSurface = mEgl.eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs);
189 int error = mEgl.eglGetError();
194 if (!mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, mEglContext)) {
[all …]
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java41 private EGL10 mEgl; field in SkottieRunner
160 mEgl = (EGL10) EGLContext.getEGL();
162 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
165 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
169 if (!mEgl.eglInitialize(mEglDisplay, version)) {
171 GLUtils.getEGLErrorString(mEgl.eglGetError()));
179 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
187 mPBufferSurface = mEgl.eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs);
189 int error = mEgl.eglGetError();
194 if (!mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, mEglContext)) {
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGLSurfaceView.java925 mEgl = (EGL10) EGLContext.getEGL(); in start()
930 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_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()
980 mEglSurface = mEGLWindowSurfaceFactory.createWindowSurface(mEgl, in createSurface()
991 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface()
1019 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in swap()
[all …]