/external/skia/src/gpu/ |
SkGr.h | 36 class SkPaint; 71 /** Converts an SkPaint to a GrPaint for a given GrRecordingContext. The matrix is required in order 72 to convert the SkShader (if any) on the SkPaint. The primitive itself has no color. */ 75 const SkPaint& skPaint, 79 /** Same as above but ignores the SkShader (if any) on skPaint. */ 82 const SkPaint& skPaint, 85 /** Replaces the SkShader (if any) on skPaint with the passed in GrFragmentProcessor. The processor 90 const SkPaint& skPaint [all...] |
SkGr.cpp | 381 const SkPaint& skPaint, 386 // Convert SkPaint color to 4f format in the destination color space 387 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), colorSpaceInfo, 390 GrFPArgs fpArgs(context, &viewM, skPaint.getFilterQuality(), &colorSpaceInfo); 392 // Setup the initial color considering the shader, the SkPaint color, and the presence or not 399 } else if (const auto* shader = as_SB(skPaint.getShader())) { 431 float paintAlpha = skPaint.getColor4f().fA; 461 float paintAlpha = skPaint.getColor4f().fA; 476 SkColorFilter* colorFilter = skPaint.getColorFilter() [all...] |
SkGpuDevice.cpp | 277 void SkGpuDevice::drawPaint(const SkPaint& paint) { 304 size_t count, const SkPoint pts[], const SkPaint& paint) { 313 GrStyle style(paint, SkPaint::kStroke_Style); 375 void SkGpuDevice::drawRect(const SkRect& rect, const SkPaint& paint) { 441 void SkGpuDevice::drawRRect(const SkRRect& rrect, const SkPaint& paint) { 476 void SkGpuDevice::drawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { 518 void SkGpuDevice::drawRegion(const SkRegion& region, const SkPaint& paint) { 536 void SkGpuDevice::drawOval(const SkRect& oval, const SkPaint& paint) { 557 SkScalar sweepAngle, bool useCenter, const SkPaint& paint) { 579 const SkPaint& origPaint) [all...] |
GrRenderTargetContext.cpp | 78 void drawShape(const GrClip& clip, const SkPaint& paint, 84 void makeGrPaint(GrMaskFormat maskFormat, const SkPaint& skPaint, const SkMatrix& viewMatrix, 89 SkPaintToGrPaintWithPrimitiveColor(context, colorSpaceInfo, skPaint, grPaint); 91 SkPaintToGrPaint(context, colorSpaceInfo, skPaint, viewMatrix, grPaint); 702 case SkPaint::kMiter_Join: 708 case SkPaint::kRound_Join: 716 case SkPaint::kBevel_Join: [all...] |
/external/skqp/src/gpu/ |
SkGr.h | 35 class SkPaint; 70 /** Converts an SkPaint to a GrPaint for a given GrContext. The matrix is required in order 71 to convert the SkShader (if any) on the SkPaint. The primitive itself has no color. */ 74 const SkPaint& skPaint, 78 /** Same as above but ignores the SkShader (if any) on skPaint. */ 81 const SkPaint& skPaint, 84 /** Replaces the SkShader (if any) on skPaint with the passed in GrFragmentProcessor. The processor 89 const SkPaint& skPaint [all...] |
SkGr.cpp | 374 const SkPaint& skPaint, 379 // Convert SkPaint color to 4f format in the destination color space 380 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), colorSpaceInfo, 383 const GrFPArgs fpArgs(context, &viewM, skPaint.getFilterQuality(), &colorSpaceInfo); 385 // Setup the initial color considering the shader, the SkPaint color, and the presence or not 391 } else if (const auto* shader = as_SB(skPaint.getShader())) { 423 float paintAlpha = skPaint.getColor4f().fA; 453 float paintAlpha = skPaint.getColor4f().fA; 468 SkColorFilter* colorFilter = skPaint.getColorFilter() [all...] |
SkGpuDevice.cpp | 282 void SkGpuDevice::drawPaint(const SkPaint& paint) { 309 size_t count, const SkPoint pts[], const SkPaint& paint) { 318 GrStyle style(paint, SkPaint::kStroke_Style); 380 void SkGpuDevice::drawRect(const SkRect& rect, const SkPaint& paint) { 427 void SkGpuDevice::drawRRect(const SkRRect& rrect, const SkPaint& paint) { 462 void SkGpuDevice::drawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { 504 void SkGpuDevice::drawRegion(const SkRegion& region, const SkPaint& paint) { 522 void SkGpuDevice::drawOval(const SkRect& oval, const SkPaint& paint) { 543 SkScalar sweepAngle, bool useCenter, const SkPaint& paint) { 565 const SkPaint& origPaint) [all...] |
/external/skia/gm/ |
constcolorprocessor.cpp | 85 SkPaint skPaint; 87 skPaint.setShader(fShader); 89 skPaint.setColor(kPaintColors[paintType]); 92 skPaint, viewMatrix, &grPaint)); 109 SkPaint labelPaint; 140 labelPaint.setStyle(SkPaint::kStroke_Style);
|
mixedtextblobs.cpp | 20 static void draw_blob(SkCanvas* canvas, const SkTextBlob* blob, const SkPaint& skPaint, 22 SkPaint clipHairline; 24 clipHairline.setStyle(SkPaint::kStroke_Style); 26 SkPaint paint(skPaint); 110 SkPaint paint;
|
/external/skqp/src/gpu/text/ |
GrTextContext.cpp | 52 SkColor GrTextContext::ComputeCanonicalColor(const SkPaint& paint, bool lcd) { 94 bool GrTextContext::CanDrawAsDistanceFields(const SkPaint& paint, const SkFont& font, 125 if (paint.getStyle() != SkPaint::kFill_Style) { 136 SkPaint* skPaint, 149 // based on the SkPaint's text size multiplied by the max scale factor 195 skPaint->setMaskFilter(GrSDFMaskFilter::Make()); 221 // Setup dummy SkPaint / GrPaint / GrRenderTargetContext 227 SkPaint skPaint; [all...] |
GrTextContext.h | 53 const SkPaint&, const SkFont&, 60 static bool CanDrawAsDistanceFields(const SkPaint&, const SkFont&, const SkMatrix& viewMatrix, 68 SkPaint* skPaint, 77 static SkColor ComputeCanonicalColor(const SkPaint&, bool lcd);
|
GrTextBlob.cpp | 59 void GrTextBlob::Run::setupFont(const SkPaint& skPaint, 63 SkScalerContextEffects effects{skPaint}; 78 bool GrTextBlob::mustRegenerate(const SkPaint& paint, bool anyRunHasSubpixelPosition, 105 if (fKey.fStyle != SkPaint::kFill_Style && 169 const SkPaint& paint, const SkPMColor4f& filteredColor, const SkSurfaceProps& props, 222 const SkPaint& paint, const SkPMColor4f& filteredColor, const GrClip& clip, 236 SkPaint runPaint{paint}; 373 SkScalar x, SkScalar y, const SkPaint& paint, const SkPMColor4f& filteredColor,
|
GrTextBlob.h | 61 const SkPaint& paint, 86 SkPaint::Style fStyle; 98 const SkPaint& paint) { 103 if (key.fStyle != SkPaint::kFill_Style) { 168 bool mustRegenerate(const SkPaint&, bool, const SkMaskFilterBase::BlurRec& blurRec, 173 const SkPaint& paint, const SkPMColor4f& filteredColor, const GrClip& clip, 223 // We use this color vs the SkPaint color because it has the colorfilter applied. 248 const SkPaint& paint, const SkPMColor4f& filteredColor, 448 void setupFont(const SkPaint& skPaint, [all...] |
/external/skqp/gm/ |
constcolorprocessor.cpp | 96 SkPaint skPaint; 98 skPaint.setShader(fShader); 100 skPaint.setColor(kPaintColors[paintType]); 103 skPaint, viewMatrix, &grPaint)); 120 SkPaint labelPaint; 151 labelPaint.setStyle(SkPaint::kStroke_Style);
|
mixedtextblobs.cpp | 20 static void draw_blob(SkCanvas* canvas, const SkTextBlob* blob, const SkPaint& skPaint, 22 SkPaint clipHairline; 24 clipHairline.setStyle(SkPaint::kStroke_Style); 26 SkPaint paint(skPaint); 111 SkPaint paint;
|
/external/skia/src/gpu/text/ |
GrTextContext.cpp | 52 SkColor GrTextContext::ComputeCanonicalColor(const SkPaint& paint, bool lcd) { 94 bool GrTextContext::CanDrawAsDistanceFields(const SkPaint& paint, const SkFont& font, 125 if (paint.getStyle() != SkPaint::kFill_Style) { 142 // based on the SkPaint's text size multiplied by the max scale factor 213 SkPaint GrTextContext::InitDistanceFieldPaint(const SkPaint& paint) { 214 SkPaint dfPaint{paint}; 238 // Setup dummy SkPaint / GrPaint / GrRenderTargetContext 244 SkPaint skPaint; [all...] |
/external/pdfium/core/fxge/skia/ |
fx_skia_device.cpp | 34 #include "third_party/skia/include/core/SkPaint.h" 167 void DebugShowSkiaPaint(const SkPaint& paint) { 168 if (SkPaint::kFill_Style == paint.getStyle()) { 215 const SkPaint& paint, 227 const SkPaint& paint, 239 SkPaint DebugClipPaint() { 240 SkPaint paint; 243 paint.setStyle(SkPaint::kStroke_Style); 248 SkPaint paint = DebugClipPaint(); 253 SkPaint paint = DebugClipPaint() [all...] |
/external/skqp/src/atlastext/ |
SkAtlasTextTarget.cpp | 101 void drawShape(const GrClip&, const SkPaint&, const SkMatrix& viewMatrix, 106 void makeGrPaint(GrMaskFormat, const SkPaint& skPaint, const SkMatrix&, 108 grPaint->setColor4f(skPaint.getColor4f().premul()); 149 SkPaint paint;
|
/external/skia/src/atlastext/ |
SkAtlasTextTarget.cpp | 101 void drawShape(const GrClip&, const SkPaint&, const SkMatrix& viewMatrix, 106 void makeGrPaint(GrMaskFormat, const SkPaint& skPaint, const SkMatrix&, 108 grPaint->setColor4f(skPaint.getColor4f().premul()); 149 SkPaint paint;
|
/external/skia/src/xps/ |
SkXPSDevice.h | 24 #include "SkPaint.h" 79 void drawPaint(const SkPaint& paint) override; 81 const SkPoint[], const SkPaint& paint) override; 83 const SkPaint& paint) override; 85 const SkPaint& paint) override; 87 const SkPaint& paint) override; 89 const SkPaint& paint, 92 int x, int y, const SkPaint& paint) override; 95 const SkPaint& paint, 101 const SkPaint&) override [all...] |
SkXPSDevice.cpp | 37 #include "SkPaint.h" [all...] |
/external/skqp/src/xps/ |
SkXPSDevice.h | 24 #include "SkPaint.h" 79 void drawPaint(const SkPaint& paint) override; 81 const SkPoint[], const SkPaint& paint) override; 83 const SkPaint& paint) override; 85 const SkPaint& paint) override; 87 const SkPaint& paint) override; 89 const SkPaint& paint, 94 const SkPaint& paint) override; 96 int x, int y, const SkPaint& paint) override; 99 const SkPaint& paint [all...] |
SkXPSDevice.cpp | 37 #include "SkPaint.h" [all...] |
/external/skia/src/core/ |
SkGlyphRunPainter.cpp | 120 const SkPaint& paint, const SkFont& font, const SkMatrix& matrix) { 122 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { 171 const SkPaint& runPaint = glyphRunList.paint(); 187 SkPaint pathPaint(runPaint); 271 const SkPaint& runPaint, 377 const SkPaint& runPaint = glyphRunList.paint(); 393 SkPaint dfPaint = GrTextContext::InitDistanceFieldPaint(runPaint); 472 SkPaint pathPaint{runPaint}; 617 SkPMColor4f generate_filtered_color(const SkPaint& paint, const GrColorSpaceInfo& colorSpaceInfo) { 636 const SkPaint& listPaint = glyphRunList.paint() [all...] |
/external/skqp/src/core/ |
SkGlyphRunPainter.cpp | 106 const SkPaint& paint, const SkFont& font, const SkMatrix& matrix) { 108 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { 157 const SkPaint& runPaint = glyphRunList.paint(); 173 SkPaint pathPaint(runPaint); 257 SkScalar maxGlyphDimension, const SkPaint& runPaint, const SkFont& runFont, 337 SkPoint origin, const SkPaint& runPaint, const SkMatrix& viewMatrix, SkScalar textScale, 435 SkPoint origin, const SkPaint& runPaint, const SkMatrix& viewMatrix, SkScalar textScale, 494 SkPMColor4f generate_filtered_color(const SkPaint& paint, const GrColorSpaceInfo& colorSpaceInfo) { 513 const SkPaint& listPaint = glyphRunList.paint(); 689 const SkPaint& paint [all...] |