Home
last modified time | relevance | path

Searched refs:clampToPremul (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/effects/generated/
DGrClampFragmentProcessor.cpp26 auto clampToPremul = _outer.clampToPremul; in emitCode() local
27 (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()
DGrClampFragmentProcessor.h22 float clampVal = clampToPremul ? clampedAlpha : 1.f; in constantOutputForConstantInput()
26 static std::unique_ptr<GrFragmentProcessor> Make(bool clampToPremul) { in Make() argument
27 return std::unique_ptr<GrFragmentProcessor>(new GrClampFragmentProcessor(clampToPremul)); in Make()
32 bool clampToPremul; variable
35 GrClampFragmentProcessor(bool clampToPremul) in GrClampFragmentProcessor() argument
39 , clampToPremul(clampToPremul) {} in GrClampFragmentProcessor()
/external/skia/src/gpu/effects/
DGrClampFragmentProcessor.fp8 layout(key) in bool clampToPremul;
16 @if (clampToPremul) {
27 float clampVal = clampToPremul ? clampedAlpha : 1.f;