Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp265 , mPixelStorageType(PixelStorageType::Heap) { in Bitmap()
281 , mPixelStorageType(PixelStorageType::Ashmem) { in Bitmap()
292 , mPixelStorageType(PixelStorageType::Hardware) in Bitmap()
305 case PixelStorageType::WrappedPixelRef: in ~Bitmap()
308 case PixelStorageType::Ashmem: in ~Bitmap()
314 case PixelStorageType::Heap: in ~Bitmap()
320 case PixelStorageType::Hardware: in ~Bitmap()
340 case PixelStorageType::Ashmem: in getAshmemFd()
349 case PixelStorageType::Heap: in getAllocationByteCount()
351 case PixelStorageType::Ashmem: in getAllocationByteCount()
[all …]
H A DBitmap.h38 enum class PixelStorageType { enum
126 bool isHardware() const { return mPixelStorageType == PixelStorageType::Hardware; } in isHardware()
133 PixelStorageType pixelStorageType() const { return mPixelStorageType; } in pixelStorageType()
199 const PixelStorageType mPixelStorageType;
/aosp14/frameworks/base/libs/hwui/jni/
H A DBitmap.cpp208 bool fromMalloc = bitmap->pixelStorageType() == PixelStorageType::Heap; in createBitmap()
1184 return bitmapHolder->bitmap().pixelStorageType() == PixelStorageType::Ashmem ? JNI_TRUE in Bitmap_isBackedByAshmem()