/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/src/gpu/ |
D | SkGr.cpp | 385 GrPaint* grPaint) { in skpaint_to_grpaint_impl() argument 427 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl() 435 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl() 442 grPaint->setColor4f(origColorAsPM); in skpaint_to_grpaint_impl() 443 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl() 455 grPaint->addColorFragmentProcessor(std::move(processor)); in skpaint_to_grpaint_impl() 458 grPaint->setColor4f(opaqueColor); in skpaint_to_grpaint_impl() 465 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl() 471 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl() 479 grPaint->setColor4f( in skpaint_to_grpaint_impl() [all …]
|
D | SkGpuDevice.cpp | 281 GrPaint grPaint; in drawPaint() local 283 this->ctm(), &grPaint)) { in drawPaint() 287 fRenderTargetContext->drawPaint(this->clip(), std::move(grPaint), this->ctm()); in drawPaint() 314 GrPaint grPaint; in drawPoints() local 316 this->ctm(), &grPaint)) { in drawPoints() 323 fRenderTargetContext->drawPath(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawPoints() 359 GrPaint grPaint; in drawPoints() local 361 *viewMatrix, &grPaint)) { in drawPoints() 369 fRenderTargetContext->drawVertices(this->clip(), std::move(grPaint), *viewMatrix, in drawPoints() 390 GrPaint grPaint; in drawRect() local [all …]
|
D | SkGr.h | 77 GrPaint* grPaint); 83 GrPaint* grPaint); 92 GrPaint* grPaint); 101 GrPaint* grPaint); 110 GrPaint* grPaint) { in SkPaintToGrPaintWithPrimitiveColor() argument 112 SkBlendMode::kDst, grPaint); in SkPaintToGrPaintWithPrimitiveColor() 123 GrPaint* grPaint);
|
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 | convexpolyeffect.cpp | 207 GrPaint grPaint; in onDraw() local 208 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 209 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 210 grPaint.addCoverageFragmentProcessor(std::move(fp)); in onDraw() 213 PolyBoundsOp::Make(context, std::move(grPaint), p.getBounds()); in onDraw() 247 GrPaint grPaint; in onDraw() local 248 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 249 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 250 grPaint.addCoverageFragmentProcessor(std::move(fp)); in onDraw() 252 std::unique_ptr<GrDrawOp> op = PolyBoundsOp::Make(context, std::move(grPaint), in onDraw()
|
D | yuvtorgbeffect.cpp | 114 GrPaint grPaint; in onDraw() local 115 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 116 grPaint.addColorFragmentProcessor(std::move(fp)); in onDraw() 120 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw() 224 GrPaint grPaint; in onDraw() local 225 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 232 grPaint.addColorFragmentProcessor(std::move(fp)); in onDraw() 233 std::unique_ptr<GrDrawOp> op(GrFillRectOp::Make(context, std::move(grPaint), in onDraw()
|
D | bigrrectaaeffect.cpp | 78 GrPaint grPaint; in onDraw() local 79 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 80 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 81 grPaint.addCoverageFragmentProcessor(std::move(fp)); in onDraw() 87 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw()
|
D | rrects.cpp | 106 GrPaint grPaint; in onDraw() local 107 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 108 grPaint.addCoverageFragmentProcessor(std::move(fp)); in onDraw() 109 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw() 115 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw()
|
D | constcolorprocessor.cpp | 84 GrPaint grPaint; in onDraw() local 92 skPaint, viewMatrix, &grPaint)); in onDraw() 98 grPaint.addColorFragmentProcessor(std::move(fp)); in onDraw() 100 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw()
|
D | texturedomaineffect.cpp | 133 GrPaint grPaint; in onDraw() local 134 grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); in onDraw() 144 grPaint.addColorFragmentProcessor(std::move(fp)); in onDraw() 146 GrFillRectOp::Make(context, std::move(grPaint), GrAAType::kNone, in onDraw()
|
D | drawquadset.cpp | 67 GrPaint grPaint; in draw_gradient_tiles() local 68 SkPaintToGrPaint(context, rtc->colorSpaceInfo(), paint, view, &grPaint); in draw_gradient_tiles() 69 rtc->fillRectWithEdgeAA(GrNoClip(), 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/android/ |
D | SkAndroidFrameworkUtils.cpp | 41 GrPaint grPaint; in clipWithStencil() local 42 grPaint.setXPFactory(GrDisableColorXPFactory::Get()); in clipWithStencil() 53 rtc->drawRegion(noClip, std::move(grPaint), GrAA::kNo, SkMatrix::I(), clipRegion, in clipWithStencil()
|