Home
last modified time | relevance | path

Searched refs:eglSurface (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DNdkInputSurface.java37 static private native boolean eglMakeCurrent(long eglDisplay, long eglSurface, long eglContext); in eglMakeCurrent() argument
38 static private native boolean eglSwapBuffers(long eglDisplay, long eglSurface); in eglSwapBuffers() argument
39 …static private native boolean eglPresentationTimeANDROID(long eglDisplay, long eglSurface, long ns… in eglPresentationTimeANDROID() argument
40 static private native int eglGetWidth(long eglDisplay, long eglSurface); in eglGetWidth() argument
41 static private native int eglGetHeight(long eglDisplay, long eglSurface); in eglGetHeight() argument
42 static private native boolean eglDestroySurface(long eglDisplay, long eglSurface); in eglDestroySurface() argument
43 …static private native void nativeRelease(long eglDisplay, long eglSurface, long eglContext, long n… in nativeRelease() argument
DDecodeAccuracyTestBase.java1013 private EGLSurface eglSurface = null; field in GLSurfaceViewFactory.GLSurfaceViewThread
1101 eglSurface = egl10.eglCreatePbufferSurface(eglDisplay, configs[0], surfaceAttribs); in eglSetup()
1103 if (eglSurface == null) { in eglSetup()
1113 egl10.eglDestroySurface(eglDisplay, eglSurface); in release()
1119 eglSurface = EGL10.EGL_NO_SURFACE; in release()
1128 if (!egl10.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext)) { in makeCurrent()
/cts/tests/tests/opengl/src/android/opengl/cts/
DFramebufferTest.java321 public void releaseSurface(EGLSurface eglSurface) { in releaseSurface() argument
322 EGL14.eglDestroySurface(mEGLDisplay, eglSurface); in releaseSurface()
339 EGLSurface eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mEGLConfig, surface, in createWindowSurface() local
342 if (eglSurface == null) { in createWindowSurface()
345 return eglSurface; in createWindowSurface()
357 EGLSurface eglSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, mEGLConfig, in createOffscreenSurface() local
360 if (eglSurface == null) { in createOffscreenSurface()
363 return eglSurface; in createOffscreenSurface()
369 public void makeCurrent(EGLSurface eglSurface) { in makeCurrent() argument
374 if (!EGL14.eglMakeCurrent(mEGLDisplay, eglSurface, eglSurface, mEGLContext)) { in makeCurrent()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java60 EGLSurface eglSurface = null; in hasFloatBuffers() local
66 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, new int[] { in hasFloatBuffers()
71 EGL14.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in hasFloatBuffers()
78 EGL14.eglDestroySurface(eglDisplay, eglSurface); in hasFloatBuffers()
85 eglSurface = null; in hasFloatBuffers()
91 if (eglSurface != null) { in hasFloatBuffers()
92 EGL14.eglDestroySurface(eglDisplay, eglSurface); in hasFloatBuffers()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp1027 EGLSurface eglSurface = eglCreateWindowSurface( in Java_android_media_cts_NdkInputSurface_createEGLSurface() local
1037 return reinterpret_cast<jlong>(eglSurface); in Java_android_media_cts_NdkInputSurface_createEGLSurface()
1042 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong eglContext) { in Java_android_media_cts_NdkInputSurface_eglMakeCurrent() argument
1046 reinterpret_cast<EGLSurface>(eglSurface), in Java_android_media_cts_NdkInputSurface_eglMakeCurrent()
1047 reinterpret_cast<EGLSurface>(eglSurface), in Java_android_media_cts_NdkInputSurface_eglMakeCurrent()
1053 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface) { in Java_android_media_cts_NdkInputSurface_eglSwapBuffers() argument
1057 reinterpret_cast<EGLSurface>(eglSurface)); in Java_android_media_cts_NdkInputSurface_eglSwapBuffers()
1062 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong nsecs) { in Java_android_media_cts_NdkInputSurface_eglPresentationTimeANDROID() argument
1066 reinterpret_cast<EGLSurface>(eglSurface), in Java_android_media_cts_NdkInputSurface_eglPresentationTimeANDROID()
1072 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface) { in Java_android_media_cts_NdkInputSurface_eglGetWidth() argument
[all …]