/external/skqp/src/gpu/ |
D | SkGr.cpp | 374 const SkPaint& skPaint, in skpaint_to_grpaint_impl() argument 380 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), colorSpaceInfo, in skpaint_to_grpaint_impl() 383 const GrFPArgs fpArgs(context, &viewM, skPaint.getFilterQuality(), &colorSpaceInfo); in skpaint_to_grpaint_impl() 391 } else if (const auto* shader = as_SB(skPaint.getShader())) { in skpaint_to_grpaint_impl() 423 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() 453 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() 468 SkColorFilter* colorFilter = skPaint.getColorFilter(); in skpaint_to_grpaint_impl() 483 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl() 493 if (!skPaint.isSrcOver()) { in skpaint_to_grpaint_impl() 494 grPaint->setXPFactory(SkBlendMode_AsXPFactory(skPaint.getBlendMode())); in skpaint_to_grpaint_impl() [all …]
|
D | SkGr.h | 74 const SkPaint& skPaint, 81 const SkPaint& skPaint, 89 const SkPaint& skPaint, 97 const SkPaint& skPaint, 108 const SkPaint& skPaint, GrPaint* grPaint) { in SkPaintToGrPaintWithPrimitiveColor() argument 109 return SkPaintToGrPaintWithXfermode(context, dstColorSpaceInfo, skPaint, SkMatrix::I(), in SkPaintToGrPaintWithPrimitiveColor()
|
D | SkGpuDevice.cpp | 1582 const SkPaint& skPaint, const SkMatrix& matrix, SkBlendMode bmode, in init_vertices_paint() argument 1584 if (hasTexs && skPaint.getShader()) { in init_vertices_paint() 1587 return SkPaintToGrPaintWithXfermode(context, colorSpaceInfo, skPaint, matrix, bmode, in init_vertices_paint() 1591 return SkPaintToGrPaint(context, colorSpaceInfo, skPaint, matrix, grPaint); in init_vertices_paint() 1597 return SkPaintToGrPaintWithPrimitiveColor(context, colorSpaceInfo, skPaint, grPaint); in init_vertices_paint() 1600 return SkPaintToGrPaintNoShader(context, colorSpaceInfo, skPaint, grPaint); in init_vertices_paint()
|
D | GrRenderTargetContext.cpp | 79 void makeGrPaint(GrMaskFormat maskFormat, const SkPaint& skPaint, const SkMatrix& viewMatrix, in makeGrPaint() argument 84 SkPaintToGrPaintWithPrimitiveColor(context, colorSpaceInfo, skPaint, grPaint); in makeGrPaint() 86 SkPaintToGrPaint(context, colorSpaceInfo, skPaint, viewMatrix, grPaint); in makeGrPaint()
|
/external/skia/src/gpu/ |
D | SkGr.cpp | 329 const SkPaint& skPaint, in skpaint_to_grpaint_impl() argument 335 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), dstColorInfo); in skpaint_to_grpaint_impl() 347 if (const SkShaderBase* shader = as_SB(skPaint.getShader())) { in skpaint_to_grpaint_impl() 375 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() 396 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() 410 SkColorFilter* colorFilter = skPaint.getColorFilter(); in skpaint_to_grpaint_impl() 425 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl() 437 if (!skPaint.isSrcOver()) { in skpaint_to_grpaint_impl() 438 grPaint->setXPFactory(SkBlendMode_AsXPFactory(skPaint.getBlendMode())); in skpaint_to_grpaint_impl() 443 if (SkPaintPriv::ShouldDither(skPaint, GrColorTypeToSkColorType(ct)) && paintFP != nullptr) { in skpaint_to_grpaint_impl() [all …]
|
D | SkGr.h | 88 const SkPaint& skPaint, 95 const SkPaint& skPaint, 104 const SkPaint& skPaint, 113 const SkPaint& skPaint, 122 const SkPaint& skPaint, 134 const SkPaint& skPaint, in SkPaintToGrPaintWithPrimitiveColor() argument 137 return SkPaintToGrPaintWithBlend(context, dstColorInfo, skPaint, matrixProvider, in SkPaintToGrPaintWithPrimitiveColor() 145 const SkPaint& skPaint,
|
D | SkGpuDevice.cpp | 829 const SkPaint& skPaint, argument 834 if (skPaint.getShader()) { 837 return SkPaintToGrPaintWithBlend(context, colorInfo, skPaint, matrixProvider, bmode, 841 return SkPaintToGrPaint(context, colorInfo, skPaint, matrixProvider, grPaint); 846 return SkPaintToGrPaintWithPrimitiveColor(context, colorInfo, skPaint, matrixProvider, 850 return SkPaintToGrPaintNoShader(context, colorInfo, skPaint, matrixProvider, grPaint);
|
/external/skqp/src/gpu/text/ |
D | GrTextContext.cpp | 136 SkPaint* skPaint, in InitDistanceFieldPaint() argument 195 skPaint->setMaskFilter(GrSDFMaskFilter::Make()); in InitDistanceFieldPaint() 227 SkPaint skPaint; in GR_DRAW_OP_TEST_DEFINE() local 228 skPaint.setColor(random->nextU()); in GR_DRAW_OP_TEST_DEFINE() 248 skPaint, font, viewMatrix, text, xInt, yInt); in GR_DRAW_OP_TEST_DEFINE()
|
D | GrTextContext.h | 68 SkPaint* skPaint,
|
D | GrTextBlob.cpp | 59 void GrTextBlob::Run::setupFont(const SkPaint& skPaint, in setupFont() argument 63 SkScalerContextEffects effects{skPaint}; in setupFont()
|
D | GrTextBlob.h | 448 void setupFont(const SkPaint& skPaint,
|
/external/skqp/gm/ |
D | constcolorprocessor.cpp | 96 SkPaint skPaint; in onDraw() local 98 skPaint.setShader(fShader); in onDraw() 100 skPaint.setColor(kPaintColors[paintType]); in onDraw() 103 skPaint, viewMatrix, &grPaint)); in onDraw()
|
D | mixedtextblobs.cpp | 20 static void draw_blob(SkCanvas* canvas, const SkTextBlob* blob, const SkPaint& skPaint, in draw_blob() argument 26 SkPaint paint(skPaint); in draw_blob()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 780 SkPaint skPaint; in FlushPath() local 781 skPaint.setAntiAlias(true); in FlushPath() 783 skPaint.setBlendMode(SkBlendMode::kPlus); in FlushPath() 786 m_pDriver->PaintStroke(&skPaint, &m_drawState, skMatrix); in FlushPath() 796 skPaint.getFillPath(m_skPath, &strokePath); in FlushPath() 808 skPaint.setStyle(SkPaint::kFill_Style); in FlushPath() 809 skPaint.setColor(m_fillColor); in FlushPath() 813 DebugShowSkiaDrawPath(m_pDriver.Get(), skCanvas, skPaint, *fillPath); in FlushPath() 814 skCanvas->drawPath(*fillPath, skPaint); in FlushPath() 817 skPaint.setStyle(SkPaint::kStroke_Style); in FlushPath() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 490 const SkPaint& skPaint, in CreateOpTestingOnly() argument 502 auto glyphRunList = builder.textToGlyphRunList(font, skPaint, text, textLen, drawOrigin); in CreateOpTestingOnly() 512 sk_sp<GrTextBlob> blob = GrTextBlob::Make(glyphRunList, skPaint, drawMatrix, control, painter); in CreateOpTestingOnly() 522 nullptr, mtxProvider, glyphRunList, skPaint, rtc, nullptr); in CreateOpTestingOnly() 529 SkPaint skPaint; in GR_DRAW_OP_TEST_DEFINE() local 530 skPaint.setColor(random->nextU()); in GR_DRAW_OP_TEST_DEFINE() 549 return GrAtlasTextOp::CreateOpTestingOnly(sdc, skPaint, font, matrixProvider, text, xInt, yInt); in GR_DRAW_OP_TEST_DEFINE()
|
D | GrAtlasTextOp.h | 120 const SkPaint& skPaint,
|
/external/skia/gm/ |
D | mixedtextblobs.cpp | 28 static void draw_blob(SkCanvas* canvas, const SkTextBlob* blob, const SkPaint& skPaint, in draw_blob() argument 34 SkPaint paint(skPaint); in draw_blob()
|
/external/skqp/src/atlastext/ |
D | SkAtlasTextTarget.cpp | 106 void makeGrPaint(GrMaskFormat, const SkPaint& skPaint, const SkMatrix&, in makeGrPaint() argument 108 grPaint->setColor4f(skPaint.getColor4f().premul()); in makeGrPaint()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 965 HRESULT SkXPSDevice::createXpsBrush(const SkPaint& skPaint, in createXpsBrush() argument 968 const SkShader *shader = skPaint.getShader(); in createXpsBrush() 970 HR(this->createXpsSolidColorBrush(skPaint.getColor(), 0xFF, brush)); in createXpsBrush() 989 SkAlpha alpha = skPaint.getAlpha(); in createXpsBrush() 995 const SkColor color = skPaint.getColor(); in createXpsBrush() 1008 SkAlpha alpha = skPaint.getAlpha(); in createXpsBrush() 1022 skPaint.getAlpha(), in createXpsBrush() 1031 skPaint.getAlpha(), in createXpsBrush() 1062 skPaint.getAlpha(), in createXpsBrush() 1067 HR(this->createXpsSolidColorBrush(skPaint.getColor(), 0xFF, brush)); in createXpsBrush()
|
D | SkXPSDevice.h | 157 const SkPaint& skPaint,
|
/external/skqp/src/xps/ |
D | SkXPSDevice.cpp | 968 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.getColor(), 0xFF, brush)); in createXpsBrush()
|
D | SkXPSDevice.h | 165 const SkPaint& skPaint,
|
/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 879 const SkPaint& skPaint, in createOp_TestingOnly() argument 891 SkPMColor4f filteredColor = generate_filtered_color(skPaint, rtc->colorSpaceInfo()); in createOp_TestingOnly() 896 builder.drawTextUTF8(skPaint, font, text, textLen, origin); in createOp_TestingOnly() 907 skPaint, scalerContextFlags, viewMatrix, surfaceProps, in createOp_TestingOnly() 911 return blob->test_makeOp(textLen, 0, 0, viewMatrix, x, y, skPaint, filteredColor, surfaceProps, in createOp_TestingOnly()
|