Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmap.cpp968 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGB() local
969 if (!bitmapHolder.valid()) return JNI_TRUE; in Bitmap_isSRGB()
971 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGB()
976 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGBLinear() local
977 if (!bitmapHolder.valid()) return JNI_FALSE; in Bitmap_isSRGBLinear()
979 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGBLinear()
985 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_computeColorSpace() local
986 if (!bitmapHolder.valid()) return nullptr; in Bitmap_computeColorSpace()
988 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_computeColorSpace()
991 return GraphicsJNI::getColorSpace(env, colorSpace, bitmapHolder->info().colorType()); in Bitmap_computeColorSpace()
[all …]