Closed Bug 1779684 Opened 2 years ago Closed 2 years ago

Mark more surface types as IsDataSourceSurface

Categories

(Core :: Graphics: Canvas2D, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: lsalzman, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We spend a silly amount of time in profiles allocate DataSourceSurfaceWrappers every time GetDataSurface is called for some common surface types.

We spend a significant amount of time in profiles allocating DataSourceSurfaceWrapper
when GetDataSurface is called inside DrawTargetWebgl. We can mark some more surface
types as IsDataSurface to work around this fairly easily.

Blocks: gpu-canvas
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/813986baa96d
Mark more surface types as IsDataSourceSurface. r=aosmond,gfx-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: