Searched refs:floatParams (Results 1 – 2 of 2) sorted by relevance
2470 GLfloat *floatParams = NULL; in glGetBooleanv() local2471 floatParams = new GLfloat[numParams]; in glGetBooleanv()2473 context->getFloatv(pname, floatParams); in glGetBooleanv()2477 if (floatParams[i] == 0.0f) in glGetBooleanv()2483 delete [] floatParams; in glGetBooleanv()2817 GLfloat *floatParams = NULL; in glGetIntegerv() local2818 floatParams = new GLfloat[numParams]; in glGetIntegerv()2820 context->getFloatv(pname, floatParams); in glGetIntegerv()2826 … params[i] = (GLint)(((GLfloat)(0xFFFFFFFF) * floatParams[i] - 1.0f) / 2.0f); in glGetIntegerv()2829 …params[i] = (GLint)(floatParams[i] > 0.0f ? floor(floatParams[i] + 0.5) : ceil(floatParams[i] - 0.… in glGetIntegerv()[all …]
880 … GLfloat *floatParams = (GLfloat*)targetUniform->data + mUniformIndex[location].element * count; in getUniformiv() local884 params[i] = (GLint)floatParams[i]; in getUniformiv()