/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 26 static void draw(SkCanvas* canvas, const SkImage* image, SkColor4f paintColor) { in draw() argument 27 SkPaint paint(paintColor); in draw() 41 const SkMatrix& matrix, SkColor4f paintColor) { in draw_matrix() argument 44 draw(canvas, image, paintColor); in draw_matrix() 48 const SkMatrix& matrix, SkColor4f paintColor) { in draw_bitmap_matrix() argument 51 SkPaint paint(paintColor); in draw_bitmap_matrix() 80 SkColor4f paintColor) { in make_image_shader() argument 121 draw(&canvas, image, paintColor); in make_image_shader() 125 draw_matrix(&canvas, image, scale_translate(-1, 1, 2 * width, 0), paintColor); in make_image_shader() 129 draw_matrix(&canvas, image, scale_translate(1, -1, 0, 2 * height), paintColor); in make_image_shader() [all …]
|
D | SkPDFShader.h | 45 SkColor4f paintColor);
|
/external/skia/tests/ |
D | ImageNewShaderTest.cpp | 26 SkPaint paintColor; in paint_source() local 27 paintColor.setColor(0xFFFF0000); in paint_source() 28 paintColor.setStyle(SkPaint::kFill_Style); in paint_source() 36 sourceCanvas->drawRect(rect, paintColor); in paint_source()
|
D | DebugLayerManagerTest.cpp | 60 SkColor paintColor = pixmap.getColor(50, 50); in test_basic() local 61 REPORTER_ASSERT(reporter, paintColor == SK_ColorBLUE); in test_basic()
|
D | HighContrastFilterTest.cpp | 39 SkColor paintColor = paintResult.getColor(x, y); in DEF_TEST() local 43 paint.getColorFilter()->filterColor(paintColor)); in DEF_TEST()
|
/external/skqp/tests/ |
D | ImageNewShaderTest.cpp | 26 SkPaint paintColor; in paint_source() local 27 paintColor.setColor(0xFFFF0000); in paint_source() 28 paintColor.setStyle(SkPaint::kFill_Style); in paint_source() 36 sourceCanvas->drawRect(rect, paintColor); in paint_source()
|
D | HighContrastFilterTest.cpp | 39 SkColor paintColor = paintResult.getColor(x, y); in DEF_TEST() local 43 paint.getColorFilter()->filterColor(paintColor)); in DEF_TEST()
|
/external/skqp/src/pdf/ |
D | SkPDFShader.cpp | 263 SkColor paintColor) { in make_fallback_shader() argument 274 paintColor}; in make_fallback_shader() 305 p.setColor(paintColor); in make_fallback_shader() 318 static SkColor adjust_color(SkShader* shader, SkColor paintColor) { in adjust_color() argument 321 return paintColor; in adjust_color() 325 return paintColor & SK_ColorBLACK; in adjust_color() 332 SkColor paintColor) { in SkPDFMakeShader() argument 348 adjust_color(shader, paintColor)}; in SkPDFMakeShader()
|
D | SkPDFShader.h | 45 SkColor paintColor);
|
/external/skqp/src/core/ |
D | SkRasterPipelineBlitter.cpp | 93 SkColor4f paintColor = paint.getColor4f(); in SkCreateRasterPipelineBlitter() local 95 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter() 102 shaderPipeline.append_constant_color(alloc, paintColor.premul().vec()); in SkCreateRasterPipelineBlitter() 103 bool is_opaque = paintColor.fA == 1.0f, in SkCreateRasterPipelineBlitter() 109 bool is_opaque = shader->isOpaque() && paintColor.fA == 1.0f; in SkCreateRasterPipelineBlitter() 113 if (paintColor.fA != 1.0f) { in SkCreateRasterPipelineBlitter() 115 alloc->make<float>(paintColor.fA)); in SkCreateRasterPipelineBlitter()
|
/external/skia/src/core/ |
D | SkRasterPipelineBlitter.cpp | 95 SkColor4f paintColor = paint.getColor4f(); in SkCreateRasterPipelineBlitter() local 97 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter() 104 shaderPipeline.append_constant_color(alloc, paintColor.premul().vec()); in SkCreateRasterPipelineBlitter() 105 bool is_opaque = paintColor.fA == 1.0f, in SkCreateRasterPipelineBlitter() 112 bool is_opaque = shader->isOpaque() && paintColor.fA == 1.0f; in SkCreateRasterPipelineBlitter() 117 if (paintColor.fA != 1.0f) { in SkCreateRasterPipelineBlitter() 119 alloc->make<float>(paintColor.fA)); in SkCreateRasterPipelineBlitter()
|
D | SkVMBlitter.cpp | 523 SkColor4f paintColor = paint.getColor4f(); in effective_params() local 526 .apply(paintColor.vec()); in effective_params() 534 paintColor, in effective_params()
|
/external/skqp/src/gpu/ops/ |
D | GrFillRectOp.cpp | 76 FillRectOp(Helper::MakeArgs args, SkPMColor4f paintColor, GrAAType aaType, in FillRectOp() argument 82 , fWideColor(!SkPMColor4fFitsInBytes(paintColor)) { in FillRectOp() 85 fDeviceQuads.push_back(deviceQuad, deviceQuadType, { paintColor, edgeFlags }); in FillRectOp()
|
/external/skia/src/gpu/ops/ |
D | GrFillRRectOp.cpp | 79 const SkPMColor4f& paintColor, 199 const SkPMColor4f& paintColor, in FillRRectOp() argument 210 , fColor(paintColor) in FillRRectOp()
|
D | GrFillRectOp.cpp | 80 FillRectOp(GrProcessorSet* processorSet, SkPMColor4f paintColor, GrAAType aaType, in FillRectOp() argument 105 fQuads.append(quad->fDevice, {paintColor, quad->fEdgeFlags}, in FillRectOp() 108 fQuads.append(extra.fDevice, { paintColor, extra.fEdgeFlags }, in FillRectOp()
|
/external/skia/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 325 static SkPMColor4f texture_color(SkColor4f paintColor, float entryAlpha, GrColorType srcColorType, in texture_color() argument 327 paintColor.fA *= entryAlpha; in texture_color() 329 return SkColor4fPrepForDst(paintColor, dstColorInfo).premul(); in texture_color() 331 float paintAlpha = SkTPin(paintColor.fA, 0.f, 1.f); in texture_color()
|
D | GrSurfaceDrawContext.cpp | 499 SkPMColor4f paintColor; in attemptQuadOptimization() local 501 paint->isConstantBlendedColor(&paintColor)) { in attemptQuadOptimization() 503 constColor = &paintColor; in attemptQuadOptimization()
|