Home
last modified time | relevance | path

Searched refs:skPaint (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/src/gpu/
H A DSkGr.cpp416 const SkPaint& skPaint, in skpaint_to_grpaint_impl()
422 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), dstColorInfo); in skpaint_to_grpaint_impl()
433 if (const SkShaderBase* shader = as_SB(skPaint.getShader())) { in skpaint_to_grpaint_impl()
462 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl()
470 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl()
507 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl()
521 SkColorFilter* colorFilter = skPaint.getColorFilter(); in skpaint_to_grpaint_impl()
536 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl()
545 if (SkPaintPriv::ShouldDither(skPaint, GrColorTypeToSkColorType(ct)) && paintFP != nullptr) { in skpaint_to_grpaint_impl()
552 if (auto bm = skPaint in skpaint_to_grpaint_impl()
414 skpaint_to_grpaint_impl(GrRecordingContext* context, const GrColorInfo& dstColorInfo, const SkPaint& skPaint, const SkMatrixProvider& matrixProvider, std::unique_ptr<GrFragmentProcessor>* shaderProcessor, SkBlendMode* primColorMode, GrPaint* grPaint) skpaint_to_grpaint_impl() argument
588 SkPaintToGrPaint(GrRecordingContext* context, const GrColorInfo& dstColorInfo, const SkPaint& skPaint, const SkMatrixProvider& matrixProvider, GrPaint* grPaint) SkPaintToGrPaint() argument
598 SkPaintToGrPaintReplaceShader(GrRecordingContext* context, const GrColorInfo& dstColorInfo, const SkPaint& skPaint, const SkMatrixProvider& matrixProvider, std::unique_ptr<GrFragmentProcessor> shaderFP, GrPaint* grPaint) SkPaintToGrPaintReplaceShader() argument
613 SkPaintToGrPaintWithBlend(GrRecordingContext* context, const GrColorInfo& dstColorInfo, const SkPaint& skPaint, const SkMatrixProvider& matrixProvider, SkBlendMode primColorMode, GrPaint* grPaint) SkPaintToGrPaintWithBlend() argument
[all...]
H A DSkGr.h88 const SkPaint& skPaint,
92 /** Replaces the SkShader (if any) on skPaint with the passed in GrFragmentProcessor. The processor
97 const SkPaint& skPaint,
106 const SkPaint& skPaint,
117 const SkPaint& skPaint, in SkPaintToGrPaintWithPrimitiveColor()
120 return SkPaintToGrPaintWithBlend(context, dstColorInfo, skPaint, matrixProvider, in SkPaintToGrPaintWithPrimitiveColor()
115 SkPaintToGrPaintWithPrimitiveColor(GrRecordingContext* context, const GrColorInfo& dstColorInfo, const SkPaint& skPaint, const SkMatrixProvider& matrixProvider, GrPaint* grPaint) SkPaintToGrPaintWithPrimitiveColor() argument
/third_party/skia/modules/skparagraph/src/
H A DParagraphPainterImpl.cpp74 SkPaint p(decorStyle.skPaint()); in drawFilledRect()
81 fCanvas->drawPath(path, decorStyle.skPaint()); in drawPath()
86 fCanvas->drawLine(x0, y0, x1, y1, decorStyle.skPaint()); in drawLine()
H A DDecorations.cpp16 SkASSERT(decorStyle.skPaint().getPathEffect() == nullptr); in draw_line_as_rect()
17 SkASSERT(decorStyle.skPaint().getStrokeCap() == SkPaint::kButt_Cap); in draw_line_as_rect()
18 SkASSERT(decorStyle.skPaint().getStrokeWidth() > 0); // this trick won't work for hairlines in draw_line_as_rect()
136 const SkPaint& decorPaint = decorStyle.skPaint(); in ConvertDecorStyle()
/third_party/skia/src/gpu/ops/
H A DAtlasTextOp.cpp488 const SkPaint& skPaint, in CreateOpTestingOnly()
500 auto glyphRunList = builder.textToGlyphRunList(font, skPaint, text, textLen, drawOrigin); in CreateOpTestingOnly()
510 sk_sp<GrTextBlob> blob = GrTextBlob::Make(glyphRunList, skPaint, drawMatrix, control, painter); in CreateOpTestingOnly()
520 nullptr, mtxProvider, glyphRunList.origin(), skPaint, sdc, nullptr); in CreateOpTestingOnly()
533 SkPaint skPaint; in GR_DRAW_OP_TEST_DEFINE() local
534 skPaint.setColor(random->nextU()); in GR_DRAW_OP_TEST_DEFINE()
553 return skgpu::v1::AtlasTextOp::CreateOpTestingOnly(sdc, skPaint, font, matrixProvider, in GR_DRAW_OP_TEST_DEFINE()
487 CreateOpTestingOnly(SurfaceDrawContext* sdc, const SkPaint& skPaint, const SkFont& font, const SkMatrixProvider& mtxProvider, const char* text, int x, int y) CreateOpTestingOnly() argument
/third_party/skia/gm/
H A Dmixedtextblobs.cpp28 static void draw_blob(SkCanvas* canvas, const SkTextBlob* blob, const SkPaint& skPaint, in draw_blob() argument
34 SkPaint paint(skPaint); in draw_blob()
/third_party/skia/src/xps/
H A DSkXPSDevice.cpp968 HRESULT SkXPSDevice::createXpsBrush(const SkPaint& skPaint, in createXpsBrush() argument
971 const SkShader *shader = skPaint.getShader(); in createXpsBrush()
973 HR(this->createXpsSolidColorBrush(skPaint.getColor(), 0xFF, brush)); in createXpsBrush()
992 SkAlpha alpha = skPaint.getAlpha(); in createXpsBrush()
998 const SkColor color = skPaint.getColor(); in createXpsBrush()
1011 SkAlpha alpha = skPaint.getAlpha(); in createXpsBrush()
1025 skPaint.getAlpha(), in createXpsBrush()
1034 skPaint.getAlpha(), in createXpsBrush()
1065 skPaint.getAlpha(), in createXpsBrush()
1070 HR(this->createXpsSolidColorBrush(skPaint in createXpsBrush()
[all...]
H A DSkXPSDevice.h159 const SkPaint& skPaint,
/third_party/skia/modules/skparagraph/include/
H A DParagraphPainter.h37 const SkPaint& skPaint() const { return fPaint; } in skPaint() function in skia::textlayout::ParagraphPainter::DecorationStyle
/third_party/skia/src/gpu/v1/
H A DDevice.cpp89 const SkPaint& skPaint, in init_vertices_paint()
99 skPaint, in init_vertices_paint()
101 skPaint.getShader() ? bmode : SkBlendMode::kDst, in init_vertices_paint()
104 return SkPaintToGrPaint(rContext, colorInfo, skPaint, matrixProvider, grPaint); in init_vertices_paint()
87 init_vertices_paint(GrRecordingContext* rContext, const GrColorInfo& colorInfo, const SkPaint& skPaint, const SkMatrixProvider& matrixProvider, SkBlendMode bmode, bool hasColors, GrPaint* grPaint) init_vertices_paint() argument

Completed in 9 milliseconds