Peter Cai 3bc733f431 rw-system: disable hardware acceleration in system_server for SPRD devices
* For some reason, the OpenGL implementation on SPRD devices causes
  crashes in system_server on glFinish() due to double-free of mutexes.
  It is not the same case with the MTK skia compatibility bug, because
  this one produces no GL errors, only the final mutex-related crash.
* This crash is only observed in system_server by far. In other
  hardware-accelerated applications, after a lot of tinkering, I could
  not reproduce the same problem. (Even if they somehow do crash, it
  won't bring the entire system down like `system_server`.)
* Since all SPRD devices do not have "high-end gfx", it is reasonable
  to set this `ro.config.avoid_gfx_accel` flag. This will disable the
  use of hardware gfx in system_server, avoiding the crash. Most SPRD
  devices comes with Android Go by default, which has this flag set
  (implied by `ro.config.low_ram`) anyway.
* All devices having the `sprd-adf` module is an SPRD device launched
  with Android 9 or earlier. ADF is deprecated in Android 10 or higher.
2020-01-20 09:25:41 +01:00
2018-08-07 13:09:49 +02:00
2019-11-01 18:30:18 +01:00
2019-01-14 17:09:57 +00:00
2019-01-04 14:01:44 +00:00
2019-09-09 01:14:29 +02:00
2019-09-12 20:44:16 +02:00
2017-12-19 13:08:26 +01:00
2018-11-18 19:43:10 +01:00
2019-11-30 20:39:23 +01:00
2018-03-03 19:50:47 +01:00
2018-05-17 23:32:26 +02:00
2019-11-11 23:29:51 +01:00
2019-10-21 17:42:05 +02:00
2019-01-13 13:20:08 +05:30
2017-12-17 18:14:40 +01:00
2018-03-22 22:47:23 +01:00
2019-07-19 10:18:26 +02:00

You'll need to call generate.sh in this folder to generate the Makefiles to build the Treble targets
Description
No description provided
Readme 11 MiB
Languages
Makefile 58.2%
C++ 23.2%
Shell 17.9%
C 0.7%