Home
last modified time | relevance | path

Searched refs:xformedColor (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/gpu/
DGrColorSpaceXform.cpp71 SkString xformedColor; in emitCode() local
72 … fragBuilder->appendColorGamutXform(&xformedColor, childColor.c_str(), &fColorSpaceHelper); in emitCode()
73 fragBuilder->codeAppendf("%s = %s * %s;", args.fOutputColor, xformedColor.c_str(), in emitCode()
76 SkString xformedColor; in emitCode() local
77 fragBuilder->appendColorGamutXform(&xformedColor, args.fInputColor, &fColorSpaceHelper); in emitCode()
78 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, xformedColor.c_str()); in emitCode()
DGrDefaultGeoProcFactory.cpp115 SkString xformedColor; in onEmitCode() local
116 vertBuilder->appendColorGamutXform(&xformedColor, "color", in onEmitCode()
118 vertBuilder->codeAppendf("color = %s;", xformedColor.c_str()); in onEmitCode()
/external/skia/src/gpu/
DGrColorSpaceXform.cpp71 SkString xformedColor; in emitCode() local
72 … fragBuilder->appendColorGamutXform(&xformedColor, childColor.c_str(), &fColorSpaceHelper); in emitCode()
73 fragBuilder->codeAppendf("%s = %s * %s;", args.fOutputColor, xformedColor.c_str(), in emitCode()
76 SkString xformedColor; in emitCode() local
77 fragBuilder->appendColorGamutXform(&xformedColor, args.fInputColor, &fColorSpaceHelper); in emitCode()
78 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, xformedColor.c_str()); in emitCode()
DGrDefaultGeoProcFactory.cpp105 SkString xformedColor; in onEmitCode() local
106 vertBuilder->appendColorGamutXform(&xformedColor, "color", in onEmitCode()
108 vertBuilder->codeAppendf("color = %s;", xformedColor.c_str()); in onEmitCode()
/external/skia/src/shaders/
DSkLights.cpp57 SkColor xformedColor = xformer->apply(origColor); in xform_color() local
58 return SkColor3f::Make(SkIntToScalar(SkGetPackedR32(xformedColor)) * (1/255.0f), in xform_color()
59 SkIntToScalar(SkGetPackedG32(xformedColor)) * (1/255.0f), in xform_color()
60 SkIntToScalar(SkGetPackedB32(xformedColor)) * (1/255.0f)); in xform_color()
/external/skqp/src/shaders/
DSkLights.cpp57 SkColor xformedColor = xformer->apply(origColor); in xform_color() local
58 return SkColor3f::Make(SkIntToScalar(SkGetPackedR32(xformedColor)), in xform_color()
59 SkIntToScalar(SkGetPackedG32(xformedColor)), in xform_color()
60 SkIntToScalar(SkGetPackedB32(xformedColor))); in xform_color()
/external/skia/bench/
DVertexColorSpaceBench.cpp79 SkString xformedColor; in createGLSLInstance() local
80 vertBuilder->appendColorGamutXform(&xformedColor, "color", &fColorSpaceHelper); in createGLSLInstance()
81 vertBuilder->codeAppendf("color = %s;", xformedColor.c_str()); in createGLSLInstance()
/external/skqp/bench/
DVertexColorSpaceBench.cpp79 SkString xformedColor; in createGLSLInstance() local
80 vertBuilder->appendColorGamutXform(&xformedColor, "color", &fColorSpaceHelper); in createGLSLInstance()
81 vertBuilder->codeAppendf("color = %s;", xformedColor.c_str()); in createGLSLInstance()