Closed Bug 1629704 Opened 6 years ago Closed 6 years ago

Rotate vertex data textures per frame

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: gw, Assigned: gw)

References

Details

Attachments

(1 file)

No description provided.

On some (primarily older, integrated) drivers, we see significant
time in CPU stalls during updates to the vertex data textures.

As a short term fix, this patch creates an array of vertex data
textures, and rotates which set of them are in use each frame.

There are better long-term options (such as porting the GPU cache
scatter method, or perhaps using UBO/SSBOs here), but this is a
simple workaround for now.

Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Blocks: 1576637
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b396f2b243fd Rotate vertex data textures per frame. r=Bert,kvark
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: