summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-03-31 01:44:19 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-03-31 01:54:57 +0200
commitb7f8ac9e5b9a1daded2f2957fb25fa00f0c45dbc (patch)
treea7833025fce07b8b88723c127286ccee1317c9f2
parentecb14840869f6af59ec03fab795bae94c407328f (diff)
downloadvendor_replicant-b7f8ac9e5b9a1daded2f2957fb25fa00f0c45dbc.tar.gz
vendor_replicant-b7f8ac9e5b9a1daded2f2957fb25fa00f0c45dbc.tar.bz2
vendor_replicant-b7f8ac9e5b9a1daded2f2957fb25fa00f0c45dbc.zip
Make the GL library selection board specific
Even if currently there is no GPU hardware acceleration for OpenGL in Replicant 6, different system on a chip support different pixel formats for the planes[1]. As the display controller hardware are not necessarily identical accross different devices, it make sense to be able to select a given software OpenGL implementation for a given device for performances and/or compatibility reasons. References: ----------- [1]https://drmdb.emersion.fr/formats Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--config/common.mk11
1 files changed, 0 insertions, 11 deletions
diff --git a/config/common.mk b/config/common.mk
index 8402171b..3b4d610d 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -244,17 +244,6 @@ BOARD_EGL_CFG := vendor/replicant/prebuilt/softwaregl/configs/egl.cfg
PRODUCT_PROPERTY_OVERRIDES += ro.softwaregl=1
-# This sets the default OpenGL implementation:
-# - with ro.libagl=1, libagl is always used
-# - with ro.libagl=0, LLVMpipe is used by default but it's possible to override
-# that and use libagl for specific binaries by creating empty configuration
-# files in /system/etc/libGLES_android/ with the binary paths paths.
-# For instance to make SurfaceFlinger use libagl you can run this command:
-# # touch /system/etc/libGLES_android/system/bin/surfaceflinger
-# When launching that binary, the EGL loader will then check if that file
-# exists to decide on which OpenGL implementation to use.
-PRODUCT_PROPERTY_OVERRIDES += ro.libagl=0
-
PRODUCT_PACKAGE_OVERLAYS += vendor/replicant/overlay/softwaregl
endif