Lines Matching defs:error
608 glw::GLint error;
609 error = m_gl.getError();
611 return error;
655 // Reset GL_CONTEXT_LOST error before destroying resources
792 // Reset GL_CONTEXT_LOST error before destroying resources
1376 catch (const glu::Error& error)
1378 if (error.getError() == GL_CONTEXT_LOST)
1386 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got unknown error.");
1392 << "Warning: glGetError() returned wrong value [" << error.what() << ", expected " << glu::getErrorStr(GL_CONTEXT_LOST) << "]"
1491 const EGLenum error = egl.getError();
1492 if (error != EGL_BAD_MATCH)
1495 << "Test failed! eglCreateContext() returned with error [" << eglu::getErrorStr(error) << ", expected " << eglu::getErrorStr(EGL_BAD_MATCH) << "]"
1546 const EGLenum error = egl.getError();
1547 if (error != EGL_BAD_ATTRIBUTE)
1550 << "Test failed! eglCreateContext() returned with error [" << eglu::getErrorStr(error) << ", expected " << eglu::getErrorStr(EGL_BAD_ATTRIBUTE) << "]"
1601 const EGLenum error = egl.getError();
1602 if (error != EGL_BAD_ATTRIBUTE)
1605 << "Test failed! eglCreateContext() returned with error [" << eglu::getErrorStr(error) << ", expected " << eglu::getErrorStr(EGL_BAD_ATTRIBUTE) << "]"
1642 const string resetScenarioDescription = "query error states and reset notifications";
1835 RobustnessTestCase::Params( "index_buffer_out_of_bounds", "Provoke context reset and query error states and reset notifications", ROBUSTACCESS_TRUE, CONTEXTRESETTYPE_FIXED_FUNC_OOB, FIXEDFUNCTIONTYPE_INDICES),
1836 RobustnessTestCase::Params( "vertex_buffer_out_of_bounds", "Provoke context reset and query error states and reset notifications", ROBUSTACCESS_TRUE, CONTEXTRESETTYPE_FIXED_FUNC_OOB, FIXEDFUNCTIONTYPE_VERTICES),
1838 RobustnessTestCase::Params( "index_buffer_out_of_bounds", "Provoke context reset and query error states and reset notifications", ROBUSTACCESS_FALSE, CONTEXTRESETTYPE_FIXED_FUNC_OOB, FIXEDFUNCTIONTYPE_INDICES),
1839 RobustnessTestCase::Params( "vertex_buffer_out_of_bounds", "Provoke context reset and query error states and reset notifications", ROBUSTACCESS_FALSE, CONTEXTRESETTYPE_FIXED_FUNC_OOB, FIXEDFUNCTIONTYPE_VERTICES),