mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 10:05:19 +00:00
Add CPU_WRITE_RARELY flag am: 802c53da89
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2700498 Change-Id: Ibd137553e14fa37b7fb25b7ecdbb3103effe713f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -124,7 +124,8 @@ class GrallocHalWrapper : public IGrallocHalWrapper {
|
||||
|
||||
private:
|
||||
static constexpr uint64_t kBufferUsage =
|
||||
static_cast<uint64_t>(BufferUsage::SENSOR_DIRECT_DATA | BufferUsage::CPU_READ_OFTEN);
|
||||
static_cast<uint64_t>(BufferUsage::SENSOR_DIRECT_DATA | BufferUsage::CPU_READ_OFTEN |
|
||||
BufferUsage::CPU_WRITE_RARELY);
|
||||
AllocatorWrapperT<AllocatorT> mAllocator;
|
||||
sp<MapperT> mMapper;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user