Home
last modified time | relevance | path

Searched refs:kSrc (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/third_party/flutter/skia/gm/
Dtextbloblooper.cpp138 info.fColorMode = SkBlendMode::kSrc; in setupLooper()
174 { SkBlendMode::kSrc, SK_ColorMAGENTA, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
180 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
181 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kStroke_Style, 4.f, 0, 0, false }, in onOnceBeforeDraw()
182 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
194 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kFill_Style, 0, 0, -1.f, false }, in onOnceBeforeDraw()
195 { SkBlendMode::kSrc, SK_ColorGREEN, SkPaint::kFill_Style, 0, 10.f, -1.f, false }, in onOnceBeforeDraw()
196 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 20.f, -1.f, false }, in onOnceBeforeDraw()
200 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
201 { SkBlendMode::kSrc, SK_ColorBLACK, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
[all …]
Dlcdoverlap.cpp84 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
88 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
/third_party/flutter/skia/docs/examples/
DModulate.cpp20 drawSquare(0, 0, SkBlendMode::kSrc, "destination"); in draw()
21 drawSquare(128, 0, SkBlendMode::kSrc, ""); in draw()
22 drawSquare(0, 128, SkBlendMode::kSrc, ""); in draw()
25 drawSquare(0, 0, SkBlendMode::kSrc, "source"); in draw()
/third_party/skia/docs/examples/
DModulate.cpp20 drawSquare(0, 0, SkBlendMode::kSrc, "destination"); in draw()
21 drawSquare(128, 0, SkBlendMode::kSrc, ""); in draw()
22 drawSquare(0, 128, SkBlendMode::kSrc, ""); in draw()
25 drawSquare(0, 0, SkBlendMode::kSrc, "source"); in draw()
/third_party/flutter/skia/tests/
DLayerDrawLooperTest.cpp56 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_frontToBack()
66 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_frontToBack()
92 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_backToFront()
109 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_backToFront()
128 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_mixed()
145 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_mixed()
/third_party/skia/tests/
DCodecAnimTest.cpp76 case SkCodecAnimation::Blend::kSrc: in to_string()
106 constexpr auto kSrc = SkCodecAnimation::Blend::kSrc; in DEF_TEST() local
228 { kSrc, kSrcOver, kSrc, kSrc, kSrc, kSrc, kSrc }, in DEF_TEST()
239 { kSrc, kSrcOver, kSrcOver, kSrcOver, kSrc, kSrcOver, in DEF_TEST()
/third_party/skia/bench/
DColorFilterBench.cpp167 []() { return SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc); }); ) in __anon9607f1bd0302()
179 []() { return SkColorFilters::Compose(SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anon9607f1bd0902()
180 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anon9607f1bd0902()
184 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anon9607f1bd0a02()
185 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anon9607f1bd0a02()
/third_party/skia/src/gpu/
DGrPaint.cpp39 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local
48 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
/third_party/spirv-tools/test/diff/diff_files/
Dint_vs_uint_constants_autogen.cpp29 constexpr char kSrc[] = R"(; SPIR-V variable
180 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
391 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
Dbasic_autogen.cpp27 constexpr char kSrc[] = R"(; SPIR-V variable
185 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
402 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
Ddifferent_decorations_fragment_autogen.cpp28 constexpr char kSrc[] = R"(OpCapability Shader variable
643 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
1398 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
1621 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
Ddifferent_decorations_vertex_autogen.cpp28 constexpr char kSrc[] = R"(OpCapability Shader variable
528 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
1126 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
1317 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
Dmultiple_same_entry_points_autogen.cpp27 constexpr char kSrc[] = R"( OpCapability Shader variable
170 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
370 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
Dsmall_functions_small_diffs_autogen.cpp27 constexpr char kSrc[] = R"( OpCapability Shader variable
321 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
742 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
DOpTypeForwardPointer_nested_autogen.cpp28 constexpr char kSrc[] = R"( OpCapability Kernel variable
75 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
DOpTypeForwardPointer_onesided_debug_autogen.cpp28 constexpr char kSrc[] = R"( OpCapability Kernel variable
73 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
DOpTypeForwardPointer_mismatching_class_autogen.cpp28 constexpr char kSrc[] = R"( OpCapability Kernel variable
70 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
DOpTypeForwardPointer_mismatching_type_autogen.cpp27 constexpr char kSrc[] = R"( OpCapability Kernel variable
67 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
DOpTypeForwardPointer_basic_autogen.cpp27 constexpr char kSrc[] = R"( OpCapability Kernel variable
80 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
Dspec_constant_specid_autogen.cpp27 constexpr char kSrc[] = R"( OpCapability Shader variable
80 DoStringDiffTest(kSrc, kDst, kDiff, options); in TEST()
/third_party/flutter/skia/src/gpu/
DGrPaint.cpp63 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local
72 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
/third_party/skia/gm/
Dlcdoverlap.cpp83 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
87 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
/third_party/skia/tests/graphite/
DProgramCacheTest.cpp26 Combination c1 { ShaderCombo::ShaderType::kNone, SkTileMode::kRepeat, SkBlendMode::kSrc }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
38 Combination c2 { ShaderCombo::ShaderType::kNone, SkTileMode::kRepeat, SkBlendMode::kSrc }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
53 SkBlendMode::kSrc }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/flutter/skia/src/core/
DSkSpriteBlitter_RGB565.cpp36 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D16_S32()
84 case SkBlendMode::kSrc: in ChooseL565()
124 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32()
172 case SkBlendMode::kSrc: in ChooseLA8()
/third_party/skia/src/core/
DSkSpriteBlitter_RGB565.cpp35 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D16_S32()
84 case SkBlendMode::kSrc: in ChooseL565()
124 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32()
173 case SkBlendMode::kSrc: in ChooseLA8()

12345678910>>...14