Closed Bug 1766402 Opened 3 years ago Closed 3 years ago

Only cache a DataSourceSurface in the GPU for remote canvas if data is used in between transactions

Categories

(Core :: Graphics: Canvas2D, defect, P1)

All
Windows
defect

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: bobowen, Assigned: bobowen)

References

Details

Attachments

(1 file)

We currently cache DataSourceSurfaces at the end of a transaction for remote canvas if CanvasChild::GetDataSurface is being called.
However the is only actually useful if the data is being used before the start of the next transaction.
If it is being used mid transaction then this actually adds more processing for no benefit.

Pushed by bobowencode@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c3ac90cacf66 Only cache DataSourceSurfaces for remote canvas if data is used between transactions. r=lsalzman
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: