(cherry picked from commit 7945ee46591ceba584b1b2167e5f750d3489d69c) Change-Id: Ie71a8745e8810ade310103fdfed7db03cd170980
This function can be used from other components to get the aligned dimensions and size of the buffer given the width, height and color format. Change-Id: I8d7532a262194f3883bf0f5166e806e0971392e2 Conflicts: libgralloc/gpu.cpp
- Add ION support - Refactor the design Change-Id: I5b067b0aca1235ee8c01c256e025f416bb56f560