Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2339279e authored by Valerie Hau's avatar Valerie Hau
Browse files

Set reserved size in Gralloc4 to 0

We are not using the reserved size at the moment.  Set to zero

Bug: 150908307
Test: build, boot, GraphicBuffer_test, GraphicBufferAllocator_test
Change-Id: I673063671afcae91bd659279a34169848b89763a
parent 14f49cd4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ static inline void sBufferDescriptorInfo(std::string name, uint32_t width, uint3
    outDescriptorInfo->layerCount = layerCount;
    outDescriptorInfo->format = static_cast<hardware::graphics::common::V1_2::PixelFormat>(format);
    outDescriptorInfo->usage = usage;
    outDescriptorInfo->reservedSize = 0;
}

} // anonymous namespace