Home
last modified time | relevance | path

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

12

/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 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()
/third_party/flutter/skia/src/core/
DSkPaintPriv.cpp19 bool SkPaintPriv::Overwrites(const SkPaint* paint, ShaderOverrideOpacity overrideOpacity) { in Overwrites()
46 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither()
80 SkColor SkPaintPriv::ComputeLuminanceColor(const SkPaint& paint) { in ComputeLuminanceColor()
DSkPaintPriv.h23 class SkPaintPriv {
DSkPaint.cpp312 void SkPaintPriv::Flatten(const SkPaint& paint, SkWriteBuffer& buffer) { in Flatten()
339 SkReadPaintResult SkPaintPriv::Unflatten_PreV68(SkPaint* paint, SkReadBuffer& buffer, SkFont* font)… in Unflatten_PreV68()
402 SkReadPaintResult SkPaintPriv::Unflatten(SkPaint* paint, SkReadBuffer& buffer, SkFont* font) { in Unflatten()
DSkWriteBuffer.cpp193 SkPaintPriv::Flatten(paint, *this); in writePaint()
DSkReadBuffer.h102 return SkPaintPriv::Unflatten(paint, *this, font); in readPaint()
DSkCanvas.cpp69 static_assert((int)SkPaintPriv::kNone_ShaderOverrideOpacity == in wouldOverwriteEntireSurface()
72 static_assert((int)SkPaintPriv::kOpaque_ShaderOverrideOpacity == in wouldOverwriteEntireSurface()
75 static_assert((int)SkPaintPriv::kNotOpaque_ShaderOverrideOpacity == in wouldOverwriteEntireSurface()
116 return SkPaintPriv::Overwrites(paint, (SkPaintPriv::ShaderOverrideOpacity)overrideOpacity); in wouldOverwriteEntireSurface()
/third_party/flutter/skia/tests/
DPaintTest.cpp144 SkPaintPriv::Flatten(paint, writer); in DEF_TEST()
151 SkPaintPriv::Unflatten(&paint2, reader, nullptr); in DEF_TEST()
181 SkPaintPriv::Flatten(paint, writer);
188 SkPaintPriv::Unflatten(&other, reader, nullptr);
/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/flutter/skia/src/gpu/text/
DGrTextBlob.cpp83 fLuminanceColor != SkPaintPriv::ComputeLuminanceColor(paint)) { in mustRegenerate()
179 SkPaintPriv::ComputeLuminanceColor(paint), in makeOp()
DGrTextContext.cpp53 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in ComputeCanonicalColor()
/third_party/skia/include/core/
DSkPaint.h717 friend class SkPaintPriv; variable
DSkTypeface.h442 friend class SkPaintPriv; // GetDefaultTypeface variable
/third_party/flutter/skia/include/core/
DSkTypeface.h437 friend class SkPaintPriv; // GetDefaultTypeface variable
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1295 SkPaintPriv::ComputeLuminanceColor(paint), in makeAtlasTextOp()
1367 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in compute_canonical_color()
1527 SkColor initialLuminance = SkPaintPriv::ComputeLuminanceColor(paint); in Make()
1563 fInitialLuminance != SkPaintPriv::ComputeLuminanceColor(paint)) { in canReuse()
2272 SkPaintPriv::ComputeLuminanceColor(paint), in makeAtlasTextOp()
/third_party/flutter/skia/src/gpu/
DSkGr.cpp451 if (SkPaintPriv::ShouldDither(skPaint, GrColorTypeToSkColorType(ct)) && in skpaint_to_grpaint_impl()
/third_party/flutter/skia/gn/
Dcore.gni276 "$_src/core/SkPaintPriv.cpp",
277 "$_src/core/SkPaintPriv.h",
/third_party/skia/gn/
Dcore.gni291 "$_src/core/SkPaintPriv.cpp",
292 "$_src/core/SkPaintPriv.h",

12