Closed Bug 1657791 Opened 4 years ago Closed 4 years ago

Remove GPU cache usage from clip mask rendering

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: gw, Assigned: gw)

Details

Attachments

(1 file)

No description provided.

The patch removes use of the GPU cache when rendering
clip mask instances. Instead, each clip mask type now
has a specific vertex format and passes the information
for the clip mask via vertex attributes.

As part of future clip-chain optimization work, the
ClipNode type will be removed entirely (instead, clip
chains will be optimized during scene building into
a clip set per primitive). Removing GPU cache usage here
simplifies some of that work, and using GPU cache handles
here provides no major benefit over vertex attributes.

Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8385068f5dd
Remove GPU cache usage from clip mask instances. r=kvark,jnicol

This appears to be caused by a bug in the SWGL library - I've created a patch to fix that in [1]. Once that gets reviewed and landed, I will re-land this.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1658467

Flags: needinfo?(gwatson)
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/78f75a74c554
Remove GPU cache usage from clip mask instances. r=kvark,jnicol
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: