Closed Bug 1766402 Opened 22 days ago Closed 21 days ago

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

Categories

(Core :: Canvas: 2D, defect, P1)

All
Windows
defect

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: bobowen, Assigned: bobowen)

References

(Blocks 1 open bug)

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: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.