Lines Matching refs:eglTestCtx

94 RetVal checkCallError (EglTestContext& eglTestCtx, const char* call, RetVal returnValue, EGLint expectError)
96 tcu::TestContext& testCtx = eglTestCtx.getTestContext();
102 error = eglTestCtx.getLibrary().getError();
117 void checkCallReturn (EglTestContext& eglTestCtx, const char* call, RetVal returnValue, RetVal expectReturnValue, EGLint expectError)
119 tcu::TestContext& testCtx = eglTestCtx.getTestContext();
125 error = eglTestCtx.getLibrary().getError();
151 ImageTestCase (EglTestContext& eglTestCtx, ApiType api, const string& name, const string& desc)
152 : TestCase (eglTestCtx, name.c_str(), desc.c_str())
191 InvalidCreateImage (EglTestContext& eglTestCtx)
192 : ImageTestCase(eglTestCtx, ApiType::es(2, 0), "invalid_create_image", "eglCreateImageKHR() with invalid arguments")
296 Context (EglTestContext& eglTestCtx, EGLDisplay display, ContextType ctxType, int width, int height)
297 : m_eglTestCtx (eglTestCtx)
299 , m_config (chooseConfig(eglTestCtx.getLibrary(), display, ctxType.getAPI()))
300 , m_context (m_eglTestCtx.getLibrary(), m_display, eglu::createGLContext(eglTestCtx.getLibrary(), m_display, m_config, ctxType))
301 , m_surface (createSurface(eglTestCtx, m_display, m_config, width, height))
302 , m_current (eglTestCtx.getLibrary(), m_display, m_surface->get(), m_surface->get(), *m_context)
402 CreateImageGLES2 (EglTestContext& eglTestCtx, EGLint target, GLenum internalFormat, GLenum format, GLenum type, bool useTexLevel0 = false)
403 : ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("create_image_gles2_") + getTargetName(target) + "_" + getStorageName(internalFormat) + (useTexLevel0 ? "_level0_only" : ""), "Create EGLImage from GLES2 object")
468 ImageTargetGLES2 (EglTestContext& eglTestCtx, GLenum target)
469 : ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("image_target_gles2_") + getTargetName(target), "Use EGLImage as GLES2 object")
558 ApiTests (EglTestContext& eglTestCtx, const string& name, const string& desc) : TestCaseGroup(eglTestCtx, name.c_str(), desc.c_str()) {}
622 ImageTests::ImageTests (EglTestContext& eglTestCtx)
623 : TestCaseGroup(eglTestCtx, "image", "EGLImage Tests")