Searched refs:tBias (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/src/shaders/gradients/ |
D | SkSweepGradient.cpp | 32 static std::tuple<SkScalar, SkScalar> angles_from_t_coeff(SkScalar tBias, SkScalar tScale) { in angles_from_t_coeff() argument 33 return std::make_tuple(-tBias * 360, (sk_ieee_float_divide(1, tScale) - tBias) * 360); in angles_from_t_coeff() 46 const auto tBias = buffer.readScalar(), in CreateProc() local 48 std::tie(startAngle, endAngle) = angles_from_t_coeff(tBias, tScale); in CreateProc()
|
/third_party/skia/src/shaders/gradients/ |
D | SkSweepGradient.cpp | 32 static std::tuple<SkScalar, SkScalar> angles_from_t_coeff(SkScalar tBias, SkScalar tScale) { in angles_from_t_coeff() argument 33 return std::make_tuple(-tBias * 360, (sk_ieee_float_divide(1, tScale) - tBias) * 360); in angles_from_t_coeff() 43 const auto tBias = buffer.readScalar(), in CreateProc() local 45 auto [startAngle, endAngle] = angles_from_t_coeff(tBias, tScale); in CreateProc()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 708 const float tBias; in getBasicTexCoord3D() member 735 const float tBias = s_params[cellNdx%DE_LENGTH_OF_ARRAY(s_params)].tBias; in getBasicTexCoord3D() local 741 dst[0] = sBias; dst[ 1] = tBias; dst[ 2] = rBias; in getBasicTexCoord3D() 742 dst[3] = sBias; dst[ 4] = tBias+tScale; dst[ 5] = rBias+rScale*0.5f; in getBasicTexCoord3D() 743 dst[6] = sBias+sScale; dst[ 7] = tBias; dst[ 8] = rBias+rScale*0.5f; in getBasicTexCoord3D() 744 dst[9] = sBias+sScale; dst[10] = tBias+tScale; dst[11] = rBias+rScale; in getBasicTexCoord3D()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureMipmapTests.cpp | 1182 float tBias; in getBasicTexCoord3D() member 1209 float tBias = s_params[cellNdx%DE_LENGTH_OF_ARRAY(s_params)].tBias; in getBasicTexCoord3D() local 1215 dst[0] = sBias; dst[ 1] = tBias; dst[ 2] = rBias; in getBasicTexCoord3D() 1216 dst[3] = sBias; dst[ 4] = tBias+tScale; dst[ 5] = rBias+rScale*0.5f; in getBasicTexCoord3D() 1217 dst[6] = sBias+sScale; dst[ 7] = tBias; dst[ 8] = rBias+rScale*0.5f; in getBasicTexCoord3D() 1218 dst[9] = sBias+sScale; dst[10] = tBias+tScale; dst[11] = rBias+rScale; in getBasicTexCoord3D()
|