You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a decent amount of different layers (5-10), and by far, the most intensive blocking CPU work done on initialisation occurs during the shader compilation, when getProgramParameter is called:
The getProgramParameter calls take 235ms (combined) on a relatively good PC (i7-9700, RTX 2060).
After some digging around, I found this implementation from mapbox-gl-js, where they were able to remove getProgramParameter calls.
I don't know enough about the Deck/Luma internals to understand if this could also be applicable/make sense for Deck/Luma, or too painful to implement - but faster initialisation would be super awesome.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've got a decent amount of different layers (5-10), and by far, the most intensive blocking CPU work done on initialisation occurs during the shader compilation, when getProgramParameter is called:
The getProgramParameter calls take 235ms (combined) on a relatively good PC (i7-9700, RTX 2060).
After some digging around, I found this implementation from mapbox-gl-js, where they were able to remove getProgramParameter calls.
I don't know enough about the Deck/Luma internals to understand if this could also be applicable/make sense for Deck/Luma, or too painful to implement - but faster initialisation would be super awesome.
Beta Was this translation helpful? Give feedback.
All reactions