Lines Matching refs:surface
201 …eglu::UniqueSurface surface (egl, display, egl.createPbufferSurface(display, config, s_validGeneri… in init()
841 EGLSurface surface = EGL_NO_SURFACE; in init()
846 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib); in init()
862 if (surface != EGL_NO_SURFACE && context != EGL_NO_CONTEXT) in init()
869 expectFalse(eglMakeCurrent(display, surface, (EGLSurface)-1, context)); in init()
872 expectFalse(eglMakeCurrent(display, (EGLSurface)-1, surface, context)); in init()
878 if (surface) in init()
882 expectFalse(eglMakeCurrent(display, surface, surface, (EGLContext)-1)); in init()
888 if (surface != EGL_NO_SURFACE) in init()
892 expectFalse(eglMakeCurrent(display, surface, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in init()
895 expectFalse(eglMakeCurrent(display, EGL_NO_SURFACE, surface, EGL_NO_CONTEXT)); in init()
898 expectFalse(eglMakeCurrent(display, surface, surface, EGL_NO_CONTEXT)); in init()
910 if (surface) in init()
912 eglDestroySurface(display, surface); in init()
937 EGLSurface surface = EGL_NO_SURFACE; in init()
949 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib); in init()
952 expectTrue(eglMakeCurrent(display, surface, surface, context)); in init()
965 if (surface != EGL_NO_SURFACE) in init()
967 expectTrue(eglDestroySurface(display, surface)); in init()
1092 EGLSurface surface = EGL_NO_SURFACE; in init()
1097 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib); in init()
1106 if (surface) in init()
1108 expectFalse(eglQuerySurface(display, surface, 0, &value)); in init()
1111 expectFalse(eglQuerySurface(display, surface, -1, &value)); in init()
1117 if (surface) in init()
1119 eglDestroySurface(display, surface); in init()
1177 EGLSurface surface = EGL_NO_SURFACE; in init()
1182 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib); in init()
1191 if (surface) in init()
1193 expectFalse(eglSurfaceAttrib(display, surface, 0, 0)); in init()
1196 expectFalse(eglSurfaceAttrib(display, surface, -1, 0)); in init()
1202 if (surface) in init()
1204 eglDestroySurface(display, surface); in init()
1211 EGLSurface surface = EGL_NO_SURFACE; in init()
1216 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib); in init()
1225 if (surface) in init()
1227 …expectFalse(eglSurfaceAttrib(display, surface, EGL_MULTISAMPLE_RESOLVE, EGL_MULTISAMPLE_RESOLVE_BO… in init()
1233 if (surface) in init()
1235 eglDestroySurface(display, surface); in init()
1242 EGLSurface surface = EGL_NO_SURFACE; in init()
1247 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib); in init()
1256 if (surface) in init()
1258 expectFalse(eglSurfaceAttrib(display, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED)); in init()
1264 if (surface) in init()
1266 eglDestroySurface(display, surface); in init()
1348 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(m_eglTestCtx.getNativeD… in init()
1357 expectTrue(eglMakeCurrent(display, *surface, *surface, context)); in init()