diff options
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 1b8d9b4a5..d05055bfa 100644 --- a/libgralloc/gr.h +++ b/libgralloc/gr.h @@ -140,6 +140,14 @@ class AdrenoMemInfo : public android::Singleton <AdrenoMemInfo> int tileEnabled, int& alignedw, int &alignedh); /* + * Function to compute real width and real height based on + * private handle + * + * @return real width, real height + */ + void getRealWidthAndHeight(const private_handle_t *hnd, int& real_w, int& real_h); + + /* * Function to return whether GPU support MacroTile feature * * @return >0 : supported |