Home
last modified time | relevance | path

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

/cts/tests/openglperf2/jni/graphics/
DRenderer.cpp92 mEglContext(EGL_NO_CONTEXT), mWindow(window) { in Renderer()
111 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, contextAttribs); in eglSetUp()
112 EGL_RESULT_CHECK(mEglContext != EGL_NO_CONTEXT); in eglSetUp()
114 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in eglSetUp()
125 if (mEglContext != EGL_NO_CONTEXT) { in eglTearDown()
126 eglDestroyContext(mEglDisplay, mEglContext); in eglTearDown()
127 mEglContext = EGL_NO_CONTEXT; in eglTearDown()
143 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in setUp()
229 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in draw()
DRenderer.h38 EGLContext mEglContext; variable
/cts/tests/tests/textureview/src/android/textureview/cts/
DGLProducerThread.java47 private EGLContext mEglContext = EGL10.EGL_NO_CONTEXT; field in GLProducerThread
114mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs); in initGL()
127 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL()
132 mGl = mEglContext.getGL(); in initGL()
137 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in destroyGL()
139 mEglContext = EGL10.EGL_NO_CONTEXT; in destroyGL()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java63 private EGLContext mEglContext; field in TextureViewCtsActivity
168 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in doFinishGL()
169 mEglContext = null; in doFinishGL()
226 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
237 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
/cts/tests/openglperf2/jni/primitive/contextswitch/
DContextSwitchRenderer.cpp109 mContexts[i] = eglCreateContext(mEglDisplay, mGlConfig, mEglContext, contextAttribs); in setUp()
155 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in tearDown()
230 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in drawWorkload()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java1032 mEglContext = null; in start()
1040 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); in start()
1042 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in start()
1043 mEglContext = null; in start()
1047 … Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); in start()
1105 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface()
1123 GL gl = mEglContext.getGL(); in createGL()
1180 if (mEglContext != null) { in finish()
1183 view.mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext); in finish()
1185 mEglContext = null; in finish()
[all …]
/cts/tools/dex-tools/dex/
Dclasses.out.dex88396 private javax.microedition.khronos.egl.EGLContext mEglContext