Home
last modified time | relevance | path

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

/third_party/skia/tests/
H A 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 in DEF_TEST() local
[all...]
H A DSkScalerCacheTest.cpp73 scalerCache.roundingSpec()); in DEF_TEST()
/third_party/skia/src/core/
H A DSkGlyphBuffer.cpp46 const SkGlyphPositionRoundingSpec& roundingSpec) { in startBitmapDevice()
54 SkPoint halfSampleFreq = roundingSpec.halfAxisSampleFreq; in startBitmapDevice()
59 SkIPoint mask = roundingSpec.ignorePositionFieldMask; in startBitmapDevice()
74 const SkGlyphPositionRoundingSpec& roundingSpec) { in startGPUDevice()
81 SkPoint halfSampleFreq = roundingSpec.halfAxisSampleFreq; in startGPUDevice()
93 packedGlyphID = SkPackedGlyphID{glyphID, pos, roundingSpec.ignorePositionFieldMask}; in startGPUDevice()
43 startBitmapDevice( const SkZip<const SkGlyphID, const SkPoint>& source, SkPoint origin, const SkMatrix& viewMatrix, const SkGlyphPositionRoundingSpec& roundingSpec) startBitmapDevice() argument
71 startGPUDevice( const SkZip<const SkGlyphID, const SkPoint>& source, const SkMatrix& drawMatrix, const SkGlyphPositionRoundingSpec& roundingSpec) startGPUDevice() argument
H A DSkStrikeCache.h104 const SkGlyphPositionRoundingSpec& roundingSpec() const override {
105 return fScalerCache.roundingSpec();
H A DSkGlyphBuffer.h154 const SkGlyphPositionRoundingSpec& roundingSpec);
173 const SkGlyphPositionRoundingSpec& roundingSpec);
H A DSkStrikeForGPU.h45 virtual const SkGlyphPositionRoundingSpec& roundingSpec() const = 0;
H A DSkGlyphRunPainter.cpp127 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
182 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
290 fDrawable.startGPUDevice(fRejects.source(), drawMatrix, strike->roundingSpec()); in processGlyphRun()
H A DSkScalerCache.h94 const SkGlyphPositionRoundingSpec& roundingSpec() const { in roundingSpec() function in SkScalerCache
H A DSkRemoteGlyphCache.cpp253 const SkGlyphPositionRoundingSpec& roundingSpec() const override {

Completed in 7 milliseconds