Home
last modified time | relevance | path

Searched refs:mEgl (Results 1 – 4 of 4) 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/skottielib/src/main/java/org/skia/skottie/
DSkottieRunner.java41 EGL10 mEgl; field in SkottieRunner
180 mEgl = (EGL10) EGLContext.getEGL();
182 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
185 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
189 if (!mEgl.eglInitialize(mEglDisplay, version)) {
191 GLUtils.getEGLErrorString(mEgl.eglGetError()));
199 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
207 mPBufferSurface = mEgl.eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs);
209 int error = mEgl.eglGetError();
214 if (!mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, mEglContext)) {
[all …]
DSkottieAnimation.java177 mRunner.mEgl.eglMakeCurrent(mRunner.mEglDisplay, mRunner.mPBufferSurface, in end()
179 mRunner.mEgl.eglDestroySurface(mRunner.mEglDisplay, mEglSurface); in end()
293 mRunner.mEgl.eglDestroySurface(mRunner.mEglDisplay, mEglSurface); in drawFrame()
302 mEglSurface = mRunner.mEgl.eglCreateWindowSurface(mRunner.mEglDisplay, in drawFrame()
307 mEglSurface = mRunner.mEgl.eglCreateWindowSurface(mRunner.mEglDisplay, in drawFrame()
314 if (!mRunner.mEgl.eglMakeCurrent(mRunner.mEglDisplay, mEglSurface, mEglSurface, in drawFrame()
318 + GLUtils.getEGLErrorString(mRunner.mEgl.eglGetError())); in drawFrame()
325 if (!mRunner.mEgl.eglSwapBuffers(mRunner.mEglDisplay, mEglSurface)) { in drawFrame()
326 int error = mRunner.mEgl.eglGetError(); in drawFrame()
350 mRunner.mEgl.eglMakeCurrent(mRunner.mEglDisplay, mRunner.mPBufferSurface, in drawFrame()
[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 …]