diff options
author | Hashcode <hashcode0f@gmail.com> | 2014-11-25 14:27:05 -0800 |
---|---|---|
committer | Hashcode <hashcode0f@gmail.com> | 2015-02-02 15:49:17 -0800 |
commit | 3f8520d44b363b386d60f889f199ead2c1bd88df (patch) | |
tree | 92858903b8110c939acb2549631e7ac5a9110bfe /hwc | |
parent | d7450466dcedf2ef91ea0b135056f2d46ce5438e (diff) | |
download | hardware_ti_omap4-3f8520d44b363b386d60f889f199ead2c1bd88df.zip hardware_ti_omap4-3f8520d44b363b386d60f889f199ead2c1bd88df.tar.gz hardware_ti_omap4-3f8520d44b363b386d60f889f199ead2c1bd88df.tar.bz2 |
hwc: add missing bionic defines for fb ratio flags
Diffstat (limited to 'hwc')
-rw-r--r-- | hwc/hwc.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -63,6 +63,14 @@ #define NUM_EXT_DISPLAY_BACK_BUFFERS 2 #define ASPECT_RATIO_TOLERANCE 0.02f +/* copied from: KK bionic/libc/kernel/common/linux/fb.h */ +#ifndef FB_FLAG_RATIO_4_3 +#define FB_FLAG_RATIO_4_3 64 +#endif +#ifndef FB_FLAG_RATIO_16_9 +#define FB_FLAG_RATIO_16_9 128 +#endif + /* used by property settings */ enum { EXT_ROTATION = 3, /* rotation while mirroring */ |