Closed Bug 1645124 Opened 5 years ago Closed 5 years ago

Frequent batch breaks caused by glyphs in different texture cache arrays

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: nical, Assigned: nical)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I am seeing multiple batch breaks per frame on some pages where we intersect an incompatible batch after failing to add to a batch of the same type that use a different texture. For images this is expected in a lot of cases as anythign above 512px will get a standalon entry and never be batched, but I also see a lot of it with text runs which would ideally have all glyphs in the same texture array.

It's happening a lot with non-sub-px-aa text because the default texture array layer count for alpha textures is only 4.

This prevent frequent batch breaks with non-sub-px-aa text runs.

Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c79c961c7bfd Bump the number of layers per alpha texture array from 4 to 8. r=gw
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: