-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gralloc: Upgrade mapper and allocator to v3.0
CRs-Fixed: 2445393 Change-Id: I8c44ab63ca81523bb6acb75e8ae878cc7466e139
- Loading branch information
Tharaga Balachandran
authored and
Gerrit - the friendly Code Review server
committed
Sep 29, 2019
1 parent
1240021
commit 887bed4
Showing
16 changed files
with
128 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,6 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/qcom/display) | |
|
||
# Clean old allocator rc file | ||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/[email protected]) | ||
|
||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/[email protected]) | ||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/[email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Display product definitions | ||
PRODUCT_PACKAGES += \ | ||
android.hardware.graphics.mapper@2.0-impl-qti-display \ | ||
android.hardware.graphics.mapper@3.0-impl-qti-display \ | ||
vendor.qti.hardware.display.allocator-service \ | ||
vendor.qti.hardware.display.composer-service \ | ||
[email protected] \ | ||
|
@@ -24,7 +24,7 @@ PRODUCT_PACKAGES += \ | |
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected].vendor \ | ||
[email protected] \ | ||
modetest | ||
|
||
#QDCM calibration xml file for 2k panel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,8 @@ LOCAL_HEADER_LIBRARIES := display_headers | |
LOCAL_SHARED_LIBRARIES := $(common_libs) libqdMetaData libsync libgrallocutils \ | ||
libgralloccore \ | ||
[email protected] \ | ||
[email protected] | ||
[email protected] \ | ||
[email protected] | ||
LOCAL_CFLAGS := $(common_flags) $(qmaa_flags) -DLOG_TAG=\"qdgralloc\" -Wall -Werror | ||
LOCAL_CLANG := true | ||
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) | ||
|
@@ -39,7 +40,8 @@ LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) | |
LOCAL_HEADER_LIBRARIES := display_headers | ||
LOCAL_SHARED_LIBRARIES := $(common_libs) libqdMetaData libdl \ | ||
[email protected] \ | ||
[email protected] | ||
[email protected] \ | ||
[email protected] | ||
LOCAL_CFLAGS := $(common_flags) $(qmaa_flags) -DLOG_TAG=\"qdgralloc\" -Wno-sign-conversion | ||
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) | ||
LOCAL_SRC_FILES := gr_utils.cpp gr_adreno_info.cpp gr_camera_info.cpp | ||
|
@@ -58,15 +60,16 @@ LOCAL_C_INCLUDES := $(common_includes) \ | |
|
||
LOCAL_HEADER_LIBRARIES := display_headers | ||
LOCAL_SHARED_LIBRARIES := $(common_libs) libqdMetaData libdl libgrallocutils libion \ | ||
[email protected] | ||
[email protected] \ | ||
[email protected] | ||
LOCAL_CFLAGS := $(common_flags) $(qmaa_flags) -DLOG_TAG=\"qdgralloc\" -Wno-sign-conversion | ||
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) | ||
LOCAL_SRC_FILES := gr_allocator.cpp gr_buf_mgr.cpp gr_ion_alloc.cpp | ||
include $(BUILD_SHARED_LIBRARY) | ||
|
||
#mapper | ||
include $(CLEAR_VARS) | ||
LOCAL_MODULE := android.hardware.graphics.mapper@2.0-impl-qti-display | ||
LOCAL_MODULE := android.hardware.graphics.mapper@3.0-impl-qti-display | ||
LOCAL_SANITIZE := integer_overflow | ||
LOCAL_VENDOR_MODULE := true | ||
LOCAL_MODULE_RELATIVE_PATH := hw | ||
|
@@ -80,11 +83,12 @@ LOCAL_SHARED_LIBRARIES := $(common_libs) \ | |
libgrallocutils \ | ||
libgralloccore \ | ||
libsync \ | ||
vendor.qti.hardware.display.mapper@2.0 \ | ||
vendor.qti.hardware.display.mapper@3.0 \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] | ||
[email protected] \ | ||
[email protected] | ||
LOCAL_CFLAGS := $(common_flags) $(qmaa_flags) -DLOG_TAG=\"qdgralloc\" -Wno-sign-conversion | ||
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) | ||
LOCAL_SRC_FILES := QtiMapper.cpp QtiMapperExtensions.cpp | ||
|
@@ -105,9 +109,10 @@ LOCAL_SHARED_LIBRARIES := $(common_libs) \ | |
libqdMetaData \ | ||
libgrallocutils \ | ||
libgralloccore \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
android.hardware.graphics.allocator@2.0 | ||
android.hardware.graphics.allocator@3.0 | ||
LOCAL_CFLAGS := -DLOG_TAG=\"qdgralloc\" $(common_flags) $(qmaa_flags) | ||
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) | ||
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.