Home
last modified time | relevance | path

Searched refs:SkPaintPriv (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/src/core/
DSkPaintPriv.cpp21 bool SkPaintPriv::Overwrites(const SkPaint* paint, ShaderOverrideOpacity overrideOpacity) { in Overwrites()
52 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither()
86 SkColor SkPaintPriv::ComputeLuminanceColor(const SkPaint& paint) { in ComputeLuminanceColor()
94 void SkPaintPriv::RemoveColorFilter(SkPaint* p, SkColorSpace* dstCS) { in RemoveColorFilter()
110 SkScalar SkPaintPriv::ComputeResScaleForStroking(const SkMatrix& matrix) { in ComputeResScaleForStroking()
DSkPaintPriv.h16 class SK_API SkPaintPriv {
DSkPaint.cpp294 void SkPaintPriv::Flatten(const SkPaint& paint, SkWriteBuffer& buffer) { in Flatten()
322 SkPaint SkPaintPriv::Unflatten(SkReadBuffer& buffer) { in Unflatten()
380 const SkScalar resScale = SkPaintPriv::ComputeResScaleForStroking(ctm); in getFillPath()
DBUILD.bazel225 "SkPaintPriv.cpp",
226 "SkPaintPriv.h",
DSkReadBuffer.h112 return SkPaintPriv::Unflatten(*this); in readPaint()
DSkWriteBuffer.cpp203 SkPaintPriv::Flatten(paint, *this); in writePaint()
DSkCanvas.cpp83 static_assert((int)SkPaintPriv::kNone_ShaderOverrideOpacity == in wouldOverwriteEntireSurface()
86 static_assert((int)SkPaintPriv::kOpaque_ShaderOverrideOpacity == in wouldOverwriteEntireSurface()
89 static_assert((int)SkPaintPriv::kNotOpaque_ShaderOverrideOpacity == in wouldOverwriteEntireSurface()
130 return SkPaintPriv::Overwrites(paint, (SkPaintPriv::ShaderOverrideOpacity)overrideOpacity); in wouldOverwriteEntireSurface()
DSkBlitter.cpp734 SkPaintPriv::RemoveColorFilter(paint.writable(), device.colorSpace()); in Choose()
747 if (paint->isDither() && !SkPaintPriv::ShouldDither(*paint, device.colorType())) { in Choose()
DSkVMBlitter.cpp232 SkPaintPriv::RemoveColorFilter(&paint, device.colorSpace()); in EffectiveParams()
DSkScalerContext.cpp1124 rec->setLuminanceColor(SkPaintPriv::ComputeLuminanceColor(paint)); in MakeRecAndEffects()
/third_party/skia/tests/
DPaintTest.cpp113 SkPaintPriv::Flatten(paint, writer); in DEF_TEST()
149 SkPaintPriv::Flatten(paint, writer);
236 bool shouldDither = SkPaintPriv::ShouldDither(p, kBGRA_8888_SkColorType);
/third_party/skia/include/core/
DSkPaint.h717 friend class SkPaintPriv; variable
DSkTypeface.h453 friend class SkPaintPriv; // GetDefaultTypeface variable
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1301 SkPaintPriv::ComputeLuminanceColor(paint), in makeAtlasTextOp()
1373 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in compute_canonical_color()
1533 SkColor initialLuminance = SkPaintPriv::ComputeLuminanceColor(paint); in Make()
1569 fInitialLuminance != SkPaintPriv::ComputeLuminanceColor(paint)) { in canReuse()
2278 SkPaintPriv::ComputeLuminanceColor(paint), in makeAtlasTextOp()
/third_party/skia/gn/
Dcore.gni293 "$_src/core/SkPaintPriv.cpp",
294 "$_src/core/SkPaintPriv.h",
/third_party/skia/src/gpu/
DSkGr.cpp545 if (SkPaintPriv::ShouldDither(skPaint, GrColorTypeToSkColorType(ct)) && paintFP != nullptr) { in skpaint_to_grpaint_impl()
/third_party/skia/bench/
DPathBench.cpp997 paint.getFillPath(path, &dst, nullptr, SkPaintPriv::ComputeResScaleForStroking(mtx)); in onDraw()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp190 SkPaintPriv::RemoveColorFilter(paint.writable(), sk_srgb_singleton()); in clean_paint()
/third_party/skia/
DBUILD.gn2050 "src/core/SkPaintPriv.cpp",