Closed Bug 1723076 Opened 3 years ago Closed 3 years ago

Allow larger items in the color cache texture

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: nical, Assigned: nical)

References

(Blocks 1 open bug)

Details

(Keywords: perf-alert)

Attachments

(1 file)

Currently any item that is wider or taller than 512 pixels goes into its own standalone texture. However we often generate linear gradient tasks with a height of 1 pixels and a width between 512 and 1024. Having them in standalone textures wastes a lot of memory and breaks batches. 1024 pixels fits exactly in the linear color cache texture.

Before this patch any item that is wider or taller than 512 pixels goes into its own standalone texture. However we often generate linear gradient tasks with a height of 1 pixels and a width between 512 and 1024. Having them in standalone textures wastes a lot of memory and breaks batches. 1024 pixels fits exactly in the linear color cache texture.

Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/25297aea1af5 Allow larger items in the color cache textures. r=gfx-reviewers,jrmuizel
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch

== Change summary for alert #30886 (as of Wed, 11 Aug 2021 11:41:24 GMT) ==

Improvements:

Ratio Suite Test Platform Options Absolute values (old vs new)
11% tresize windows10-64-shippable-qr e10s stylo webrender 7.43 -> 6.64
7% tresize windows10-64-shippable-qr e10s stylo webrender 7.41 -> 6.88

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=30886

Keywords: perf-alert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: