Lines Matching refs:surfaceInfo
171 SkImageInfo surfaceInfo) { in check_read() argument
194 uint8_t surfaceAlpha = (surfaceInfo.alphaType() == kOpaque_SkAlphaType) in check_read()
226 if (SkColorTypeIsAlphaOnly(surfaceInfo.colorType())) { in check_read()
229 … if (kOpaque_SkAlphaType == surfaceInfo.alphaType() || kOpaque_SkAlphaType == bmpAT) { in check_read()
401 const SkImageInfo& surfaceInfo, BitmapInit lastBitmapInit) { in test_readpixels() argument
425 auto expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo, isGPU); in test_readpixels()
429 success, surfaceInfo.colorType(), surfaceInfo.alphaType(), in test_readpixels()
436 startsWithPixels, surfaceInfo); in test_readpixels()
481 const SkImageInfo& surfaceInfo) { in test_readpixels_texture() argument
506 surfaceInfo.alphaType() != kOpaque_SkAlphaType) { in test_readpixels_texture()
513 read_should_succeed(srcRect, bmp.info(), surfaceInfo, true); in test_readpixels_texture()
517 success, surfaceInfo.colorType(), surfaceInfo.alphaType(), in test_readpixels_texture()
521 surfaceInfo); in test_readpixels_texture()