mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
Vts: Add missing usage to buffer
The test's buffer is read by the GPU and therefore needs to be allocatted with BufferUsage::GPU_TEXTURE Fixes: 182935868 Change-Id: I7795e6a32acdf3ecf76003bd12715fcaf73a4e71 Test: VtsHalGraphicsComposerV2_2TargetTest
This commit is contained in:
@@ -268,7 +268,7 @@ TestBufferLayer::TestBufferLayer(const std::shared_ptr<ComposerClient>& client,
|
||||
mLayerCount = 1;
|
||||
mFormat = format;
|
||||
mUsage = static_cast<uint64_t>(BufferUsage::CPU_READ_OFTEN | BufferUsage::CPU_WRITE_OFTEN |
|
||||
BufferUsage::COMPOSER_OVERLAY);
|
||||
BufferUsage::COMPOSER_OVERLAY | BufferUsage::GPU_TEXTURE);
|
||||
|
||||
mAccessRegion.top = 0;
|
||||
mAccessRegion.left = 0;
|
||||
|
||||
Reference in New Issue
Block a user