Home
last modified time | relevance | path

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

/external/skqp/src/gpu/effects/
DGrConstColorProcessor.h18 enum class InputMode { kIgnore = 0, kLast = 2, kModulateA = 2, kModulateRGBA = 1 }; enum
20 static const int kInputModeCnt = (int)InputMode::kLast + 1;
22 static OptimizationFlags OptFlags(const SkPMColor4f& color, InputMode mode) { in OptFlags()
24 if (mode != InputMode::kIgnore) { in OptFlags()
35 case InputMode::kIgnore: in constantOutputForConstantInput()
37 case InputMode::kModulateA: in constantOutputForConstantInput()
39 case InputMode::kModulateRGBA: in constantOutputForConstantInput()
46 const InputMode& mode() const { return fMode; } in mode()
47 static std::unique_ptr<GrFragmentProcessor> Make(SkPMColor4f color, InputMode mode) { in Make()
55 GrConstColorProcessor(SkPMColor4f color, InputMode mode) in GrConstColorProcessor()
[all …]
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 …]
DGrConstColorProcessor.cpp100 InputMode mode = static_cast<InputMode>(d->fRandom->nextULessThan(kInputModeCnt)); in TestCreate()
DGrConvexPolyEffect.cpp107 GrConstColorProcessor::InputMode::kModulateRGBA); in Make()
114 GrConstColorProcessor::InputMode::kModulateRGBA); in Make()
DGrXfermodeFragmentProcessor.cpp251 GrConstColorProcessor::InputMode::kIgnore); in MakeFromTwoProcessors()
512 GrConstColorProcessor::InputMode::kIgnore); in MakeFromDstProcessor()
526 GrConstColorProcessor::InputMode::kIgnore); in MakeFromSrcProcessor()
DGrSkSLFP.cpp432 GrConstColorProcessor::InputMode::kIgnore)); in TestCreate()
/external/skqp/tests/
DDefaultPathRendererTest.cpp96 auto fp = GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kIgnore); in run_test()
116 auto fp = GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kIgnore); in run_test()
/external/skqp/src/shaders/
DSkColorShader.cpp110 return GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kModulateA); in asFragmentProcessor()
120 GrConstColorProcessor::InputMode::kModulateA); in asFragmentProcessor()
DSkComposeShader.cpp126 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
DSkPerlinNoiseShader.cpp1453 GrConstColorProcessor::InputMode::kModulateRGBA); in asFragmentProcessor()
1458 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
/external/skqp/gm/
Dconstcolorprocessor.cpp105 GrConstColorProcessor::InputMode mode = (GrConstColorProcessor::InputMode) m; in onDraw()
/external/skqp/src/gpu/
DSkGr.cpp429 GrConstColorProcessor::InputMode::kModulateRGBA)); in skpaint_to_grpaint_impl()
443 GrConstColorProcessor::InputMode::kIgnore); in skpaint_to_grpaint_impl()
459 GrConstColorProcessor::InputMode::kModulateRGBA)); in skpaint_to_grpaint_impl()
DGrFragmentProcessor.cpp462 GrConstColorProcessor::Make(knownColor, GrConstColorProcessor::InputMode::kIgnore)); in RunInSeries()
/external/skqp/src/core/
DSkModeColorFilter.cpp99 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
/external/skqp/src/effects/imagefilters/
DSkXfermodeImageFilter.cpp292 GrConstColorProcessor::InputMode::kIgnore); in filterImageGPU()
DSkArithmeticImageFilter.cpp324 GrConstColorProcessor::InputMode::kIgnore); in filterImageGPU()