Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrProxyProvider.cpp206 SkBitmap copy8888; in createTextureProxy() local
207 if (!copy8888.tryAllocPixels(info.makeColorType(kRGBA_8888_SkColorType)) || in createTextureProxy()
208 !srcImage->readPixels(copy8888.pixmap(), 0, 0)) { in createTextureProxy()
211 copy8888.setImmutable(); in createTextureProxy()
212 srcImage = SkMakeImageFromRasterBitmap(copy8888, kNever_SkCopyPixelsMode); in createTextureProxy()
317 SkBitmap copy8888; in createMipMapProxyFromBitmap() local
318 if (!copy8888.tryAllocPixels(bitmap.info().makeColorType(kRGBA_8888_SkColorType)) || in createMipMapProxyFromBitmap()
319 !bitmap.readPixels(copy8888.pixmap())) { in createMipMapProxyFromBitmap()
322 copy8888.setImmutable(); in createMipMapProxyFromBitmap()
323 baseLevel = SkMakeImageFromRasterBitmap(copy8888, kNever_SkCopyPixelsMode); in createMipMapProxyFromBitmap()