Move WebRender initialization code out of renderer.rs
Categories
(Core :: Graphics: WebRender, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox105 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
There's too much going on in renderer.rs, Setting up scene builder threads and the liks should not be part of it.
| Assignee | ||
Comment 1•4 years ago
|
||
There is a lot going on in renderer.rs, the initialization code takes a non-negligible chunk of it and touches all aspects of WebRender including setting up all of the threads. This patch moves it into its own init module.
In addition, RendererOptions is renamed into WebRenderOptions to better reflect that it configures every aspect of the engine, and init::create_webrender_instance replaces Renderer::new.
Comment 2•4 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:nical, could you have a look please?
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 3•4 years ago
|
||
Will do eventually, no rush since it's a cleanup patch.
Comment 4•3 years ago
|
||
We should probably just close this, since (I assume) there's no way to rebase this patch given how old it is?
Updated•3 years ago
|
| Assignee | ||
Comment 5•3 years ago
|
||
I had forgotten about it. I ended up redoing it as it was a pretty mechanical change.
Comment 7•3 years ago
|
||
Backed out changeset 6237668e5fca (Bug 1690244) for causing webrender build bustages CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=387036595&repo=autoland
Backout: https://hg.mozilla.org/integration/autoland/rev/d7449f75f979874b467ad58d1a74338a2f27e8bd
| Assignee | ||
Updated•3 years ago
|
Comment 9•3 years ago
|
||
| bugherder | ||
Description
•