mirror of
https://github.com/Evolution-X-Devices/hardware_samsung_slsi-linaro_config
synced 2026-01-27 14:22:11 +00:00
config: Use arm_gralloc,gralloc_version for grallocwrapper and libexynosgraphicbuffer
Change-Id: I1f1908d7af49456a5d11ebf48eef300563b34114
This commit is contained in:
@@ -38,16 +38,13 @@ ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION),0)
|
||||
$(call soong_config_set,libgrallocwrapper,gralloc_version,none)
|
||||
endif
|
||||
ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION),1)
|
||||
$(call soong_config_set,libgrallocwrapper,gralloc_version,one)
|
||||
include hardware/samsung_slsi-linaro/config/gralloc1.mk
|
||||
endif
|
||||
ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION),3)
|
||||
$(call soong_config_set,exynosgraphicbuffer,gralloc_version,three)
|
||||
$(call soong_config_set,libgrallocwrapper,gralloc_version,three)
|
||||
include hardware/samsung_slsi-linaro/config/gralloc3.mk
|
||||
endif
|
||||
ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION),4)
|
||||
$(call soong_config_set,exynosgraphicbuffer,gralloc_version,four)
|
||||
$(call soong_config_set,arm_gralloc,gralloc_version,four)
|
||||
endif
|
||||
|
||||
# libexynosscaler
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
$(call soong_config_set,arm_gralloc,gralloc_version,one)
|
||||
ifeq ($(BOARD_USES_EXYNOS5_GRALLOC_RANGE_FLUSH), true)
|
||||
$(call soong_config_set,arm_gralloc,DGRALLOC_RANGE_FLUSH,true)
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
$(call soong_config_set,arm_gralloc,gralloc_version,three)
|
||||
ifeq ($(BOARD_USES_EXYNOS_AFBC_FEATURE), true)
|
||||
$(call soong_config_set,arm_gralloc,uses_exynos_afbc_feature,true)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user