summaryrefslogtreecommitdiffstats
path: root/sdm
diff options
context:
space:
mode:
authorNaseer Ahmed <naseer@codeaurora.org>2018-03-08 16:54:28 -0500
committerNaseer Ahmed <naseer@codeaurora.org>2018-03-19 14:23:51 -0400
commit1af9fe4f0adee856f5e2527700d96baeb948db8a (patch)
treed95c2ed851b4b2285c46ee3c5a30ceb0ab81fca8 /sdm
parent04712089d5b02ec40d5d5fb14b2024f8584d8010 (diff)
downloadandroid_hardware_qcom_sdm710_display-1af9fe4f0adee856f5e2527700d96baeb948db8a.tar.gz
android_hardware_qcom_sdm710_display-1af9fe4f0adee856f5e2527700d96baeb948db8a.tar.bz2
android_hardware_qcom_sdm710_display-1af9fe4f0adee856f5e2527700d96baeb948db8a.zip
gralloc: Implement IMapper::2.1
Implements the new IMapper v2.1 APIs Passes VTS for IMapper v2.1 Change-Id: I9762cd056a296c522ab3446408c3c4c5434b3dc4
Diffstat (limited to 'sdm')
-rw-r--r--sdm/libs/hwc2/Android.mk3
-rw-r--r--sdm/libs/hwc2/hwc_buffer_allocator.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/sdm/libs/hwc2/Android.mk b/sdm/libs/hwc2/Android.mk
index 52668c7a..29b0c97e 100644
--- a/sdm/libs/hwc2/Android.mk
+++ b/sdm/libs/hwc2/Android.mk
@@ -20,7 +20,8 @@ LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware li
libutils libcutils libsync libqdutils libqdMetaData \
libsdmutils libc++ liblog libgrallocutils libui libgpu_tonemapper \
libhidlbase libhidltransport vendor.display.config@1.0 \
- android.hardware.graphics.mapper@2.0\
+ android.hardware.graphics.mapper@2.0 \
+ android.hardware.graphics.mapper@2.1 \
android.hardware.graphics.allocator@2.0
ifeq ($(display_config_version), DISPLAY_CONFIG_1_1)
diff --git a/sdm/libs/hwc2/hwc_buffer_allocator.h b/sdm/libs/hwc2/hwc_buffer_allocator.h
index d6f251f7..cec5614c 100644
--- a/sdm/libs/hwc2/hwc_buffer_allocator.h
+++ b/sdm/libs/hwc2/hwc_buffer_allocator.h
@@ -33,7 +33,7 @@
#include <sys/mman.h>
#include <android/hardware/graphics/allocator/2.0/IAllocator.h>
-#include <android/hardware/graphics/mapper/2.0/IMapper.h>
+#include <android/hardware/graphics/mapper/2.1/IMapper.h>
#include "gralloc_priv.h"
using android::hardware::graphics::allocator::V2_0::IAllocator;