This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[core] Race condition when saving shaders to disk #14294
Labels
Comments
This could buy us time until we find a solution #14298 |
Inadvertently closed by the commit message in #14298. |
Oh, indeed. Thanks! |
tobrun
pushed a commit
that referenced
this issue
Apr 8, 2019
tobrun
pushed a commit
that referenced
this issue
Apr 12, 2019
tobrun
pushed a commit
that referenced
this issue
Apr 12, 2019
This is still a release blocker issue if we decide to re-enable binary caching of shaders. Atm there are no plans to do so. |
This was referenced May 16, 2019
tmpsantos
added a commit
that referenced
this issue
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
added a commit
that referenced
this issue
May 21, 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
added a commit
that referenced
this issue
May 21, 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When opening the app for the first time or when after after a GL driver update that breaks the binary shader compatibility, Mapbox GL will re-create the shaders and store them on the filesystem. We have two problems here:
The text was updated successfully, but these errors were encountered: