Home
last modified time | relevance | path

Searched refs:mEGLSurface (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DNdkInputSurface.java30 private long mEGLSurface; field in NdkInputSurface
64 mEGLSurface = createEGLSurface(mEGLDisplay, mEGLConfig, mNativeWindow); in NdkInputSurface()
65 if (mEGLSurface == 0) { in NdkInputSurface()
69 mWidth = eglGetWidth(mEGLDisplay, mEGLSurface); in NdkInputSurface()
70 mHeight = eglGetHeight(mEGLDisplay, mEGLSurface); in NdkInputSurface()
76 if (!eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLContext)) { in makeCurrent()
83 return eglSwapBuffers(mEGLDisplay, mEGLSurface); in swapBuffers()
88 eglPresentationTimeANDROID(mEGLDisplay, mEGLSurface, nsecs); in setPresentationTime()
106 mEGLSurface = createEGLSurface(mEGLDisplay, mEGLConfig, mNativeWindow); in updateSize()
107 mWidth = eglGetWidth(mEGLDisplay, mEGLSurface); in updateSize()
[all …]
DInputSurface.java43 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in InputSurface
127 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, in createEGLSurface()
130 if (mEGLSurface == null) { in createEGLSurface()
136 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in releaseEGLSurface()
137 mEGLSurface = EGL14.EGL_NO_SURFACE; in releaseEGLSurface()
147 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release()
157 mEGLSurface = EGL14.EGL_NO_SURFACE; in release()
167 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent()
184 return EGL14.eglSwapBuffers(mEGLDisplay, mEGLSurface); in swapBuffers()
199 EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_WIDTH, value, 0); in getWidth()
[all …]
DOutputSurface.java50 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in OutputSurface
169 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
171 if (mEGLSurface == null) { in eglSetup()
181 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release()
195 mEGLSurface = EGL14.EGL_NO_SURFACE; in release()
206 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaOutputSurface.java54 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in CtsMediaOutputSurface
173 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
175 if (mEGLSurface == null) { in eglSetup()
185 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release()
199 mEGLSurface = EGL14.EGL_NO_SURFACE; in release()
210 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent()
/cts/tests/tests/effect/src/android/effect/cts/
DGLEnv.java29 private EGLSurface mEGLSurface; field in GLEnv
66 mEGLSurface = egl.eglCreatePbufferSurface(mEGLDisplay, mEGLConfig, surfaceSize); in GLEnv()
72 egl.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext); in makeCurrent()
97 egl.eglDestroySurface(mEGLDisplay, mEGLSurface); in tearDown()
/cts/tests/tests/opengl/src/android/opengl/cts/
DFramebufferTest.java478 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in FramebufferTest.EglSurfaceBase
492 if (mEGLSurface != EGL14.EGL_NO_SURFACE) { in createWindowSurface()
495 mEGLSurface = mEglCore.createWindowSurface(surface); in createWindowSurface()
496 mWidth = mEglCore.querySurface(mEGLSurface, EGL14.EGL_WIDTH); in createWindowSurface()
497 mHeight = mEglCore.querySurface(mEGLSurface, EGL14.EGL_HEIGHT); in createWindowSurface()
504 if (mEGLSurface != EGL14.EGL_NO_SURFACE) { in createOffscreenSurface()
507 mEGLSurface = mEglCore.createOffscreenSurface(width, height); in createOffscreenSurface()
530 mEglCore.releaseSurface(mEGLSurface); in releaseEglSurface()
531 mEGLSurface = EGL14.EGL_NO_SURFACE; in releaseEglSurface()
539 mEglCore.makeCurrent(mEGLSurface); in makeCurrent()
[all …]
DWrapperTest.java40 private EGLSurface mEGLSurface; field in WrapperTest
174 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in testThreadCleanup()
288 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
290 if (mEGLSurface == null) { in eglSetup()
295 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in eglSetup()
315 mEGLSurface = null; in eglRelease()
/cts/tools/dex-tools/dex/
Dclasses.out.dex136458 int mEGLSurface