HomeSort by relevance Sort by last modified time
    Searched refs:inColor (Results 1 - 9 of 9) sorted by null

  /frameworks/base/libs/hwui/
GradientCache.cpp 182 void GradientCache::splitToBytes(uint32_t inColor, GradientColor& outColor) const {
183 outColor.r = (inColor >> 16) & 0xff;
184 outColor.g = (inColor >> 8) & 0xff;
185 outColor.b = (inColor >> 0) & 0xff;
186 outColor.a = (inColor >> 24) & 0xff;
189 void GradientCache::splitToFloats(uint32_t inColor, GradientColor& outColor) const {
190 outColor.r = ((inColor >> 16) & 0xff) / 255.0f;
191 outColor.g = ((inColor >> 8) & 0xff) / 255.0f;
192 outColor.b = ((inColor >> 0) & 0xff) / 255.0f;
193 outColor.a = ((inColor >> 24) & 0xff) / 255.0f
    [all...]
GradientCache.h 161 typedef void (GradientCache::*ChannelSplitter)(uint32_t inColor,
164 void splitToBytes(uint32_t inColor, GradientColor& outColor) const;
165 void splitToFloats(uint32_t inColor, GradientColor& outColor) const;
  /external/skia/src/gpu/effects/
GrBitmapTextGeoProc.h 35 const Attribute* inColor() const { return fInColor; }
GrDistanceFieldGeoProc.h 68 const Attribute* inColor() const { return fInColor; }
129 const Attribute* inColor() const { return fInColor; }
196 const Attribute* inColor() const { return fInColor; }
GrPorterDuffXferProcessor.cpp 388 const char* inColor, const char* inCoverage) {
403 fragBuilder->codeAppendf("%s = %s * %s;", output, inColor, inCoverage);
405 fragBuilder->codeAppendf("%s = %s;", output, inColor);
410 fragBuilder->codeAppendf("%s = %s.a * %s;", output, inColor, inCoverage);
412 fragBuilder->codeAppendf("%s = %s;", output, inColor);
417 fragBuilder->codeAppendf("%s = (1.0 - %s.a) * %s;", output, inColor, inCoverage);
419 fragBuilder->codeAppendf("%s = vec4(1.0 - %s.a);", output, inColor);
424 fragBuilder->codeAppendf("%s = (vec4(1.0) - %s) * %s;", output, inColor, inCoverage);
426 fragBuilder->codeAppendf("%s = vec4(1.0) - %s;", output, inColor);
    [all...]
GrBitmapTextGeoProc.cpp 46 varyingHandler->addPassThroughAttribute(cte.inColor(), args.fOutputColor);
146 fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType));
GrDistanceFieldGeoProc.cpp 59 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor);
222 fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType));
295 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor);
433 fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType));
500 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor);
    [all...]
  /external/skia/src/gpu/
GrDefaultGeoProcFactory.cpp 47 const Attribute* inColor() const { return fInColor; }
78 varyingHandler->addPassThroughAttribute(gp.inColor(), args.fOutputColor);
237 fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType));
313 GrColor inColor = color.fColor;
315 inColor,
GrOvalRenderer.cpp 81 const Attribute* inColor() const { return fInColor; }
113 varyingHandler->addPassThroughAttribute(ce.inColor(), args.fOutputColor);
182 fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType));
232 const Attribute* inColor() const { return fInColor; }
268 varyingHandler->addPassThroughAttribute(ee.inColor(), args.fOutputColor);
350 fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType));
406 const Attribute* inColor() const { return fInColor; }
443 varyingHandler->addPassThroughAttribute(ee.inColor(), args.fOutputColor);
549 fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType));
    [all...]

Completed in 437 milliseconds