Searched refs:floatParams (Results 1 – 4 of 4) sorted by relevance
1583 GLfloat *floatParams = nullptr; in GetIntegeri_v() local1584 floatParams = new GLfloat[numParams]; in GetIntegeri_v()1586 context->getFloatv(target, floatParams); in GetIntegeri_v()1592 data[i] = convert_float_fixed(floatParams[i]); in GetIntegeri_v()1596 …data[i] = (GLint)(floatParams[i] > 0.0f ? floor(floatParams[i] + 0.5) : ceil(floatParams[i] - 0.5)… in GetIntegeri_v()1600 delete[] floatParams; in GetIntegeri_v()2943 GLfloat *floatParams = nullptr; in GetInteger64v() local2944 floatParams = new GLfloat[numParams]; in GetInteger64v()2946 context->getFloatv(pname, floatParams); in GetInteger64v()2952 data[i] = (GLint64)(convert_float_fixed(floatParams[i])); in GetInteger64v()[all …]
2412 GLfloat *floatParams = nullptr; in GetBooleanv() local2413 floatParams = new GLfloat[numParams]; in GetBooleanv()2415 context->getFloatv(pname, floatParams); in GetBooleanv()2419 if(floatParams[i] == 0.0f) in GetBooleanv()2425 delete [] floatParams; in GetBooleanv()2882 GLfloat *floatParams = nullptr; in GetIntegerv() local2883 floatParams = new GLfloat[numParams]; in GetIntegerv()2885 context->getFloatv(pname, floatParams); in GetIntegerv()2891 params[i] = convert_float_fixed(floatParams[i]); in GetIntegerv()2895 …params[i] = (GLint)(floatParams[i] > 0.0f ? floor(floatParams[i] + 0.5) : ceil(floatParams[i] - 0.… in GetIntegerv()[all …]
1011 GLfloat *floatParams = (GLfloat*)targetUniform->data + uniformIndex[location].element * count; in getUniformiv() local1015 params[i] = (GLint)floatParams[i]; in getUniformiv()1060 GLfloat *floatParams = (GLfloat*)targetUniform->data + uniformIndex[location].element * count; in getUniformuiv() local1064 params[i] = (GLuint)floatParams[i]; in getUniformuiv()
1891 GLfloat *floatParams = nullptr; in GetBooleanv() local1892 floatParams = new GLfloat[numParams]; in GetBooleanv()1894 context->getFloatv(pname, floatParams); in GetBooleanv()1898 if(floatParams[i] == 0.0f) in GetBooleanv()1904 delete [] floatParams; in GetBooleanv()2190 GLfloat *floatParams = nullptr; in GetIntegerv() local2191 floatParams = new GLfloat[numParams]; in GetIntegerv()2193 context->getFloatv(pname, floatParams); in GetIntegerv()2199 params[i] = (GLint)(((GLfloat)(0xFFFFFFFF) * floatParams[i] - 1.0f) / 2.0f); in GetIntegerv()2203 …params[i] = (GLint)(floatParams[i] > 0.0f ? floor(floatParams[i] + 0.5) : ceil(floatParams[i] - 0.… in GetIntegerv()[all …]