Lines Matching defs:pname
47 static int getInteger (const glw::Functions& gl, deUint32 pname)
50 gl.getIntegerv(pname, &value);
51 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());
61 static int getVectorsFromComps (const glw::Functions& gl, deUint32 pname)
64 gl.getIntegerv(pname, &value);
65 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());
66 TCU_CHECK_MSG(value%4 == 0, ("Expected " + glu::getGettableStateStr((int)pname).toString() + " to be divisible by 4").c_str());
76 static tcu::IVec3 getIVec3 (const glw::Functions& gl, deUint32 pname)
80 gl.getIntegeri_v(pname, (glw::GLuint)ndx, &value[ndx]);
81 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegeri_v(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());