Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/effects/
DGrConstColorProcessor.fp8 enum class InputMode {
17 layout(key) in InputMode mode;
25 case InputMode::kIgnore:
28 case InputMode::kModulateRGBA:
31 case InputMode::kModulateA:
38 static const int kInputModeCnt = (int) InputMode::kLast + 1;
40 static OptimizationFlags OptFlags(const SkPMColor4f& color, InputMode mode) {
42 if (mode != InputMode::kIgnore) {
53 case InputMode::kIgnore:
55 case InputMode::kModulateA:
[all …]
DGrConvexPolyEffect.cpp108 GrConstColorProcessor::InputMode::kModulateRGBA); in Make()
115 GrConstColorProcessor::InputMode::kModulateRGBA); in Make()
DGrXfermodeFragmentProcessor.cpp251 GrConstColorProcessor::InputMode::kIgnore); in MakeFromTwoProcessors()
503 GrConstColorProcessor::InputMode::kIgnore); in MakeFromDstProcessor()
517 GrConstColorProcessor::InputMode::kIgnore); in MakeFromSrcProcessor()
DGrSkSLFP.cpp531 GrConstColorProcessor::InputMode::kIgnore)); in TestCreate()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrConstColorProcessor.h19 enum class InputMode { kIgnore = 0, kLast = 2, kModulateA = 2, kModulateRGBA = 1 }; enum
21 static const int kInputModeCnt = (int)InputMode::kLast + 1;
23 static OptimizationFlags OptFlags(const SkPMColor4f& color, InputMode mode) { in OptFlags()
25 if (mode != InputMode::kIgnore) { in OptFlags()
36 case InputMode::kIgnore: in constantOutputForConstantInput()
38 case InputMode::kModulateA: in constantOutputForConstantInput()
40 case InputMode::kModulateRGBA: in constantOutputForConstantInput()
45 static std::unique_ptr<GrFragmentProcessor> Make(SkPMColor4f color, InputMode mode) { in Make()
52 InputMode mode;
55 GrConstColorProcessor(SkPMColor4f color, InputMode mode) in GrConstColorProcessor()
DGrConstColorProcessor.cpp100 InputMode mode = static_cast<InputMode>(d->fRandom->nextULessThan(kInputModeCnt)); in TestCreate()
/third_party/flutter/skia/tests/
DDefaultPathRendererTest.cpp95 auto fp = GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kIgnore); in run_test()
113 auto fp = GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kIgnore); in run_test()
/third_party/flutter/skia/src/shaders/
DSkColorShader.cpp103 return GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kModulateA); in asFragmentProcessor()
113 GrConstColorProcessor::InputMode::kModulateA); in asFragmentProcessor()
DSkPerlinNoiseShader.cpp1454 GrConstColorProcessor::InputMode::kModulateRGBA); in asFragmentProcessor()
1459 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
/third_party/flutter/skia/gm/
Dconstcolorprocessor.cpp118 GrConstColorProcessor::InputMode mode = (GrConstColorProcessor::InputMode) m; in onDraw()
/third_party/flutter/skia/src/gpu/
DSkGr.cpp378 GrConstColorProcessor::InputMode::kModulateRGBA)); in skpaint_to_grpaint_impl()
392 GrConstColorProcessor::InputMode::kIgnore); in skpaint_to_grpaint_impl()
408 GrConstColorProcessor::InputMode::kModulateRGBA)); in skpaint_to_grpaint_impl()
DGrFragmentProcessor.cpp374 GrConstColorProcessor::Make(knownColor, GrConstColorProcessor::InputMode::kIgnore)); in RunInSeries()
/third_party/flutter/skia/src/core/
DSkModeColorFilter.cpp88 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
/third_party/flutter/skia/src/effects/imagefilters/
DSkXfermodeImageFilter.cpp278 GrConstColorProcessor::InputMode::kIgnore); in filterImageGPU()
DSkArithmeticImageFilter.cpp365 GrConstColorProcessor::InputMode::kIgnore); in filterImageGPU()