Closed
Bug 1421087
Opened 7 years ago
Closed 3 years ago
Rasterize native theme widgets on the WebRender side
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
WONTFIX
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | affected |
People
(Reporter: mstange, Unassigned)
References
Details
(Whiteboard: [wr-reserve])
At the moment we push native theme widgets to WebRender as images. The rasterization happens on the main thread. We also rasterize them at their unclipped size, and the clip gets applied by WebRender.
It would be nice to use the blob image infrastructure to rasterize native theme widgets on the WebRender side. This frees up the main thread and means that WebRender can request to rasterize just the parts of the widget that are visible.
In order to achieve this, nsITheme::DrawWidgetBackground will need to be split into two parts: One part that gathers all the information from the nsIFrame* that needs to be known in order to draw the widget, and one part that renders the widget based on the gathered information.
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage]
Updated•7 years ago
|
Blocks: stage-wr-trains
Priority: -- → P3
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage] → [wr-reserve]
Updated•7 years ago
|
Comment 1•3 years ago
|
||
I think this is no longer relevant, please reopen otherwise.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•