Searched defs:grPaint (Results 1 - 6 of 6) sorted by relevance

/external/skia/gm/
H A Dconstcolorprocessor.cpp100 GrPaint grPaint; variable
108 &grPaint));
116 pipelineBuilder.setFromPaint(grPaint, rt, clip);
120 grPaint.getColor(),
/external/skia/src/gpu/
H A DGrTextContext.cpp35 void GrTextContext::init(GrRenderTarget* rt, const GrClip& clip, const GrPaint& grPaint, argument
46 fPaint = grPaint;
120 GrPaint grPaint; local
121 if (!SkPaint2GrPaint(fContext, fRenderTarget, runPaint, viewMatrix, true, &grPaint)) {
127 this->drawText(rt, clip, grPaint, runPaint, viewMatrix, (const char *)it.glyphs(),
131 this->drawPosText(rt, clip, grPaint, runPaint, viewMatrix, (const char*)it.glyphs(),
135 this->drawPosText(rt, clip, grPaint, runPaint, viewMatrix, (const char*)it.glyphs(),
H A DSkGr.cpp650 GrColor paintColor, bool constantColor, GrPaint* grPaint) {
652 grPaint->setDither(skPaint.isDither());
653 grPaint->setAntiAlias(skPaint.isAntiAlias());
663 grPaint->setXPFactory(xpFactory)->unref();
666 grPaint->setColor(paintColor);
674 grPaint->setColor(SkColor2GrColor(filtered));
680 grPaint->addColorProcessor(array[i]);
690 if (skPaint.isDither() && grPaint->numColorStages() > 0) {
702 grPaint->addColorProcessor(fp);
703 grPaint
649 SkPaint2GrPaintNoShader(GrContext* context, GrRenderTarget* rt, const SkPaint& skPaint, GrColor paintColor, bool constantColor, GrPaint* grPaint) argument
711 SkPaint2GrPaint(GrContext* context, GrRenderTarget* rt, const SkPaint& skPaint, const SkMatrix& viewM, bool constantColor, GrPaint* grPaint) argument
[all...]
H A DGrAtlasTextContext.cpp396 GrPaint grPaint; local
397 if (!SkPaint2GrPaint(fContext, rt, skPaint, viewMatrix, true, &grPaint)) {
409 this->regenerateTextBlob(cacheBlob, skPaint, grPaint.getColor(), viewMatrix, blob, x, y,
410 drawFilter, clipRect, rt, clip, grPaint);
426 this->regenerateTextBlob(cacheBlob, skPaint, grPaint.getColor(), viewMatrix, blob, x, y,
427 drawFilter, clipRect, rt, clip, grPaint);
431 this->flush(fContext->getTextTarget(), blob, cacheBlob, rt, skPaint, grPaint, drawFilter,
2170 const GrPaint& grPaint,
2180 pipelineBuilder.setFromPaint(grPaint, rt, clip);
2182 GrColor color = grPaint
2165 flush(GrDrawTarget* target, const SkTextBlob* blob, BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, const GrPaint& grPaint, SkDrawFilter* drawFilter, const GrClip& clip, const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, SkScalar y, SkScalar transX, SkScalar transY) argument
2198 flush(GrDrawTarget* target, BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, const GrPaint& grPaint, const GrClip& clip, const SkIRect& clipBounds) argument
2257 GrPaint grPaint; local
[all...]
H A DSkGpuDevice.cpp355 GrPaint grPaint; local
356 if (!SkPaint2GrPaint(this->context(), fRenderTarget, paint, *draw.fMatrix, true, &grPaint)) {
360 fContext->drawPaint(fRenderTarget, fClip, grPaint, *draw.fMatrix);
382 GrPaint grPaint; local
384 &grPaint)) {
391 fContext->drawPath(fRenderTarget, fClip, grPaint, *draw.fMatrix, path, strokeInfo);
402 GrPaint grPaint; local
403 if (!SkPaint2GrPaint(this->context(), fRenderTarget, paint, *draw.fMatrix, true, &grPaint)) {
409 grPaint,
476 GrPaint grPaint; local
492 GrPaint grPaint; local
562 GrPaint grPaint; local
613 GrPaint grPaint; local
811 GrPaint grPaint; local
1489 GrPaint grPaint; local
1567 GrPaint grPaint; local
1683 GrPaint grPaint; local
1781 GrPaint grPaint; local
1892 GrPaint grPaint; local
1909 GrPaint grPaint; local
[all...]
/external/skia/src/effects/
H A DSkAlphaThresholdFilter.cpp288 GrPaint grPaint; local
289 grPaint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode);
295 context->drawRect(maskTexture->asRenderTarget(), GrClip::WideOpen(), grPaint,

Completed in 213 milliseconds