Home
last modified time | relevance | path

Searched refs:approximateDeviceTextSize (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/text/gpu/
DSDFTControl.cpp53 bool SDFTControl::isDirect(SkScalar approximateDeviceTextSize, const SkPaint& paint, in isDirect() argument
56 const bool isSDFT = this->isSDFT(approximateDeviceTextSize, paint, matrix); in isDirect()
62 0 < approximateDeviceTextSize && in isDirect()
63 approximateDeviceTextSize < SkGlyphDigest::kSkSideTooBigForAtlas; in isDirect()
67 bool SDFTControl::isSDFT(SkScalar approximateDeviceTextSize, const SkPaint& paint, in isSDFT() argument
74 0 < approximateDeviceTextSize && in isSDFT()
76 (fMinDistanceFieldFontSize <= approximateDeviceTextSize || matrix.hasPerspective()) && in isSDFT()
77 approximateDeviceTextSize <= fMaxDistanceFieldFontSize; in isSDFT()
DSDFTControl.h49 bool isSDFT(SkScalar approximateDeviceTextSize, const SkPaint& paint,
55 bool isDirect(SkScalar approximateDeviceTextSize, const SkPaint& paint,
DTextBlob.cpp265 SkScalar approximateDeviceTextSize = in Make() local
269 strikeDevice.fSDFTControl->isDirect(approximateDeviceTextSize, paint, in Make()
DSubRunContainer.cpp2509 SkScalar approximateDeviceTextSize = in MakeInAlloc() local
2519 approximateDeviceTextSize < maxMaskSize) { in MakeInAlloc()
2523 if (SDFTControl.isSDFT(approximateDeviceTextSize, runPaint, positionMatrix)) { in MakeInAlloc()
2652 if (!rejected->source().empty() && !SkScalarNearlyZero(approximateDeviceTextSize)) { in MakeInAlloc()
/external/skia/tests/
DSkRemoteGlyphCacheTest.cpp929 SkScalar approximateDeviceTextSize = SkFontPriv::ApproximateTransformedTextSize(font, matrix, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
931 REPORTER_ASSERT(reporter, control.isSDFT(approximateDeviceTextSize, paint, matrix)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()