Home
last modified time | relevance | path

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

/external/skia/src/images/
DSkImageDecoder_libwebp.cpp98 fHasAlpha = 0; in SkWEBPImageDecoder()
115 return SkToBool(fHasAlpha) && !this->getRequireUnpremultipliedColors(); in shouldPremultiply()
123 int fHasAlpha; member in SkWEBPImageDecoder
262 SkColorType colorType = this->getPrefColorType(k32Bit_SrcDepth, SkToBool(fHasAlpha)); in setDecodeConfig()
265 if (fHasAlpha) { in setDecodeConfig()
276 if (SkToBool(fHasAlpha)) { in setDecodeConfig()
296 this->fHasAlpha = hasAlpha; in onDecode()
DSkImageDecoder_libpng.cpp724 bool fHasAlpha; in choose_proc() member
736 if (gMap[i].fColorType == ct && gMap[i].fHasAlpha == hasAlpha) { in choose_proc()
/external/skia/bench/
DGradientBench.cpp356 bool fHasAlpha; member in Gradient2Bench
361 fHasAlpha = hasAlpha; in Gradient2Bench()
381 const int alpha = fHasAlpha ? gray : 0xFF; in onDraw()