Searched refs:InputMode (Results 1 – 16 of 16) sorted by relevance
/external/skqp/src/gpu/effects/ |
D | GrConstColorProcessor.h | 18 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 …]
|
D | GrConstColorProcessor.fp | 8 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 …]
|
D | GrConstColorProcessor.cpp | 100 InputMode mode = static_cast<InputMode>(d->fRandom->nextULessThan(kInputModeCnt)); in TestCreate()
|
D | GrConvexPolyEffect.cpp | 107 GrConstColorProcessor::InputMode::kModulateRGBA); in Make() 114 GrConstColorProcessor::InputMode::kModulateRGBA); in Make()
|
D | GrXfermodeFragmentProcessor.cpp | 251 GrConstColorProcessor::InputMode::kIgnore); in MakeFromTwoProcessors() 512 GrConstColorProcessor::InputMode::kIgnore); in MakeFromDstProcessor() 526 GrConstColorProcessor::InputMode::kIgnore); in MakeFromSrcProcessor()
|
D | GrSkSLFP.cpp | 432 GrConstColorProcessor::InputMode::kIgnore)); in TestCreate()
|
/external/skqp/tests/ |
D | DefaultPathRendererTest.cpp | 96 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/ |
D | SkColorShader.cpp | 110 return GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kModulateA); in asFragmentProcessor() 120 GrConstColorProcessor::InputMode::kModulateA); in asFragmentProcessor()
|
D | SkComposeShader.cpp | 126 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
|
D | SkPerlinNoiseShader.cpp | 1453 GrConstColorProcessor::InputMode::kModulateRGBA); in asFragmentProcessor() 1458 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
|
/external/skqp/gm/ |
D | constcolorprocessor.cpp | 105 GrConstColorProcessor::InputMode mode = (GrConstColorProcessor::InputMode) m; in onDraw()
|
/external/skqp/src/gpu/ |
D | SkGr.cpp | 429 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()
|
D | GrFragmentProcessor.cpp | 462 GrConstColorProcessor::Make(knownColor, GrConstColorProcessor::InputMode::kIgnore)); in RunInSeries()
|
/external/skqp/src/core/ |
D | SkModeColorFilter.cpp | 99 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
|
/external/skqp/src/effects/imagefilters/ |
D | SkXfermodeImageFilter.cpp | 292 GrConstColorProcessor::InputMode::kIgnore); in filterImageGPU()
|
D | SkArithmeticImageFilter.cpp | 324 GrConstColorProcessor::InputMode::kIgnore); in filterImageGPU()
|