Home
last modified time | relevance | path

Searched refs:enforcePMColor (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/effects/
DSkArithmeticMode_gpu.cpp27 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 …]
DSkArithmeticMode_gpu.h35 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);
DSkArithmeticMode.cpp21 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/
Darithmode.cpp132 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/
DSkArithmeticMode.h27 bool enforcePMColor = true);