Searched refs:eglSurface (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | FramebufferTest.java | 321 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/media/src/android/media/cts/ |
D | NdkInputSurface.java | 37 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
|
D | DecodeAccuracyTestBase.java | 1025 private EGLSurface eglSurface = null; field in GLSurfaceViewFactory.GLSurfaceViewThread 1113 eglSurface = egl10.eglCreatePbufferSurface(eglDisplay, configs[0], surfaceAttribs); in eglSetup() 1115 if (eglSurface == null) { in eglSetup() 1129 egl10.eglDestroySurface(eglDisplay, eglSurface); in release() 1137 eglSurface = EGL10.EGL_NO_SURFACE; in release() 1142 if (!egl10.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext)) { in makeCurrent()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 1373 EGLSurface eglSurface = eglCreateWindowSurface( in Java_android_media_cts_NdkInputSurface_createEGLSurface() local 1383 return reinterpret_cast<jlong>(eglSurface); in Java_android_media_cts_NdkInputSurface_createEGLSurface() 1388 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong eglContext) { in Java_android_media_cts_NdkInputSurface_eglMakeCurrent() argument 1392 reinterpret_cast<EGLSurface>(eglSurface), in Java_android_media_cts_NdkInputSurface_eglMakeCurrent() 1393 reinterpret_cast<EGLSurface>(eglSurface), in Java_android_media_cts_NdkInputSurface_eglMakeCurrent() 1399 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface) { in Java_android_media_cts_NdkInputSurface_eglSwapBuffers() argument 1403 reinterpret_cast<EGLSurface>(eglSurface)); in Java_android_media_cts_NdkInputSurface_eglSwapBuffers() 1408 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong nsecs) { in Java_android_media_cts_NdkInputSurface_eglPresentationTimeANDROID() argument 1412 reinterpret_cast<EGLSurface>(eglSurface), in Java_android_media_cts_NdkInputSurface_eglPresentationTimeANDROID() 1418 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface) { in Java_android_media_cts_NdkInputSurface_eglGetWidth() argument [all …]
|