Searched refs:primaryColors (Results 1 – 3 of 3) sorted by relevance
/external/skia/tests/sksl/dslfp/ |
D | GrDSLFPTest_Ternary.dsl.cpp | 27 [[maybe_unused]] const auto& primaryColors = _outer.primaryColors; in emitCode() local 28 Var _primaryColors(kConst_Modifier, DSLType(kBool_Type), "primaryColors", Bool(!!(primaryColors))); in emitCode() 31 if (primaryColors) { in emitCode() 40 if (primaryColors) { in emitCode() 49 if (!primaryColors) { in emitCode() 58 if (!primaryColors) { in emitCode() 104 b->addBool(primaryColors, "primaryColors"); in onGetGLSLProcessorKey() 109 if (primaryColors != that.primaryColors) return false; in onIsEqual() 118 , primaryColors(src.primaryColors) in GrDSLFPTest_Ternary() 130 …Orange=half4(%f, %f, %f, %f), colorPurple=half4(%f, %f, %f, %f))", !!(primaryColors), colorGreen.f… in onDumpInfo()
|
D | GrDSLFPTest_Ternary.h | 17 …static std::unique_ptr<GrFragmentProcessor> Make(bool primaryColors, SkPMColor4f colorGreen, SkPMC… in Make() argument 18 …return std::unique_ptr<GrFragmentProcessor>(new GrDSLFPTest_Ternary(primaryColors, colorGreen, col… in Make() 23 bool primaryColors; variable 29 …GrDSLFPTest_Ternary(bool primaryColors, SkPMColor4f colorGreen, SkPMColor4f colorRed, SkPMColor4f … in GrDSLFPTest_Ternary() argument 31 , primaryColors(primaryColors) in GrDSLFPTest_Ternary()
|
/external/skia/resources/sksl/dslfp/ |
D | GrDSLFPTest_Ternary.fp | 1 layout(key) in bool primaryColors; 2 layout(ctype=SkPMColor4f, when=primaryColors) in uniform half4 colorGreen, colorRed; 3 layout(ctype=SkPMColor4f, when=!primaryColors) in uniform half4 colorOrange, colorPurple; 6 half4 green = primaryColors ? colorGreen : colorOrange; 7 half4 red = primaryColors ? colorRed : colorPurple;
|