Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Remove binary shader support #14707

Merged
merged 1 commit into from
May 21, 2019
Merged

Conversation

tmpsantos
Copy link
Contributor

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

@friedbunny friedbunny added Core The cross-platform C++ core, aka mbgl rendering labels May 20, 2019
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
@tmpsantos tmpsantos force-pushed the tmpsantos-binary_shader_removal branch from 99fbfb0 to 7b8630f Compare May 21, 2019 09:38
@tmpsantos tmpsantos merged commit c2f974f into master May 21, 2019
@tmpsantos tmpsantos deleted the tmpsantos-binary_shader_removal branch May 21, 2019 12:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[core] Race condition when saving shaders to disk
4 participants