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
{{ message }}
This repository was archived by the owner on May 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 13, 2026. It is now read-only.
On macOS, kick off shader compilation of a certain set of shaders before the first draw #100
The first paint of a freshly-launched Firefox process takes an extra long time with WebRender on macOS because macOS doesn't let us cache OpenGL shaders.
Bug 1604615 aims at making shader compilation faster.
Another thing we can do is to trigger shader compilation ahead-of-time. During startup, there is a window of time before the first paint during which the Renderer thread is already alive but the main thread is still busy with other stuff. We can use that window to front-load some shader compilation, of a set of shaders that we expect to be used during the first paint.
Activity