Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DBitmap.cpp220 , mPixelStorageType(PixelStorageType::Heap) { in Bitmap()
228 , mPixelStorageType(PixelStorageType::WrappedPixelRef) { in Bitmap()
236 , mPixelStorageType(PixelStorageType::Ashmem) { in Bitmap()
247 , mPixelStorageType(PixelStorageType::Hardware) in Bitmap()
259 case PixelStorageType::WrappedPixelRef: in ~Bitmap()
262 case PixelStorageType::Ashmem: in ~Bitmap()
268 case PixelStorageType::Heap: in ~Bitmap()
274 case PixelStorageType::Hardware: in ~Bitmap()
294 case PixelStorageType::Ashmem: in getAshmemFd()
303 case PixelStorageType::Heap: in getAllocationByteCount()
[all …]
DBitmap.h34 enum class PixelStorageType { enum
121 bool isHardware() const { return mPixelStorageType == PixelStorageType::Hardware; } in isHardware()
123 PixelStorageType pixelStorageType() const { return mPixelStorageType; } in pixelStorageType()
189 const PixelStorageType mPixelStorageType;
/frameworks/base/libs/hwui/jni/
DBitmap.cpp207 bool fromMalloc = bitmap->pixelStorageType() == PixelStorageType::Heap; in createBitmap()
1232 return bitmapHolder->bitmap().pixelStorageType() == PixelStorageType::Ashmem ? JNI_TRUE in Bitmap_isBackedByAshmem()