Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmap.cpp837 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGB() local
838 if (!bitmapHolder.valid()) return JNI_TRUE; in Bitmap_isSRGB()
840 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGB()
845 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGBLinear() local
846 if (!bitmapHolder.valid()) return JNI_FALSE; in Bitmap_isSRGBLinear()
848 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGBLinear()
854 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_computeColorSpace() local
855 if (!bitmapHolder.valid()) return nullptr; in Bitmap_computeColorSpace()
857 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_computeColorSpace()
860 return GraphicsJNI::getColorSpace(env, colorSpace, bitmapHolder->info().colorType()); in Bitmap_computeColorSpace()
[all …]