Home
last modified time | relevance | path

Searched refs:floatParams (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv3.cpp1583 GLfloat *floatParams = nullptr; in GetIntegeri_v() local
1584 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() local
2944 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 …]
DlibGLESv2.cpp2412 GLfloat *floatParams = nullptr; in GetBooleanv() local
2413 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() local
2883 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 …]
DProgram.cpp1011 GLfloat *floatParams = (GLfloat*)targetUniform->data + uniformIndex[location].element * count; in getUniformiv() local
1015 params[i] = (GLint)floatParams[i]; in getUniformiv()
1060 GLfloat *floatParams = (GLfloat*)targetUniform->data + uniformIndex[location].element * count; in getUniformuiv() local
1064 params[i] = (GLuint)floatParams[i]; in getUniformuiv()
/external/swiftshader/src/OpenGL/libGLES_CM/
DlibGLES_CM.cpp1891 GLfloat *floatParams = nullptr; in GetBooleanv() local
1892 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() local
2191 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 …]