gralloc: Enable Gralloc4
Gralloc4 changes were merged as disabled by default. This change
switches Gralloc4 on
CRs-Fixed: 2660020
Change-Id: I413faa13f836c66f4ac6ea4071068e83d82d3a41
diff --git a/config/display-board.mk b/config/display-board.mk
index dc06a64..db15d83 100644
--- a/config/display-board.mk
+++ b/config/display-board.mk
@@ -17,4 +17,4 @@
SF_WCG_COMPOSITION_DATA_SPACE := 143261696
TARGET_USES_QTI_MAPPER_2_0 := true
TARGET_USES_QTI_MAPPER_EXTENSIONS_1_1 := true
-TARGET_USES_GRALLOC4 := false
\ No newline at end of file
+TARGET_USES_GRALLOC4 := true
diff --git a/gralloc/android.hardware.graphics.mapper-impl-qti-display.xml b/gralloc/android.hardware.graphics.mapper-impl-qti-display.xml
index 89899cb..4bb2bd8 100644
--- a/gralloc/android.hardware.graphics.mapper-impl-qti-display.xml
+++ b/gralloc/android.hardware.graphics.mapper-impl-qti-display.xml
@@ -31,7 +31,7 @@
<name>vendor.qti.hardware.display.mapper</name>
<transport arch="32+64">passthrough</transport>
<version>3.0</version>
- <!-- <version>4.0</version> -->
+ <version>4.0</version>
<interface>
<name>IQtiMapper</name>
<instance>default</instance>
@@ -42,7 +42,7 @@
<transport arch="32+64">passthrough</transport>
<impl level="generic"></impl>
<version>3.0</version>
- <!-- <version>4.0</version> -->
+ <version>4.0</version>
<interface>
<name>IMapper</name>
<instance>default</instance>
diff --git a/gralloc/vendor.qti.hardware.display.allocator-service.xml b/gralloc/vendor.qti.hardware.display.allocator-service.xml
index 1c5cc8f..5b4c5e3 100644
--- a/gralloc/vendor.qti.hardware.display.allocator-service.xml
+++ b/gralloc/vendor.qti.hardware.display.allocator-service.xml
@@ -32,7 +32,7 @@
<transport>hwbinder</transport>
<impl level="generic"></impl>
<version>3.0</version>
- <!-- <version>4.0</version> -->
+ <version>4.0</version>
<interface>
<name>IAllocator</name>
<instance>default</instance>
@@ -42,7 +42,7 @@
<name>vendor.qti.hardware.display.allocator</name>
<transport>hwbinder</transport>
<version>3.0</version>
- <!-- <version>4.0</version> -->
+ <version>4.0</version>
<interface>
<name>IQtiAllocator</name>
<instance>default</instance>