Home | History | Annotate | Download | only in effects

Lines Matching defs:threshold

39                                                U8CPU threshold) {
40 SkASSERT(threshold < 256);
41 return SkNEW_ARGS(BATShader, (bitmap, region, threshold));
44 BATShader::BATShader(const SkBitmap& bitmap, SkRegion region, U8CPU threshold)
47 , fThreshold(threshold) {
87 U8CPU threshold) {
88 SkScalar thresh = SkIntToScalar(threshold) / 255;
105 static const char* Name() { return "Bitmap Alpha Threshold"; }
132 const char* threshold;
136 "threshold",
137 &threshold);
138 builder->fsCodeAppendf("\t\tfloat thresh = %s;\n", threshold);
173 SkScalar threshold)
178 , fThreshold(threshold) {