Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmap.cpp1098 SkBitmap bm0; in Bitmap_sameAs() local
1111 bitmap0->bitmap().getSkBitmap(&bm0); in Bitmap_sameAs()
1113 if (bm0.width() != bm1.width() in Bitmap_sameAs()
1114 || bm0.height() != bm1.height() in Bitmap_sameAs()
1115 || bm0.colorType() != bm1.colorType() in Bitmap_sameAs()
1116 || bm0.alphaType() != bm1.alphaType() in Bitmap_sameAs()
1117 || !SkColorSpace::Equals(bm0.colorSpace(), bm1.colorSpace())) { in Bitmap_sameAs()
1122 if (NULL == bm0.getPixels() || NULL == bm1.getPixels()) { in Bitmap_sameAs()
1129 const int h = bm0.height(); in Bitmap_sameAs()
1130 const size_t size = bm0.width() * bm0.bytesPerPixel(); in Bitmap_sameAs()
[all …]