Lines Matching refs:kCache32Count
503 cache[kCache32Count*0] = SkPackARGB32(0xFF, (r + 0 ) >> 16, in Build32bitCache()
506 cache[kCache32Count*1] = SkPackARGB32(0xFF, (r + bias1) >> 16, in Build32bitCache()
509 cache[kCache32Count*2] = SkPackARGB32(0xFF, (r + bias2) >> 16, in Build32bitCache()
512 cache[kCache32Count*3] = SkPackARGB32(0xFF, (r + bias3) >> 16, in Build32bitCache()
522 cache[kCache32Count*0] = SkPackARGB32((a + 0 ) >> 16, in Build32bitCache()
526 cache[kCache32Count*1] = SkPackARGB32((a + bias1) >> 16, in Build32bitCache()
530 cache[kCache32Count*2] = SkPackARGB32((a + bias2) >> 16, in Build32bitCache()
534 cache[kCache32Count*3] = SkPackARGB32((a + bias3) >> 16, in Build32bitCache()
546 cache[kCache32Count*0] = SkPremultiplyARGBInline((a + 0 ) >> 16, in Build32bitCache()
550 cache[kCache32Count*1] = SkPremultiplyARGBInline((a + bias1) >> 16, in Build32bitCache()
554 cache[kCache32Count*2] = SkPremultiplyARGBInline((a + bias2) >> 16, in Build32bitCache()
558 cache[kCache32Count*3] = SkPremultiplyARGBInline((a + bias3) >> 16, in Build32bitCache()
584 const SkImageInfo info = SkImageInfo::MakeN32Premul(kCache32Count, kNumberOfDitherRows); in initCache32()
591 cache->fShader.fOrigColors[1], kCache32Count, cache->fCacheAlpha, in initCache32()
598 SkASSERT(nextIndex < kCache32Count); in initCache32()
639 int nextIndex = (fColorCount == 2) ? (kCache32Count - 1) in initLinearBitmap()
641 SkASSERT(nextIndex < kCache32Count); in initLinearBitmap()
661 SkASSERT(prevIndex == kCache32Count - 1); in initLinearBitmap()
732 bitmap->setInfo(SkImageInfo::MakeN32Premul(kCache32Count, 1)); in getGradientTableBitmap()
741 info = SkImageInfo::Make(kCache32Count, 1, kRGBA_8888_SkColorType, in getGradientTableBitmap()
747 kCache32Count, 1, kRGBA_F16_SkColorType, kPremul_SkAlphaType, in getGradientTableBitmap()