diff options
author | Tony Lofthouse <a0741364@ti.com> | 2012-06-22 16:28:43 -0500 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-28 21:16:24 +0200 |
commit | 469c35b3ca3d15e668a9a853077727ce392f544a (patch) | |
tree | ee9e4e8a1f4cbb62ccbb795d7e124a53ce01cf43 | |
parent | fbff7e9bd654f4c9bf0fb1355bcfd075668e6cfb (diff) | |
download | hardware_ti_omap4-469c35b3ca3d15e668a9a853077727ce392f544a.zip hardware_ti_omap4-469c35b3ca3d15e668a9a853077727ce392f544a.tar.gz hardware_ti_omap4-469c35b3ca3d15e668a9a853077727ce392f544a.tar.bz2 |
hwc: publicly define omap specific usage flags
Rebased from p-ics-mr1:
8323a55 hwc: publicly define omap specific usage flags
Change-Id: I3bd14ca2d88192299de731c49eba15a90084b3fe
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
-rw-r--r-- | hwc/hal_public.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hwc/hal_public.h b/hwc/hal_public.h index f4433ad..a7dfb08 100644 --- a/hwc/hal_public.h +++ b/hwc/hal_public.h @@ -173,5 +173,16 @@ IMG_buffer_format_public_t; #define HAL_PIXEL_FORMAT_TI_UNUSED 0x101 /* Free for use */ #define HAL_PIXEL_FORMAT_TI_NV12_1D 0x102 +#ifndef GRALLOC_USAGE_SYSTEM_HEAP +#define GRALLOC_USAGE_SYSTEM_HEAP GRALLOC_USAGE_PRIVATE_0 +#else +#error GRALLOC_USAGE_SYSTEM_HEAP should only be defined by hal_public.h +#endif + +#ifndef GRALLOC_USAGE_PHYS_CONTIG +#define GRALLOC_USAGE_PHYS_CONTIG GRALLOC_USAGE_PRIVATE_1 +#else +#error GRALLOC_USAGE_PHYS_CONTIG should only be defined by hal_public.h +#endif #endif /* HAL_PUBLIC_H */ |