mirror of
https://github.com/LineageOS/android_device_xiaomi_whyred.git
synced 2025-10-03 17:59:24 +02:00
whyred: Add display targets and flags
This commit is contained in:
parent
49842c1153
commit
382d9956ec
2 changed files with 29 additions and 0 deletions
|
@ -130,6 +130,23 @@ AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true
|
||||||
USE_CUSTOM_AUDIO_POLICY := 1
|
USE_CUSTOM_AUDIO_POLICY := 1
|
||||||
USE_XML_AUDIO_POLICY_CONF := 1
|
USE_XML_AUDIO_POLICY_CONF := 1
|
||||||
|
|
||||||
|
# Display
|
||||||
|
MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
|
||||||
|
TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
|
||||||
|
TARGET_USES_C2D_COMPOSITION := true
|
||||||
|
TARGET_USES_GRALLOC1 := true
|
||||||
|
TARGET_USES_HWC2 := true
|
||||||
|
TARGET_USES_ION := true
|
||||||
|
TARGET_USES_OVERLAY := true
|
||||||
|
USE_OPENGL_RENDERER := true
|
||||||
|
|
||||||
|
MAX_EGL_CACHE_KEY_SIZE := 12*1024
|
||||||
|
MAX_EGL_CACHE_SIZE := 2048*1024
|
||||||
|
|
||||||
|
OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
|
||||||
|
|
||||||
|
VSYNC_EVENT_PHASE_OFFSET_NS := 2000000
|
||||||
|
SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000
|
||||||
|
|
||||||
# Recovery
|
# Recovery
|
||||||
BOARD_HAS_NO_REAL_SDCARD := true
|
BOARD_HAS_NO_REAL_SDCARD := true
|
||||||
|
|
12
device.mk
12
device.mk
|
@ -93,5 +93,17 @@ PRODUCT_COPY_FILES += \
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
||||||
|
|
||||||
|
# Display
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
copybit.sdm660 \
|
||||||
|
gralloc.sdm660 \
|
||||||
|
hwcomposer.sdm660 \
|
||||||
|
memtrack.sdm660 \
|
||||||
|
liboverlay \
|
||||||
|
libdisplayconfig \
|
||||||
|
libhwc2on1apadapter \
|
||||||
|
libqdMetaData.system \
|
||||||
|
libtinyxml
|
||||||
|
|
||||||
# Call the proprietary setup
|
# Call the proprietary setup
|
||||||
$(call inherit-product, vendor/xiaomi/whyred/whyred-vendor.mk)
|
$(call inherit-product, vendor/xiaomi/whyred/whyred-vendor.mk)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue