Home
last modified time | relevance | path

Searched refs:isSubpixel (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/src/core/
DSkGlyphRunPainter.cpp398 bool isSubpixel, SkAxisAlignment axisAlignment) { in HalfAxisSampleFreq() argument
399 if (!isSubpixel) { in HalfAxisSampleFreq()
417 bool isSubpixel, SkAxisAlignment axisAlignment) { in IgnorePositionMask() argument
418 return SkIPoint::Make((!isSubpixel || axisAlignment == kY_SkAxisAlignment) ? 0 : ~0, in IgnorePositionMask()
419 (!isSubpixel || axisAlignment == kX_SkAxisAlignment) ? 0 : ~0); in IgnorePositionMask()
422 SkIPoint SkGlyphPositionRoundingSpec::IgnorePositionFieldMask(bool isSubpixel, in IgnorePositionFieldMask() argument
424 SkIPoint ignoreMask = IgnorePositionMask(isSubpixel, axisAlignment); in IgnorePositionFieldMask()
431 bool isSubpixel,SkAxisAlignment axisAlignment) in SkGlyphPositionRoundingSpec() argument
432 : halfAxisSampleFreq{HalfAxisSampleFreq(isSubpixel, axisAlignment)} in SkGlyphPositionRoundingSpec()
433 , ignorePositionMask{IgnorePositionMask(isSubpixel, axisAlignment)}
[all …]
DSkGlyphRunPainter.h35 SkGlyphPositionRoundingSpec(bool isSubpixel, SkAxisAlignment axisAlignment);
41 static SkVector HalfAxisSampleFreq(bool isSubpixel, SkAxisAlignment axisAlignment);
42 static SkIPoint IgnorePositionMask(bool isSubpixel, SkAxisAlignment axisAlignment);
43 static SkIPoint IgnorePositionFieldMask(bool isSubpixel, SkAxisAlignment axisAlignment);
DSkScalerContext.h284 bool isSubpixel() const { in isSubpixel() function
DSkScalerCache.cpp32 , fRoundingSpec{fScalerContext->isSubpixel(),
/third_party/skia/src/gpu/geometry/
DGrQuadUtils.h98 bool isSubpixel();
131 bool isSubpixel(const skvx::Vec<4, float>& x2d, const skvx::Vec<4, float>& y2d) const;
DGrQuadUtils.cpp649 return helper.isSubpixel(); in WillUseHairline()
734 bool TessellationHelper::EdgeEquations::isSubpixel(const V4f& x2d, const V4f& y2d) const { in isSubpixel() function in GrQuadUtils::TessellationHelper::EdgeEquations
1199 bool TessellationHelper::isSubpixel() { in isSubpixel() function in GrQuadUtils::TessellationHelper
1207 return this->getEdgeEquations().isSubpixel(fEdgeVectors.fX2D, fEdgeVectors.fY2D); in isSubpixel()
/third_party/flutter/skia/src/core/
DSkGlyphRunPainter.h28 static SkVector PixelRounding(bool isSubpixel, SkAxisAlignment axisAlignment);
DSkStrike.h100 bool isSubpixel() const { in isSubpixel() function
DSkScalerContext.h261 bool isSubpixel() const { in isSubpixel() function
DSkStrike.cpp26 , fIsSubpixel{fScalerContext->isSubpixel()}
DSkGlyphRun.cpp80 if (r.font().isSubpixel()) { in anyRunsSubpixelPositioned()
DSkRemoteGlyphCache.cpp208 bool isSubpixel() const { return fIsSubpixel; } in isSubpixel() function in SkStrikeServer::SkGlyphCacheState
289 , fIsSubpixel{context->isSubpixel()}
DSkGlyphRunPainter.cpp41 SkVector SkStrikeCommon::PixelRounding(bool isSubpixel, SkAxisAlignment axisAlignment) { in PixelRounding() argument
42 if (!isSubpixel) { in PixelRounding()
/third_party/flutter/skia/include/core/
DSkFont.h101 bool isSubpixel() const { return SkToBool(fFlags & kSubpixel_PrivFlag); } in isSubpixel() function
/third_party/skia/include/core/
DSkFont.h103 bool isSubpixel() const { return SkToBool(fFlags & kSubpixel_PrivFlag); } in isSubpixel() function
/third_party/flutter/skia/src/ports/
DSkScalerContext_win_dw.cpp570 if (this->isSubpixel()) { in generateColorMetrics()
637 if (this->isSubpixel()) { in generatePngMetrics()
995 if (this->isSubpixel()) { in generateColorGlyphImage()
1083 if (this->isSubpixel()) { in generatePngGlyphImage()
DSkFontHost_FreeType_common.cpp385 if (this->isSubpixel()) { in generateGlyphImage()
413 if (this->isSubpixel()) { in generateGlyphImage()
/third_party/flutter/skia/tests/
DTextBlobTest.cpp199 REPORTER_ASSERT(reporter, defaultFont.isSubpixel() != font.isSubpixel()); in TestPaintProps()
/third_party/skia/src/ports/
DSkScalerContext_win_dw.cpp629 if (this->isSubpixel()) { in generateColorMetrics()
696 if (this->isSubpixel()) { in generatePngMetrics()
1065 if (this->isSubpixel()) { in generateColorGlyphImage()
1154 if (this->isSubpixel()) { in generatePngGlyphImage()
DSkFontHost_FreeType_common.cpp1237 if (this->isSubpixel()) { in generateGlyphImage()
1265 if (this->isSubpixel()) { in generateGlyphImage()
/third_party/skia/tests/
DTextBlobTest.cpp198 REPORTER_ASSERT(reporter, defaultFont.isSubpixel() != font.isSubpixel()); in TestPaintProps()
/third_party/flutter/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp151 if (!font.isSubpixel()) { in skhb_glyph_h_advance()
177 if (!font.isSubpixel()) { in skhb_glyph_h_advances()
210 if (!font.isSubpixel()) { in skhb_glyph_extents()
/third_party/flutter/skia/tools/viewer/
DViewer.cpp546 if (!fFont.isSubpixel()) { in __anon35b326b71802()
825 fontFlag(&SkFontFields::fSubpixel, &SkFont::isSubpixel, "Subpixel Text", "Pixel Text"); in updateTitle()
1189 font->writable()->setSubpixel(fFont->isSubpixel()); in filterFont()
1806 &SkFont::isSubpixel, &SkFont::setSubpixel); in drawImGui()
/third_party/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp132 if (!font.isSubpixel()) { in skhb_glyph_h_advance()
158 if (!font.isSubpixel()) { in skhb_glyph_h_advances()
189 if (!font.isSubpixel()) { in skhb_glyph_extents()
/third_party/skia/tools/viewer/
DViewer.cpp663 if (!fFont.isSubpixel()) { in __anon38bbe6a21b02()
997 fontFlag(&SkFontFields::fSubpixel, &SkFont::isSubpixel, "Subpixel Text", "Pixel Text"); in updateTitle()
1382 font->writable()->setSubpixel(fFont->isSubpixel()); in filterFont()
2277 &SkFont::isSubpixel, &SkFont::setSubpixel); in drawImGui()

12