/external/skqp/src/gpu/glsl/ |
D | GrGLSLUtil.cpp | 13 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLSLGetMatrix() 14 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]); in GrGLSLGetMatrix() 15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix() 18 dest[3] = SkScalarToFloat(src[SkMatrix::kMSkewX]); in GrGLSLGetMatrix() 19 dest[4] = SkScalarToFloat(src[SkMatrix::kMScaleY]); in GrGLSLGetMatrix() 20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix() 23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix() 24 dest[7] = SkScalarToFloat(src[SkMatrix::kMTransY]); in GrGLSLGetMatrix() 25 dest[8] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix() 30 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLSLGetMatrix() [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 152 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]); in setProgramPathFragmentInputTransform() 153 coefficients[1] = SkScalarToFloat(matrix[SkMatrix::kMSkewX]); in setProgramPathFragmentInputTransform() 154 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]); in setProgramPathFragmentInputTransform() 157 coefficients[3] = SkScalarToFloat(matrix[SkMatrix::kMSkewY]); in setProgramPathFragmentInputTransform() 158 coefficients[4] = SkScalarToFloat(matrix[SkMatrix::kMScaleY]); in setProgramPathFragmentInputTransform() 159 coefficients[5] = SkScalarToFloat(matrix[SkMatrix::kMTransY]); in setProgramPathFragmentInputTransform() 163 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]); in setProgramPathFragmentInputTransform() 164 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); in setProgramPathFragmentInputTransform() 165 coefficients[8] = SkScalarToFloat(matrix[SkMatrix::kMPersp2]); in setProgramPathFragmentInputTransform()
|
D | GrGLPath.cpp | 93 coords[i * 2] = SkScalarToFloat(points[first_point + i].fX); in points_to_coords() 94 coords[i * 2 + 1] = SkScalarToFloat(points[first_point + i].fY); in points_to_coords() 143 coords[4] = SkScalarToFloat(iter.conicWeight()); in init_path_object_for_general_path() 258 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth()))); in InitPathObjectStroke() 260 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter()))); in InitPathObjectStroke()
|
/external/skia/bench/ |
D | BlurRectBench.cpp | 83 name.printf("blurrect_direct_%.2f", SkScalarToFloat(rad)); in BlurRectDirectBench() 135 name.printf("blurrect_boxfilter_%.2f", SkScalarToFloat(rad)); in BlurRectBoxFilterBench() 163 name.printf("blurrect_gaussian_%.2f", SkScalarToFloat(rad)); in BlurRectGaussianBench()
|
D | BlurImageFilterBench.cpp | 75 SkScalarToFloat(sigmaX), SkScalarToFloat(sigmaY)); in BlurImageFilterBench()
|
D | MorphologyBench.cpp | 42 fName.printf("morph_%.2f_%s", SkScalarToFloat(rad), name); in MorphologyBench()
|
D | BlurBench.cpp | 43 fName.printf("blur_%.2f_%s_%s", SkScalarToFloat(rad), name, quality); in BlurBench()
|
/external/skqp/bench/ |
D | BlurRectBench.cpp | 83 name.printf("blurrect_direct_%.2f", SkScalarToFloat(rad)); in BlurRectDirectBench() 135 name.printf("blurrect_boxfilter_%.2f", SkScalarToFloat(rad)); in BlurRectBoxFilterBench() 163 name.printf("blurrect_gaussian_%.2f", SkScalarToFloat(rad)); in BlurRectGaussianBench()
|
D | BlurImageFilterBench.cpp | 76 SkScalarToFloat(sigmaX), SkScalarToFloat(sigmaY)); in BlurImageFilterBench()
|
D | MorphologyBench.cpp | 42 fName.printf("morph_%.2f_%s", SkScalarToFloat(rad), name); in MorphologyBench()
|
D | BlurBench.cpp | 43 fName.printf("blur_%.2f_%s_%s", SkScalarToFloat(rad), name, quality); in BlurBench()
|
/external/skqp/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 163 , fGain(SkScalarToFloat(gain)) in GrMatrixConvolutionEffect() 164 , fBias(SkScalarToFloat(bias) / 255.0f) in GrMatrixConvolutionEffect() 169 fKernel[i] = SkScalarToFloat(kernel[i]); in GrMatrixConvolutionEffect() 240 const float twoSigmaSqrdX = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaX)); in fill_in_2D_gaussian_kernel() 241 const float twoSigmaSqrdY = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaY)); in fill_in_2D_gaussian_kernel()
|
D | GrTextureDomain.cpp | 216 SkScalarToFloat(textureDomain.domain().fLeft * wInv), in setData() 217 SkScalarToFloat(textureDomain.domain().fTop * hInv), in setData() 218 SkScalarToFloat(textureDomain.domain().fRight * wInv), in setData() 219 SkScalarToFloat(textureDomain.domain().fBottom * hInv) in setData()
|
/external/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 60 result.fArray[i] = SkScalarToFloat(values[i]); in Make() 84 SkScalarNearlyZero(computedGain) ? 1.0f : SkScalarToFloat(computedGain); in Make() 86 scalableSampler.fBias = SkScalarToFloat(min) / scalableSampler.fGain; in Make() 294 , fGain(SkScalarToFloat(gain)) in GrMatrixConvolutionEffect() 295 , fBias(SkScalarToFloat(bias) / 255.0f) in GrMatrixConvolutionEffect()
|
/external/skqp/src/ports/ |
D | SkScalerContext_win_dw.cpp | 241 fXform.m11 = SkScalarToFloat(fSkXform.getScaleX()); in SkScalerContext_DW() 242 fXform.m12 = SkScalarToFloat(fSkXform.getSkewY()); in SkScalerContext_DW() 243 fXform.m21 = SkScalarToFloat(fSkXform.getSkewX()); in SkScalerContext_DW() 244 fXform.m22 = SkScalarToFloat(fSkXform.getScaleY()); in SkScalerContext_DW() 428 glyph->fAdvanceX = SkScalarToFloat(advance.fX); in generateAdvance() 429 glyph->fAdvanceY = SkScalarToFloat(advance.fY); in generateAdvance() 454 run.fontEmSize = SkScalarToFloat(fTextSizeRender); in getBoundingBox() 554 run.fontEmSize = SkScalarToFloat(fTextSizeRender); in getColorGlyphRun() 927 run.fontEmSize = SkScalarToFloat(fTextSizeRender); in drawDWMask() 1174 SkScalarToFloat(fTextSizeRender), in generatePath()
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 248 fXform.m11 = SkScalarToFloat(fSkXform.getScaleX()); in SkScalerContext_DW() 249 fXform.m12 = SkScalarToFloat(fSkXform.getSkewY()); in SkScalerContext_DW() 250 fXform.m21 = SkScalarToFloat(fSkXform.getSkewX()); in SkScalerContext_DW() 251 fXform.m22 = SkScalarToFloat(fSkXform.getScaleY()); in SkScalerContext_DW() 437 glyph->fAdvanceX = SkScalarToFloat(advance.fX); in generateAdvance() 438 glyph->fAdvanceY = SkScalarToFloat(advance.fY); in generateAdvance() 463 run.fontEmSize = SkScalarToFloat(fTextSizeRender); in getBoundingBox() 539 run.fontEmSize = SkScalarToFloat(fTextSizeRender); in getColorGlyphRun() 952 run.fontEmSize = SkScalarToFloat(fTextSizeRender); in drawDWMask() 1205 SkScalarToFloat(fTextSizeRender), in generatePath()
|
/external/skqp/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 116 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) }; in AddBeziers()
|
/external/skia/src/utils/mac/ |
D | SkCGBase.h | 25 return CGFLOAT_IS_DOUBLE ? SkScalarToDouble(scalar) : SkScalarToFloat(scalar); in SkScalarToCGFloat()
|
/external/skia/tools/fonts/ |
D | TestTypeface.cpp | 168 glyph->fAdvanceX = SkScalarToFloat(advance.fX); in generateAdvance() 169 glyph->fAdvanceY = SkScalarToFloat(advance.fY); in generateAdvance()
|
/external/skia/samplecode/ |
D | SampleAnimBlur.cpp | 19 t *= SkScalarToFloat(2 * SK_ScalarPI) / periodInSec; in get_anim_sin()
|
D | SampleDegenerateTwoPtRadials.cpp | 64 txt.appendf("gap at \"tangent\" pt = %f", SkScalarToFloat(delta)); in onDrawContent()
|
/external/skqp/tools/fonts/ |
D | SkTestTypeface.cpp | 205 glyph->fAdvanceX = SkScalarToFloat(advance.fX); in generateAdvance() 206 glyph->fAdvanceY = SkScalarToFloat(advance.fY); in generateAdvance()
|
/external/skqp/samplecode/ |
D | SampleAnimBlur.cpp | 20 t *= SkScalarToFloat(2 * SK_ScalarPI) / periodInSec; in get_anim_sin()
|
D | SampleDegenerateTwoPtRadials.cpp | 71 txt.appendf("gap at \"tangent\" pt = %f", SkScalarToFloat(delta)); in onDrawContent()
|
/external/skqp/src/core/ |
D | SkMaskGamma.cpp | 89 const float adjustedContrast = SkScalarToFloat(contrast) * linDst; in SkTMaskGamma_build_correcting_lut()
|