/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 328 GrPaint grPaint; local 330 this->asMatrixProvider(), &grPaint)) { 334 fSurfaceDrawContext->drawPaint(this->clip(), std::move(grPaint), this->localToDevice()); 362 GrPaint grPaint; local 364 this->asMatrixProvider(), &grPaint)) { 371 fSurfaceDrawContext->drawPath(this->clip(), std::move(grPaint), aa, this->localToDevice(), 405 GrPaint grPaint; local 407 *matrixProvider, &grPaint)) { 415 fSurfaceDrawContext->drawVertices(this->clip(), std::move(grPaint), *matrixProvider, 436 GrPaint grPaint; local [all …]
|
D | SkGr.cpp | 333 GrPaint* grPaint) { in skpaint_to_grpaint_impl() argument 383 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl() 393 grPaint->setColor4f(opaqueColor); in skpaint_to_grpaint_impl() 405 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl() 414 grPaint->setColor4f(colorFilter->filterColor4f(origColor, dstCS, dstCS).premul()); in skpaint_to_grpaint_impl() 430 grPaint->setCoverageFragmentProcessor(std::move(mfFP)); in skpaint_to_grpaint_impl() 436 SkASSERT(!grPaint->getXPFactory()); in skpaint_to_grpaint_impl() 438 grPaint->setXPFactory(SkBlendMode_AsXPFactory(skPaint.getBlendMode())); in skpaint_to_grpaint_impl() 453 auto color = grPaint->getColor4f(); in skpaint_to_grpaint_impl() 454 grPaint->setColor4f({SkTPin(color.fR, 0.f, 1.f), in skpaint_to_grpaint_impl() [all …]
|
D | SkGr.h | 90 GrPaint* grPaint); 97 GrPaint* grPaint); 107 GrPaint* grPaint); 116 GrPaint* grPaint); 126 GrPaint* grPaint); 136 GrPaint* grPaint) { in SkPaintToGrPaintWithPrimitiveColor() argument 138 SkBlendMode::kDst, grPaint); in SkPaintToGrPaintWithPrimitiveColor() 149 GrPaint* grPaint);
|
/external/skqp/src/gpu/ |
D | SkGr.cpp | 378 GrPaint* grPaint) { in skpaint_to_grpaint_impl() argument 419 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl() 427 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl() 434 grPaint->setColor4f(origColorAsPM); in skpaint_to_grpaint_impl() 435 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl() 447 grPaint->addColorFragmentProcessor(std::move(processor)); in skpaint_to_grpaint_impl() 450 grPaint->setColor4f(opaqueColor); in skpaint_to_grpaint_impl() 457 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl() 463 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl() 471 grPaint->setColor4f( in skpaint_to_grpaint_impl() [all …]
|
D | SkGpuDevice.cpp | 286 GrPaint grPaint; in drawPaint() local 288 this->ctm(), &grPaint)) { in drawPaint() 292 fRenderTargetContext->drawPaint(this->clip(), std::move(grPaint), this->ctm()); in drawPaint() 319 GrPaint grPaint; in drawPoints() local 321 this->ctm(), &grPaint)) { in drawPoints() 328 fRenderTargetContext->drawPath(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawPoints() 364 GrPaint grPaint; in drawPoints() local 366 *viewMatrix, &grPaint)) { in drawPoints() 374 fRenderTargetContext->drawVertices(this->clip(), std::move(grPaint), *viewMatrix, in drawPoints() 395 GrPaint grPaint; in drawRect() local [all …]
|
D | SkGr.h | 76 GrPaint* grPaint); 82 GrPaint* grPaint); 91 GrPaint* grPaint); 100 GrPaint* grPaint); 108 const SkPaint& skPaint, GrPaint* grPaint) { in SkPaintToGrPaintWithPrimitiveColor() argument 110 SkBlendMode::kDst, grPaint); in SkPaintToGrPaintWithPrimitiveColor() 121 GrPaint* grPaint);
|
D | SkGpuDevice_drawTexture.cpp | 301 GrPaint grPaint; in drawTextureProducerImpl() local 304 &grPaint)) { in drawTextureProducerImpl() 309 fRenderTargetContext->fillRectToRect(this->clip(), std::move(grPaint), aa, viewMatrix, in drawTextureProducerImpl() 315 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), aa, viewMatrix, in drawTextureProducerImpl() 323 shape, std::move(grPaint), viewMatrix, mf); in drawTextureProducerImpl()
|
D | GrBlurUtils.cpp | 454 GrPaint grPaint; in drawShapeWithMaskFilter() local 456 &grPaint)) { in drawShapeWithMaskFilter() 463 draw_shape_with_mask_filter(context, renderTargetContext, clip, std::move(grPaint), in drawShapeWithMaskFilter() 467 renderTargetContext->drawShape(clip, std::move(grPaint), aa, viewMatrix, shape); in drawShapeWithMaskFilter()
|
/external/skia/gm/ |
D | aarecteffect.cpp | 80 GrPaint grPaint; in onDraw() local 81 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 82 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 83 grPaint.setCoverageFragmentProcessor(std::move(fp)); in onDraw() 85 auto op = sk_gpu_test::test_ops::MakeRect(context, std::move(grPaint), drawRect); in onDraw()
|
D | bigrrectaaeffect.cpp | 97 GrPaint grPaint; in onDraw() local 98 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 99 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 100 grPaint.setCoverageFragmentProcessor(std::move(fp)); in onDraw() 106 context, std::move(grPaint), SkMatrix::I(), bounds)); in onDraw()
|
D | convexpolyeffect.cpp | 115 GrPaint grPaint; in onDraw() local 116 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 117 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 118 grPaint.setCoverageFragmentProcessor(std::move(fp)); in onDraw() 120 auto op = sk_gpu_test::test_ops::MakeRect(context, std::move(grPaint), rect); in onDraw()
|
D | swizzle.cpp | 35 GrPaint grPaint; variable 36 grPaint.setColorFragmentProcessor(std::move(fp)); 38 rtCtx->addDrawOp(GrFillRectOp::MakeNonAARect(ctx, std::move(grPaint), SkMatrix(), bounds));
|
D | rrects.cpp | 126 GrPaint grPaint; in onDraw() local 127 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 128 grPaint.setCoverageFragmentProcessor(std::move(fp)); in onDraw() 129 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 135 context, std::move(grPaint), SkMatrix::I(), bounds)); in onDraw()
|
D | fpcoordinateoverride.cpp | 88 GrPaint grPaint; variable 89 grPaint.setCoverageFragmentProcessor(std::move(fp)); 91 rtCtx->addDrawOp(GrFillRectOp::MakeNonAARect(ctx, std::move(grPaint), SkMatrix::I(), bounds));
|
D | yuvtorgbsubset.cpp | 149 GrPaint grPaint; in onDraw() local 150 grPaint.setColorFragmentProcessor(std::move(fp)); in onDraw() 152 nullptr, std::move(grPaint), GrAA::kYes, ctm, rect); in onDraw()
|
D | drawquadset.cpp | 88 GrPaint grPaint; in draw_gradient_tiles() local 89 SkPaintToGrPaint(context, sdc->colorInfo(), paint, matrixProvider, &grPaint); in draw_gradient_tiles() 90 sdc->fillRectWithEdgeAA(nullptr, std::move(grPaint), GrAA::kYes, in draw_gradient_tiles()
|
/external/skqp/gm/ |
D | convexpolyeffect.cpp | 212 GrPaint grPaint; in onDraw() local 213 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 214 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 215 grPaint.addCoverageFragmentProcessor(std::move(fp)); in onDraw() 218 PolyBoundsOp::Make(context, std::move(grPaint), p.getBounds()); in onDraw() 252 GrPaint grPaint; in onDraw() local 253 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 254 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 255 grPaint.addCoverageFragmentProcessor(std::move(fp)); in onDraw() 257 std::unique_ptr<GrDrawOp> op = PolyBoundsOp::Make(context, std::move(grPaint), in onDraw()
|
D | yuvtorgbeffect.cpp | 127 GrPaint grPaint; in onDraw() local 128 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 129 grPaint.addColorFragmentProcessor(std::move(fp)); in onDraw() 133 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw() 245 GrPaint grPaint; in onDraw() local 246 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 253 grPaint.addColorFragmentProcessor(std::move(fp)); in onDraw() 254 std::unique_ptr<GrDrawOp> op(GrFillRectOp::Make(context, std::move(grPaint), in onDraw()
|
D | bigrrectaaeffect.cpp | 89 GrPaint grPaint; in onDraw() local 90 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 91 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 92 grPaint.addCoverageFragmentProcessor(std::move(fp)); in onDraw() 98 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw()
|
D | rrects.cpp | 111 GrPaint grPaint; in onDraw() local 112 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 113 grPaint.addCoverageFragmentProcessor(std::move(fp)); in onDraw() 114 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 120 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw()
|
D | constcolorprocessor.cpp | 95 GrPaint grPaint; in onDraw() local 103 skPaint, viewMatrix, &grPaint)); in onDraw() 109 grPaint.addColorFragmentProcessor(std::move(fp)); in onDraw() 111 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw()
|
D | texturedomaineffect.cpp | 142 GrPaint grPaint; in onDraw() local 143 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 153 grPaint.addColorFragmentProcessor(std::move(fp)); in onDraw() 155 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw()
|
D | drawquadset.cpp | 65 GrPaint grPaint; in draw_gradient_tiles() local 67 &grPaint); in draw_gradient_tiles() 68 rtc->fillRectWithEdgeAA(GrNoClip(), std::move(grPaint), in draw_gradient_tiles()
|
/external/skqp/src/android/ |
D | SkAndroidFrameworkUtils.cpp | 40 GrPaint grPaint; in clipWithStencil() local 41 grPaint.setXPFactory(GrDisableColorXPFactory::Get()); in clipWithStencil() 52 rtc->drawRegion(noClip, std::move(grPaint), GrAA::kNo, SkMatrix::I(), clipRegion, in clipWithStencil()
|
/external/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 77 GrPaint* grPaint) { in calculate_colors() argument 81 SkPaintToGrPaintWithPrimitiveColor(rContext, colorInfo, paint, matrix, grPaint); in calculate_colors() 84 SkPaintToGrPaint(rContext, colorInfo, paint, matrix, grPaint); in calculate_colors() 85 return grPaint->getColor4f(); in calculate_colors() 666 GrPaint grPaint; in makeAtlasTextOp() local 668 calculate_colors(sdc, paint, viewMatrix, fMaskFormat, &grPaint); in makeAtlasTextOp() 686 std::move(grPaint)); in makeAtlasTextOp() 961 GrPaint grPaint; in makeAtlasTextOp() local 962 SkPMColor4f drawingColor = calculate_colors(sdc, paint, viewMatrix, fMaskFormat, &grPaint); in makeAtlasTextOp() 981 std::move(grPaint)); in makeAtlasTextOp() [all …]
|