/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 | 381 const SkPaint& skPaint, in skpaint_to_grpaint_impl() argument 387 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), colorSpaceInfo, in skpaint_to_grpaint_impl() 390 GrFPArgs fpArgs(context, &viewM, skPaint.getFilterQuality(), &colorSpaceInfo); in skpaint_to_grpaint_impl() 399 } else if (const auto* shader = as_SB(skPaint.getShader())) { in skpaint_to_grpaint_impl() 431 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() 461 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() 476 SkColorFilter* colorFilter = skPaint.getColorFilter(); in skpaint_to_grpaint_impl() 491 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl() 503 if (!skPaint.isSrcOver()) { in skpaint_to_grpaint_impl() 504 grPaint->setXPFactory(SkBlendMode_AsXPFactory(skPaint.getBlendMode())); in skpaint_to_grpaint_impl() [all …]
|
D | SkGr.h | 75 const SkPaint& skPaint, 82 const SkPaint& skPaint, 90 const SkPaint& skPaint, 98 const SkPaint& skPaint, 109 const SkPaint& skPaint, in SkPaintToGrPaintWithPrimitiveColor() argument 111 return SkPaintToGrPaintWithXfermode(context, dstColorSpaceInfo, skPaint, SkMatrix::I(), in SkPaintToGrPaintWithPrimitiveColor() 119 const SkPaint& skPaint,
|
D | SkGpuDevice.cpp | 1422 const SkPaint& skPaint, const SkMatrix& matrix, SkBlendMode bmode, in init_vertices_paint() argument 1424 if (hasTexs && skPaint.getShader()) { in init_vertices_paint() 1427 return SkPaintToGrPaintWithXfermode(context, colorSpaceInfo, skPaint, matrix, bmode, in init_vertices_paint() 1431 return SkPaintToGrPaint(context, colorSpaceInfo, skPaint, matrix, grPaint); in init_vertices_paint() 1437 return SkPaintToGrPaintWithPrimitiveColor(context, colorSpaceInfo, skPaint, grPaint); in init_vertices_paint() 1440 return SkPaintToGrPaintNoShader(context, colorSpaceInfo, skPaint, grPaint); in init_vertices_paint()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 749 SkPaint skPaint; in FlushPath() local 750 skPaint.setAntiAlias(true); in FlushPath() 752 skPaint.setBlendMode(SkBlendMode::kPlus); in FlushPath() 755 m_pDriver->PaintStroke(&skPaint, &m_drawState, skMatrix); in FlushPath() 764 skPaint.getFillPath(m_skPath, &strokePath); in FlushPath() 771 skPaint.setStyle(SkPaint::kFill_Style); in FlushPath() 772 skPaint.setColor(m_fillColor); in FlushPath() 776 DebugShowSkiaDrawPath(m_pDriver.Get(), skCanvas, skPaint, *fillPath); in FlushPath() 777 skCanvas->drawPath(*fillPath, skPaint); in FlushPath() 780 skPaint.setStyle(SkPaint::kStroke_Style); in FlushPath() [all …]
|
/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/skia/gm/ |
D | constcolorprocessor.cpp | 85 SkPaint skPaint; in onDraw() local 87 skPaint.setShader(fShader); in onDraw() 89 skPaint.setColor(kPaintColors[paintType]); in onDraw() 92 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/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/skia/src/gpu/text/ |
D | GrTextContext.cpp | 244 SkPaint skPaint; in GR_DRAW_OP_TEST_DEFINE() local 245 skPaint.setColor(random->nextU()); in GR_DRAW_OP_TEST_DEFINE() 265 skPaint, font, viewMatrix, text, xInt, yInt); in GR_DRAW_OP_TEST_DEFINE()
|
/external/skia/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/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 | 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 | 161 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/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 946 const SkPaint& skPaint, in createOp_TestingOnly() argument 963 SkPMColor4f filteredColor = generate_filtered_color(skPaint, rtc->colorSpaceInfo()); in createOp_TestingOnly() 968 builder.drawTextUTF8(skPaint, font, text, textLen, origin); in createOp_TestingOnly() 979 skPaint, scalerContextFlags, viewMatrix, surfaceProps, in createOp_TestingOnly() 983 return blob->test_makeOp(textLen, 0, 0, viewMatrix, x, y, skPaint, filteredColor, surfaceProps, in createOp_TestingOnly()
|
/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()
|