summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-06-05 07:02:04 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-06-06 02:43:02 +0200
commit108a3f6c45c354116578f2d4bf6979c3b8aa0fb8 (patch)
tree354d6473c62a30df10e3f8c6ce3f32cc5b057c79
parent0c0a80dd98f8a2d463483ee501c38c8821d67972 (diff)
downloadframeworks_native-108a3f6c45c354116578f2d4bf6979c3b8aa0fb8.tar.gz
frameworks_native-108a3f6c45c354116578f2d4bf6979c3b8aa0fb8.tar.bz2
frameworks_native-108a3f6c45c354116578f2d4bf6979c3b8aa0fb8.zip
Enable llvmpipe on the Samsung devices with an OMAP4 SOCHEADreplicant-6.0
This is based on the following observation: - On a Galaxy SIII (GT-I9300), llvmpipe works and we can observe the following in the logs at boot: I SurfaceFlinger: Using composer version 1.0 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query W SurfaceFlinger: EGL_SLOW_CONFIG selected! - On a Galaxy Nexus (GT-I9250), using llvmpipe result in a black screen, and we can observe the following in the logs at boot: E SurfaceFlinger: composer device failed to initialize (Invalid argument) W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query [...] I SurfaceFlinger: EGLSurface: 5-6-5-0, config=0xb56ad740 F SurfaceFlinger: EGLContext creation failed - EGL_SLOW_CONFIG selected! is not seen in the Galaxy Nexus. This patch is based on reducing the amount of changes between the Galaxy SIII (GT-I9300) configuration and the Galaxy Nexus (GT-I9250) up to the minimal changes that makes the Galaxy Nexus work with llvmpipe. This was tested on the Galaxy Nexus (GT-I9250), and even if llvmpipe is very slow, users can still interact enough with the device to run the script that switches it back to libagl. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--services/surfaceflinger/Android.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk
index 25fa503be..bb0699649 100644
--- a/services/surfaceflinger/Android.mk
+++ b/services/surfaceflinger/Android.mk
@@ -46,9 +46,6 @@ endif
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
-ifeq ($(TARGET_BOARD_PLATFORM),omap4)
- LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
-endif
ifeq ($(TARGET_BOARD_PLATFORM),s5pc110)
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
endif