Closed Bug 1370879 Opened 9 years ago Closed 9 years ago

Share the thread pool between webrender instances.

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: nical, Assigned: nical)

References

Details

Attachments

(1 file)

We currently create a new thread pool for each window.
Attached patch wr-thread-pool — — Splinter Review
Attachment #8875282 - Flags: review?(jmuizelaar)
Comment on attachment 8875282 [details] [diff] [review] wr-thread-pool Review of attachment 8875282 [details] [diff] [review]: ----------------------------------------------------------------- Is it possible for us to share the WebRender instance between windows now instead? I recall WebRender getting improved multiwindow support.
My understanding is that webrender does not have actual multi-window support and that the improvement was to prevent an instance from stepping on the other's gl context. To share the WR instance we need to share the same gl context for all windows, I would be surprised if we can do that but it would be great if we could.
Attachment #8875282 - Flags: review?(jmuizelaar) → review+
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8e4b91e37f63 Share the thread pool between webrender instances. r=jrmuizel
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Depends on: 1373135
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: