mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "gralloc4-vts: Remove assert for sizeInBits for RAW formats"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e794f8f5e4
@@ -952,7 +952,6 @@ TEST_P(GraphicsMapperHidlTest, Lock_RAW10) {
|
||||
EXPECT_EQ(PlaneLayoutComponentType::RAW,
|
||||
static_cast<PlaneLayoutComponentType>(planeLayoutComponent.type.value));
|
||||
EXPECT_EQ(0, planeLayoutComponent.offsetInBits % 8);
|
||||
EXPECT_EQ(-1, planeLayoutComponent.sizeInBits);
|
||||
|
||||
ASSERT_NO_FATAL_FAILURE(fence.reset(mGralloc->unlock(bufferHandle)));
|
||||
}
|
||||
@@ -994,7 +993,6 @@ TEST_P(GraphicsMapperHidlTest, Lock_RAW12) {
|
||||
EXPECT_EQ(PlaneLayoutComponentType::RAW,
|
||||
static_cast<PlaneLayoutComponentType>(planeLayoutComponent.type.value));
|
||||
EXPECT_EQ(0, planeLayoutComponent.offsetInBits % 8);
|
||||
EXPECT_EQ(-1, planeLayoutComponent.sizeInBits);
|
||||
|
||||
ASSERT_NO_FATAL_FAILURE(fence.reset(mGralloc->unlock(bufferHandle)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user