diff options
author | Steve Kondik <shade@chemlab.org> | 2013-05-07 17:27:16 -0700 |
---|---|---|
committer | dhacker29 <dhackerdvm@gmail.com> | 2015-01-07 01:55:54 -0500 |
commit | 594b8df1bd4f992bcdd804128d7d6318ce15063b (patch) | |
tree | 4be4aa374e4e52742c9a013af618d81e1a156be9 | |
parent | fca43988411bbba6b6ab8bbbec6b871428670613 (diff) | |
download | android_hardware_qcom_display-stable/cm-12.0-caf-8960-YNG3C.tar.gz android_hardware_qcom_display-stable/cm-12.0-caf-8960-YNG3C.tar.bz2 android_hardware_qcom_display-stable/cm-12.0-caf-8960-YNG3C.zip |
gralloc: Backward compat for devices using older camera heapstable/cm-12.0-caf-8960-YNG4Nstable/cm-12.0-caf-8960-YNG3Cstable/cm-12.0-caf-8960-YNG1TAstable/cm-12.0-caf-8960-YNG1Tcm-12.0-caf-8960
* Add explicit support for camera heap, if requested
Change-Id: I5d3feadd0c4dd629fcb3a750e9d4be0c6b3d6a6f
-rw-r--r-- | libgralloc/alloc_controller.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgralloc/alloc_controller.cpp b/libgralloc/alloc_controller.cpp index 4957f9b6a..8300dee55 100644 --- a/libgralloc/alloc_controller.cpp +++ b/libgralloc/alloc_controller.cpp @@ -45,6 +45,10 @@ #define VENUS_BUFFER_SIZE(args...) 0 #endif +#ifndef ION_ADSP_HEAP_ID +#define ION_ADSP_HEAP_ID ION_CAMERA_HEAP_ID +#endif + using namespace gralloc; using namespace qdutils; |