diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-05-17 19:24:54 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-05-21 15:05:37 +0300 |
commit | c2f974f2a57348213cc02d2472f9c54ba86e6010 (patch) | |
tree | fc5bbe006910eb755efd618900a04bf8f75b234d /src/mbgl/gl/types.hpp | |
parent | f210bbbb6c9532c5bdcf176e191bef9a0a9858c7 (diff) | |
download | qtlocation-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 'src/mbgl/gl/types.hpp')
-rw-r--r-- | src/mbgl/gl/types.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mbgl/gl/types.hpp b/src/mbgl/gl/types.hpp index ef7054a24f..e679d7646b 100644 --- a/src/mbgl/gl/types.hpp +++ b/src/mbgl/gl/types.hpp @@ -38,8 +38,6 @@ constexpr bool operator!=(const PixelStorageType& a, const PixelStorageType& b) return a.alignment != b.alignment; } -using BinaryProgramFormat = uint32_t; - enum class UniformDataType : uint32_t { Float = 0x1406, FloatVec2 = 0x8B50, |