Closed Bug 1404749 Opened 7 years ago Closed 7 years ago

UnscaledFont cannot be released off the main thread at the moment

Categories

(Core :: Graphics: Layers, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: bas.schouten, Assigned: bas.schouten)

References

Details

Attachments

(1 file)

Due to issues described in bug 1404742. Currently (Un)ScaledFont objects cannot be released on the mainthread. In order to work around this issue, Matt has suggested releasing the capture drawtargets on the mainthread. This isn't optimal for performance. But it would take a blocker away from OMTP.
Blocks: 1403935
Comment on attachment 8914131 [details]
Bug 1404749: Release our DrawTargetCapture on the main thread.

https://reviewboard.mozilla.org/r/185456/#review190348

Maybe file a follow-up bug to investigate a better performing solution?
Attachment #8914131 - Flags: review?(matt.woodrow) → review+
(In reply to Matt Woodrow (:mattwoodrow) from comment #2)
> Comment on attachment 8914131 [details]
> Bug 1404749: Release our DrawTargetCapture on the main thread.
> 
> https://reviewboard.mozilla.org/r/185456/#review190348
> 
> Maybe file a follow-up bug to investigate a better performing solution?

That's the See Also bug :-)
Pushed by bschouten@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6ded48a735d5
Release our DrawTargetCapture on the main thread. r=mattwoodrow
https://hg.mozilla.org/mozilla-central/rev/6ded48a735d5
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Depends on: 1406960
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: