summaryrefslogtreecommitdiffstats
path: root/display/renderer/setup.sh
diff options
context:
space:
mode:
authorJeremy Rand <jeremy@veclabs.net>2019-12-11 23:12:11 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-12-13 17:30:47 +0100
commit994026f5c05313829d54a8e44d0f26c1e90e872c (patch)
tree43cabe80765fc557a579b5d85dd501bc4b7b9d75 /display/renderer/setup.sh
parentd806bba30f03b8d412f159160f06c364f898d653 (diff)
downloadvendor_replicant-scripts-994026f5c05313829d54a8e44d0f26c1e90e872c.tar.gz
vendor_replicant-scripts-994026f5c05313829d54a8e44d0f26c1e90e872c.tar.bz2
vendor_replicant-scripts-994026f5c05313829d54a8e44d0f26c1e90e872c.zip
Add scripts to switch between LLVMpipe and libagl globally.
Replicant will soon merge patches to set the default renderer for each application: - Libagl was previously used for all applications. That prevented to use applications like IceCatMobile, which were crashing because libagl OpenGL implementation was incomplete. - Some system applications or components are known to have huge performance issues with LLVMpipe. Replicant will hopefully have good defaults settings that satisfy most users, however it's still interesting to be able to change the renderer system wide to workaround potential issues with the default settings, or do some debugging or benchmarks. Signed-off-by: Jeremy Rand <jeremy@veclabs.net> GNUtoo@cyberdimension.org: commit message, fixed interpreter path Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: David Ludovino <dllud@riseup.net>
Diffstat (limited to 'display/renderer/setup.sh')
-rwxr-xr-xdisplay/renderer/setup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/display/renderer/setup.sh b/display/renderer/setup.sh
new file mode 100755
index 0000000..ac5abe8
--- /dev/null
+++ b/display/renderer/setup.sh
@@ -0,0 +1,5 @@
+root_dir="/data/misc/renderer"
+adb root
+sleep 3
+adb shell mkdir -p "$root_dir"
+adb push ./device-files/* "$root_dir/"