summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-05-17 19:24:54 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-05-21 15:05:37 +0300
commitc2f974f2a57348213cc02d2472f9c54ba86e6010 (patch)
treefc5bbe006910eb755efd618900a04bf8f75b234d /misc
parentf210bbbb6c9532c5bdcf176e191bef9a0a9858c7 (diff)
downloadqtlocation-mapboxgl-c2f974f2a57348213cc02d2472f9c54ba86e6010.tar.gz
[core] Remove binary shader support
The implementation is buggy and not worth maintaining anymore because performance benefits are not substantial or sometimes worse. Also, removing it saves about 150 ~ 180 KB in binary size. Below timings are averages of minimum 5 runs. ``` Device Init launch Average relaunch s10 1129.8 ms 700 ms s10 - binary 1346.75 ms 694 ms Pixel 1692 ms 723 ms Pixel - binary 1883 ms 1039 ms Kazam 17948 ms 1339 ms Kazam - binary 19157 ms 1564 ms Wiko 2060 ms 1278 ms Wiko - binary 3876 ms 1136 ms ``` Fixes #14294
Diffstat (limited to 'misc')
-rw-r--r--misc/proto/binary_program.proto19
1 files changed, 0 insertions, 19 deletions
diff --git a/misc/proto/binary_program.proto b/misc/proto/binary_program.proto
deleted file mode 100644
index 780664ef9c..0000000000
--- a/misc/proto/binary_program.proto
+++ /dev/null
@@ -1,19 +0,0 @@
-// Protocol Version 1
-
-package mapboxgl.binary_program;
-
-option optimize_for = LITE_RUNTIME;
-
-message binding {
- required string name = 1;
- required uint32 value = 2;
-}
-
-message binary_program {
- required uint32 format = 1;
- required bytes code = 2;
- repeated binding attribute = 3;
- repeated binding uniform = 4;
- optional string identifier = 5;
- repeated binding texture = 6;
-}