Closed Bug 1474400 Opened 8 years ago Closed 7 years ago

Figure out how to make sure glyph caches aren't a problem for fission

Categories

(Core :: Graphics, enhancement, P3)

enhancement

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

We have bug 1258781 tracking some of the discussion around the skia glyph cache already, but we also have glyph caching going on in CoreText on Mac. It's unclear to me so far (and to Lee, per email) whether DirectWrite does some sort of caching itself. In an ideal world, we would just have a single glyph cache, not a per-process one. It sounds plausible that we might more or less get there with webrender, and then we can stop worrying about this as much. Failing that, I'm not sure what options do we have here, apart from the things already discussed in bug 1258781.
Whiteboard: [gfx-noted]
Yes, WebRender unifies the glyph cache into the gpu process. (I believe we currently have one cache per widget/window but we have plans to share that too)
David - we're going to need to do some work here for fission if we don't get webrender.
Flags: needinfo?(dbolter)
Right. I was chatting with JeffM about this today. I think Lee and JKew will own the plan for our layer gfx stack and Lee is planning to attend the fission weekly tomorrow.
Flags: needinfo?(lsalzman)
Flags: needinfo?(jfkthame)
Flags: needinfo?(dbolter)
FWIW, Chrome currently has similar glyph cache problems so as long as our cache sizes are set similar it seems like this shouldn't block shipping. That being said, Chrome is getting out-of-process rasterization (you can turn it on now) which will give them a similar solution to WebRender.
Priority: -- → P3

It seems like we've gotten by just fine with lowering the glyph cache sizes. We can reopen this if further work is necessary later.

Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(lsalzman)
Flags: needinfo?(jfkthame)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.