diff options
author | Manoj Kumar AVM <manojavm@codeaurora.org> | 2015-08-05 19:45:16 -0700 |
---|---|---|
committer | Manoj Kumar AVM <manojavm@codeaurora.org> | 2015-08-12 16:00:26 -0700 |
commit | 8e1aa18e181962aab2e7ca70221a172753748e80 (patch) | |
tree | 7f6a8324e6f2d9c76365e4739ab1e194a64cde92 /libgralloc/gr.h | |
parent | 65c64f4e9ed36d6a0478a81f3447fad1be88c203 (diff) | |
download | hardware_qcom_display-8e1aa18e181962aab2e7ca70221a172753748e80.tar.gz hardware_qcom_display-8e1aa18e181962aab2e7ca70221a172753748e80.tar.bz2 hardware_qcom_display-8e1aa18e181962aab2e7ca70221a172753748e80.zip |
gralloc: Return aligned w,h for UPDATE_BUFFER_GEOMETRY
Return aligned width and height in case meta operation is
UPDATE_BUFFER_GEOMETRY.
CRs-Fixed: 880373
Change-Id: I3b263518d509f4de68c93692eace3cb0b2c69808
Diffstat (limited to 'libgralloc/gr.h')
-rw-r--r-- | libgralloc/gr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libgralloc/gr.h b/libgralloc/gr.h index e27203af3..6d7f4a7bb 100644 --- a/libgralloc/gr.h +++ b/libgralloc/gr.h @@ -120,6 +120,14 @@ class AdrenoMemInfo : public android::Singleton <AdrenoMemInfo> int usage, int& aligned_w, int& aligned_h); /* + * Function to compute aligned width and aligned height based on + * private handle + * + * @return aligned width, aligned height + */ + void getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, int& aligned_h); + + /* * Function to compute the adreno aligned width and aligned height * based on the width and format. * |