Home
last modified time | relevance | path

Searched refs:skPaint (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/gpu/
DSkGr.cpp422 void SkPaint2GrPaintNoShader(GrContext* context, const SkPaint& skPaint, GrColor grColor, in SkPaint2GrPaintNoShader() argument
425 grPaint->setDither(skPaint.isDither()); in SkPaint2GrPaintNoShader()
426 grPaint->setAntiAlias(skPaint.isAntiAlias()); in SkPaint2GrPaintNoShader()
431 SkXfermode* mode = skPaint.getXfermode(); in SkPaint2GrPaintNoShader()
450 SkColorFilter* colorFilter = skPaint.getColorFilter(); in SkPaint2GrPaintNoShader()
455 SkColor filtered = colorFilter->filterColor(skPaint.getColor()); in SkPaint2GrPaintNoShader()
468 if (skPaint.isDither() && grPaint->numColorStages() > 0) { in SkPaint2GrPaintNoShader()
509 void SkPaint2GrPaintShader(GrContext* context, const SkPaint& skPaint, in SkPaint2GrPaintShader() argument
511 SkShader* shader = skPaint.getShader(); in SkPaint2GrPaintShader()
513 SkPaint2GrPaintNoShader(context, skPaint, SkColor2GrColor(skPaint.getColor()), in SkPaint2GrPaintShader()
[all …]
DGrTextContext.cpp19 void GrTextContext::init(const GrPaint& grPaint, const SkPaint& skPaint) { in init() argument
35 fSkPaint = skPaint; in init()
DGrDistanceFieldTextContext.cpp359 inline void GrDistanceFieldTextContext::init(const GrPaint& paint, const SkPaint& skPaint) { in init() argument
360 GrTextContext::init(paint, skPaint); in init()
436 void GrDistanceFieldTextContext::drawText(const GrPaint& paint, const SkPaint& skPaint, in drawText() argument
447 this->init(paint, skPaint); in drawText()
511 void GrDistanceFieldTextContext::drawPosText(const GrPaint& paint, const SkPaint& skPaint, in drawPosText() argument
524 this->init(paint, skPaint); in drawPosText()
DGrBitmapTextContext.cpp164 inline void GrBitmapTextContext::init(const GrPaint& paint, const SkPaint& skPaint) { in init() argument
165 GrTextContext::init(paint, skPaint); in init()
182 void GrBitmapTextContext::drawText(const GrPaint& paint, const SkPaint& skPaint, in drawText() argument
192 this->init(paint, skPaint); in drawText()
273 void GrBitmapTextContext::drawPosText(const GrPaint& paint, const SkPaint& skPaint, in drawPosText() argument
285 this->init(paint, skPaint); in drawPosText()
/external/chromium_org/third_party/skia/src/gpu/
DSkGr.cpp464 void SkPaint2GrPaintNoShader(GrContext* context, const SkPaint& skPaint, GrColor paintColor, in SkPaint2GrPaintNoShader() argument
467 grPaint->setDither(skPaint.isDither()); in SkPaint2GrPaintNoShader()
468 grPaint->setAntiAlias(skPaint.isAntiAlias()); in SkPaint2GrPaintNoShader()
473 SkXfermode* mode = skPaint.getXfermode(); in SkPaint2GrPaintNoShader()
492 SkColorFilter* colorFilter = skPaint.getColorFilter(); in SkPaint2GrPaintNoShader()
497 SkColor filtered = colorFilter->filterColor(skPaint.getColor()); in SkPaint2GrPaintNoShader()
510 if (skPaint.isDither() && grPaint->numColorStages() > 0) { in SkPaint2GrPaintNoShader()
551 void SkPaint2GrPaintShader(GrContext* context, const SkPaint& skPaint, in SkPaint2GrPaintShader() argument
553 SkShader* shader = skPaint.getShader(); in SkPaint2GrPaintShader()
555 SkPaint2GrPaintNoShader(context, skPaint, SkColor2GrColor(skPaint.getColor()), in SkPaint2GrPaintShader()
[all …]
DGrStencilAndCoverTextContext.cpp32 const SkPaint& skPaint, in drawText() argument
57 this->init(paint, skPaint, byteLength, kMaxAccuracy_RenderMode); in drawText()
122 const SkPaint& skPaint, in drawPosText() argument
145 this->init(paint, skPaint, byteLength, kMaxPerformance_RenderMode, textTranslateY); in drawPosText()
242 const SkPaint& skPaint, in init() argument
246 GrTextContext::init(paint, skPaint); in init()
251 SkDraw::ShouldDrawTextAsPaths(skPaint, fContextInitialMatrix); in init()
DGrTextContext.cpp19 void GrTextContext::init(const GrPaint& grPaint, const SkPaint& skPaint) { in init() argument
35 fSkPaint = skPaint; in init()
DGrDistanceFieldTextContext.cpp446 inline void GrDistanceFieldTextContext::init(const GrPaint& paint, const SkPaint& skPaint) { in init() argument
447 GrTextContext::init(paint, skPaint); in init()
535 void GrDistanceFieldTextContext::drawText(const GrPaint& paint, const SkPaint& skPaint, in drawText() argument
546 this->init(paint, skPaint); in drawText()
610 void GrDistanceFieldTextContext::drawPosText(const GrPaint& paint, const SkPaint& skPaint, in drawPosText() argument
623 this->init(paint, skPaint); in drawPosText()
DGrBitmapTextContext.cpp162 inline void GrBitmapTextContext::init(const GrPaint& paint, const SkPaint& skPaint) { in init() argument
163 GrTextContext::init(paint, skPaint); in init()
180 void GrBitmapTextContext::drawText(const GrPaint& paint, const SkPaint& skPaint, in drawText() argument
190 this->init(paint, skPaint); in drawText()
271 void GrBitmapTextContext::drawPosText(const GrPaint& paint, const SkPaint& skPaint, in drawPosText() argument
283 this->init(paint, skPaint); in drawPosText()
/external/chromium_org/third_party/skia/include/gpu/
DSkGr.h85 void SkPaint2GrPaintNoShader(GrContext* context, const SkPaint& skPaint, GrColor paintColor,
91 void SkPaint2GrPaintShader(GrContext* context, const SkPaint& skPaint,
/external/skia/include/gpu/
DSkGr.h93 void SkPaint2GrPaintNoShader(GrContext* context, const SkPaint& skPaint, GrColor grColor,
99 void SkPaint2GrPaintShader(GrContext* context, const SkPaint& skPaint,
/external/chromium_org/third_party/skia/src/device/xps/
DSkXPSDevice.cpp973 HRESULT SkXPSDevice::createXpsBrush(const SkPaint& skPaint, in createXpsBrush() argument
976 const SkShader *shader = skPaint.getShader(); in createXpsBrush()
978 HR(this->createXpsSolidColorBrush(skPaint.getColor(), 0xFF, brush)); in createXpsBrush()
997 SkAlpha alpha = skPaint.getAlpha(); in createXpsBrush()
1003 const SkColor color = skPaint.getColor(); in createXpsBrush()
1016 SkAlpha alpha = skPaint.getAlpha(); in createXpsBrush()
1030 skPaint.getAlpha(), in createXpsBrush()
1039 skPaint.getAlpha(), in createXpsBrush()
1076 skPaint.getAlpha(), in createXpsBrush()
1090 HR(this->createXpsSolidColorBrush(skPaint.getColor(), 0xFF, brush)); in createXpsBrush()
/external/skia/src/device/xps/
DSkXPSDevice.cpp974 HRESULT SkXPSDevice::createXpsBrush(const SkPaint& skPaint, in createXpsBrush() argument
977 const SkShader *shader = skPaint.getShader(); in createXpsBrush()
979 HR(this->createXpsSolidColorBrush(skPaint.getColor(), 0xFF, brush)); in createXpsBrush()
998 SkAlpha alpha = skPaint.getAlpha(); in createXpsBrush()
1004 const SkColor color = skPaint.getColor(); in createXpsBrush()
1017 SkAlpha alpha = skPaint.getAlpha(); in createXpsBrush()
1031 skPaint.getAlpha(), in createXpsBrush()
1040 skPaint.getAlpha(), in createXpsBrush()
1077 skPaint.getAlpha(), in createXpsBrush()
1091 HR(this->createXpsSolidColorBrush(skPaint.getColor(), 0xFF, brush)); in createXpsBrush()
/external/chromium_org/third_party/skia/include/device/xps/
DSkXPSDevice.h206 const SkPaint& skPaint,
/external/skia/include/device/xps/
DSkXPSDevice.h192 const SkPaint& skPaint,