Searched refs:clampToPremul (Results 1 – 3 of 3) sorted by relevance
26 auto clampToPremul = _outer.clampToPremul; in emitCode() local27 (void)clampToPremul; in emitCode()31 (_outer.clampToPremul ? "true" : "false"), args.fInputColor, args.fOutputColor, in emitCode()44 b->add32((int32_t)clampToPremul); in onGetGLSLProcessorKey()49 if (clampToPremul != that.clampToPremul) return false; in onIsEqual()54 , clampToPremul(src.clampToPremul) {} in GrClampFragmentProcessor()
22 float clampVal = clampToPremul ? clampedAlpha : 1.f; in constantOutputForConstantInput()26 static std::unique_ptr<GrFragmentProcessor> Make(bool clampToPremul) { in Make() argument27 return std::unique_ptr<GrFragmentProcessor>(new GrClampFragmentProcessor(clampToPremul)); in Make()32 bool clampToPremul; variable35 GrClampFragmentProcessor(bool clampToPremul) in GrClampFragmentProcessor() argument39 , clampToPremul(clampToPremul) {} in GrClampFragmentProcessor()
8 layout(key) in bool clampToPremul;16 @if (clampToPremul) {27 float clampVal = clampToPremul ? clampedAlpha : 1.f;