Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/
DContext_gles_1_0.cpp28 floatData[i] = gl::ConvertFixedToFloat(m[i]); in FixedMatrixToMat4()
46 mState.gles1().setAlphaFunc(func, ConvertFixedToFloat(ref)); in alphaFuncx()
51 mState.setColorClearValue(ConvertFixedToFloat(red), ConvertFixedToFloat(green), in clearColorx()
52 ConvertFixedToFloat(blue), ConvertFixedToFloat(alpha)); in clearColorx()
57 mState.setDepthClearValue(clamp01(ConvertFixedToFloat(depth))); in clearDepthx()
74 ConvertFixedToFloat(equation[0]), in clipPlanex()
75 ConvertFixedToFloat(equation[1]), in clipPlanex()
76 ConvertFixedToFloat(equation[2]), in clipPlanex()
77 ConvertFixedToFloat(equation[3]), in clipPlanex()
97 mState.gles1().setCurrentColor({ConvertFixedToFloat(red), ConvertFixedToFloat(green), in color4x()
[all …]
DvalidationES1.cpp778 pname == GL_FOG_MODE ? static_cast<GLfloat>(param) : ConvertFixedToFloat(param); in ValidateFogx()
796 paramsf[i] = ConvertFixedToFloat(params[i]); in ValidateFogxv()
970 return ValidateLightSingleComponent(context, light, pname, ConvertFixedToFloat(param)); in ValidateLightx()
981 paramsf[i] = ConvertFixedToFloat(params[i]); in ValidateLightxv()
1060 return ValidateMaterialSingleComponent(context, face, pname, ConvertFixedToFloat(param)); in ValidateMaterialx()
1072 paramsf[i] = ConvertFixedToFloat(params[i]); in ValidateMaterialxv()
1209 GLfloat paramf = ConvertFixedToFloat(param); in ValidatePointParameterx()
1218 paramsf[i] = ConvertFixedToFloat(params[i]); in ValidatePointParameterxv()
1230 return ValidatePointSizeCommon(context, ConvertFixedToFloat(size)); in ValidatePointSizex()
1391 paramValue = ConvertFixedToFloat(static_cast<GLfixed>(params[0])); in ValidateTexParameterBaseForGLfixed()
[all …]
Dqueryutils.cpp386 ConvertFixedToFloat(static_cast<GLfixed>(param))); in ConvertTexParam()
2671 output[0] = ConvertFixedToFloat(input[0]); in ConvertTextureEnvFromFixed()
2676 output[i] = ConvertFixedToFloat(input[i]); in ConvertTextureEnvFromFixed()
/external/angle/src/common/
Dmathutil.h472 inline float ConvertFixedToFloat(uint32_t fixedInput) in ConvertFixedToFloat() function