Searched refs:enforcePMColor (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/effects/ |
D | SkArithmeticMode_gpu.cpp | 27 bool enforcePMColor) { in add_arithmetic_code() argument 39 if (enforcePMColor) { in add_arithmetic_code() 64 arith.enforcePMColor()); in emitCode() 69 uint32_t key = arith.enforcePMColor() ? 1 : 0; in GenKey() 87 GrArithmeticFP::GrArithmeticFP(float k1, float k2, float k3, float k4, bool enforcePMColor, in GrArithmeticFP() argument 89 : fK1(k1), fK2(k2), fK3(k3), fK4(k4), fEnforcePMColor(enforcePMColor) { in GrArithmeticFP() 126 bool enforcePMColor = d->fRandom->nextBool(); in TestCreate() local 129 return new GrArithmeticFP(k1, k2, k3, k4, enforcePMColor, dst); in TestCreate() 141 float k1, float k2, float k3, float k4, bool enforcePMColor); 151 bool enforcePMColor() const { return fEnforcePMColor; } in enforcePMColor() function in ArithmeticXP [all …]
|
D | SkArithmeticMode_gpu.h | 35 bool enforcePMColor, const GrFragmentProcessor* dst) { in Create() argument 36 return new GrArithmeticFP(k1, k2, k3, k4, enforcePMColor, dst); in Create() 53 bool enforcePMColor() const { return fEnforcePMColor; } in enforcePMColor() function 64 GrArithmeticFP(float k1, float k2, float k3, float k4, bool enforcePMColor, 80 static GrXPFactory* Create(float k1, float k2, float k3, float k4, bool enforcePMColor) { in Create() argument 81 return new GrArithmeticXPFactory(k1, k2, k3, k4, enforcePMColor); in Create() 88 GrArithmeticXPFactory(float k1, float k2, float k3, float k4, bool enforcePMColor);
|
D | SkArithmeticMode.cpp | 21 bool enforcePMColor) { in SkArithmeticMode_scalar() argument 26 fEnforcePMColor = enforcePMColor; in SkArithmeticMode_scalar() 62 const bool enforcePMColor = buffer.readBool(); in CreateProc() local 63 return SkArithmeticMode::Create(k1, k2, k3, k4, enforcePMColor); in CreateProc() 142 bool enforcePMColor) { in Create() argument 151 return new SkArithmeticMode_scalar(k1, k2, k3, k4, enforcePMColor); in Create()
|
/external/skia/gm/ |
D | arithmode.cpp | 132 const bool enforcePMColor = (i == 0); in onDraw() local 138 SkXfermode* xfer1 = SkArithmeticMode::Create(0, -one / 2, 0, 1, enforcePMColor); in onDraw() 154 SkString str(enforcePMColor ? "enforcePM" : "no enforcePM"); in onDraw()
|
/external/skia/include/effects/ |
D | SkArithmeticMode.h | 27 bool enforcePMColor = true);
|