Files
rk35xx-android14/vendor/rockchip/common/gpu/Mali450.mk
T
hmz007 70e34291f6 Rockchip Anroid14_SDK 20241219-rkr6 (2f87fee1)
[kernel] 97200b6a: ARM64: dts: rockchip: adapt to android for nanopi6
[u-boot] 97fe060f: standalone: add rkspi to .gitignore

Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: I26394f188bb4b88fd8e9cb14a9a707f02b6cb2e0
2025-04-10 18:11:34 +08:00

27 lines
1.5 KiB
Makefile

ifeq ($(strip $(TARGET_BOARD_PLATFORM_GPU)), mali450)
ifeq ($(strip $(TARGET_ARCH)), x86)
PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcdc_composer=0
PRODUCT_PROPERTY_OVERRIDES += debug.hwui.render_dirty_regions=false
ifeq ($(strip $(GRAPHIC_MEMORY_PROVIDER)), dma_buf)
PRODUCT_COPY_FILES += \
vendor/rockchip/common/gpu/Mali450/lib/$(TARGET_ARCH)/libGLES_mali.so:system/lib/egl/libGLES_mali.so \
vendor/rockchip/common/gpu/Mali450/lib/$(TARGET_ARCH)/libGLES_mali.so:obj/lib/libGLES_mali.so \
vendor/rockchip/common/gpu/Mali450/lib/$(TARGET_ARCH)/hwuihas.bin:system/etc/hwuihas.bin \
vendor/rockchip/common/gpu/Mali450/lib/$(TARGET_ARCH)/hwuishader.bin:system/etc/hwuishader.bin
PRODUCT_COPY_FILES += \
vendor/rockchip/common/gpu/gpu_performance/etc/performance_info.xml:system/etc/performance_info.xml \
vendor/rockchip/common/gpu/gpu_performance/etc/packages-compat.xml:system/etc/packages-compat.xml \
vendor/rockchip/common/gpu/gpu_performance/etc/packages-composer.xml:system/etc/packages-composer.xml \
# vendor/rockchip/common/gpu/gpu_performance/bin/$(TARGET_ARCH)/performance:system/bin/performance \
vendor/rockchip/common/gpu/gpu_performance/lib/$(TARGET_ARCH)/libperformance_runtime.so:system/lib/libperformance_runtime.so \
vendor/rockchip/common/gpu/gpu_performance/lib/$(TARGET_ARCH)/gpu.$(TARGET_BOARD_HARDWARE).so:system/lib/hw/gpu.$(TARGET_BOARD_HARDWARE).so
endif
endif
# libs of libGLES_mali.so are installed in ./Android.mk
PRODUCT_PACKAGES += \
libGLES_mali
endif