Home
last modified time | relevance | path

Searched refs:grPaint (Results 1 – 25 of 36) sorted by relevance

12

/external/skqp/src/gpu/
DSkGr.cpp378 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 …]
DSkGpuDevice.cpp286 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 …]
DSkGr.h76 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);
DSkGpuDevice_drawTexture.cpp301 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()
DGrBlurUtils.cpp454 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/
DSkGr.cpp385 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 …]
DSkGpuDevice.cpp281 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 …]
DSkGr.h77 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);
DGrBlurUtils.cpp454 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/
Dconvexpolyeffect.cpp207 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()
Dyuvtorgbeffect.cpp114 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()
Dbigrrectaaeffect.cpp78 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()
Drrects.cpp106 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()
Dconstcolorprocessor.cpp84 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()
Dtexturedomaineffect.cpp133 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()
Ddrawquadset.cpp67 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/
Dconvexpolyeffect.cpp212 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()
Dyuvtorgbeffect.cpp127 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()
Dbigrrectaaeffect.cpp89 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()
Drrects.cpp111 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()
Dconstcolorprocessor.cpp95 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()
Dtexturedomaineffect.cpp142 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()
Ddrawquadset.cpp65 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/
DSkAndroidFrameworkUtils.cpp40 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/
DSkAndroidFrameworkUtils.cpp41 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()

12