/cts/tests/tests/media/common/src/android/media/cts/ |
D | NdkInputSurface.java | 30 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 …]
|
D | InputSurface.java | 45 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in InputSurface 152 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, in createEGLSurface() 155 if (mEGLSurface == null) { in createEGLSurface() 161 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in releaseEGLSurface() 162 mEGLSurface = EGL14.EGL_NO_SURFACE; in releaseEGLSurface() 172 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() 184 mEGLSurface = EGL14.EGL_NO_SURFACE; in release() 194 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent() 211 return EGL14.eglSwapBuffers(mEGLDisplay, mEGLSurface); in swapBuffers() 226 EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_WIDTH, value, 0); in getWidth() [all …]
|
D | OutputSurface.java | 59 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in OutputSurface 228 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup() 230 if (mEGLSurface == null) { in eglSetup() 240 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() 254 mEGLSurface = EGL14.EGL_NO_SURFACE; in release() 265 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | InputSurface.java | 32 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in InputSurface 102 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, in createEGLSurface() 105 if (mEGLSurface == null) { in createEGLSurface() 115 EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_WIDTH, value, 0); in getWidth() 124 EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_HEIGHT, value, 0); in getHeight() 144 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() 152 mEGLSurface = EGL14.EGL_NO_SURFACE; in release() 161 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent() 170 return EGL14.eglSwapBuffers(mEGLDisplay, mEGLSurface); in swapBuffers() 185 EGLExt.eglPresentationTimeANDROID(mEGLDisplay, mEGLSurface, nsecs); in setPresentationTime() [all …]
|
D | OutputSurface.java | 52 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in OutputSurface 175 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup() 177 if (mEGLSurface == null) { in eglSetup() 187 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() 199 mEGLSurface = EGL14.EGL_NO_SURFACE; in release() 210 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent()
|
D | ExtYuvTargetSupportTest.java | 55 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in ExtYuvTargetSupportTest 137 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup() 139 if (mEGLSurface == null) { in eglSetup() 148 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent() 178 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in testYuvTextureSampling()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | InputSurface.java | 43 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in InputSurface 126 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, in createEGLSurface() 129 if (mEGLSurface == null) { in createEGLSurface() 139 EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_WIDTH, value, 0); in getWidth() 148 EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_HEIGHT, value, 0); in getHeight() 188 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in releaseEGLSurface() 189 mEGLSurface = EGL14.EGL_NO_SURFACE; in releaseEGLSurface() 199 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() 211 mEGLSurface = EGL14.EGL_NO_SURFACE; in release() 220 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent() [all …]
|
D | OutputSurface.java | 54 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in OutputSurface 215 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup() 217 if (mEGLSurface == null) { in eglSetup() 227 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() 239 mEGLSurface = EGL14.EGL_NO_SURFACE; in release() 250 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent()
|
/cts/tests/tests/effect/src/android/effect/cts/ |
D | GLEnv.java | 29 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | CtsMediaOutputSurface.java | 54 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/opengl/src/android/opengl/cts/ |
D | FramebufferTest.java | 478 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 …]
|
D | WrapperTest.java | 40 private EGLSurface mEGLSurface; field in WrapperTest 174 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in testThreadCleanup() 291 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup() 293 if (mEGLSurface == null) { in eglSetup() 298 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in eglSetup() 318 mEGLSurface = null; in eglRelease()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraGPURecordingTest.java | 381 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; field in CameraGPURecordingTest.CodecInputSurface 431 mEGLSurface = in eglSetup() 448 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() 457 mEGLSurface = EGL14.EGL_NO_SURFACE; in release() 464 EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext); in makeCurrent() 470 EGL14.eglSwapBuffers(mEGLDisplay, mEGLSurface); in swapBuffers() 476 EGLExt.eglPresentationTimeANDROID(mEGLDisplay, mEGLSurface, nsecs); in setPresentationTime()
|