Home
last modified time | relevance | path

Searched refs:roundingSpec (Results 1 – 9 of 9) sorted by relevance

/external/skia/tests/
DSkGlyphBufferTest.cpp27 auto roundingSpec = SkGlyphPositionRoundingSpec(true, kX_SkAxisAlignment); in DEF_TEST() local
28 SkIPoint mask = roundingSpec.ignorePositionFieldMask; in DEF_TEST()
31 SkPoint roundedPos = SkPoint{fx, 0} + roundingSpec.halfAxisSampleFreq; in DEF_TEST()
43 auto roundingSpec = SkGlyphPositionRoundingSpec(false, kNone_SkAxisAlignment); in DEF_TEST() local
44 SkIPoint mask = roundingSpec.ignorePositionFieldMask; in DEF_TEST()
48 SkPoint roundedPos = SkPoint{fx, fy} + roundingSpec.halfAxisSampleFreq; in DEF_TEST()
60 auto roundingSpec = SkGlyphPositionRoundingSpec(true, kNone_SkAxisAlignment); in DEF_TEST() local
61 SkIPoint mask = roundingSpec.ignorePositionFieldMask; in DEF_TEST()
65 SkPoint roundedPos = SkPoint{fx, fy} + roundingSpec.halfAxisSampleFreq; in DEF_TEST()
82 auto roundingSpec = SkGlyphPositionRoundingSpec(true, kNone_SkAxisAlignment); in DEF_TEST() local
[all …]
DSkScalerCacheTest.cpp76 scalerCache.roundingSpec()); in DEF_TEST()
/external/skia/src/core/
DSkGlyphBuffer.cpp46 const SkGlyphPositionRoundingSpec& roundingSpec) { in startBitmapDevice() argument
54 SkPoint halfSampleFreq = roundingSpec.halfAxisSampleFreq; in startBitmapDevice()
59 SkIPoint mask = roundingSpec.ignorePositionFieldMask; in startBitmapDevice()
74 const SkGlyphPositionRoundingSpec& roundingSpec) { in startGPUDevice() argument
81 SkPoint halfSampleFreq = roundingSpec.halfAxisSampleFreq; in startGPUDevice()
93 packedGlyphID = SkPackedGlyphID{glyphID, pos, roundingSpec.ignorePositionFieldMask}; in startGPUDevice()
DSkGlyphBuffer.h154 const SkGlyphPositionRoundingSpec& roundingSpec);
173 const SkGlyphPositionRoundingSpec& roundingSpec);
DSkStrikeForGPU.h43 virtual const SkGlyphPositionRoundingSpec& roundingSpec() const = 0;
DSkStrikeCache.h103 const SkGlyphPositionRoundingSpec& roundingSpec() const override { in roundingSpec() function
104 return fScalerCache.roundingSpec(); in roundingSpec()
DSkGlyphRunPainter.cpp128 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
183 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
288 fDrawable.startGPUDevice(fRejects.source(), drawMatrix, strike->roundingSpec()); in processGlyphRun()
DSkScalerCache.h95 const SkGlyphPositionRoundingSpec& roundingSpec() const { in roundingSpec() function
DSkRemoteGlyphCache.cpp261 const SkGlyphPositionRoundingSpec& roundingSpec() const override { in roundingSpec() function in RemoteStrike