Closed Bug 1871467 Opened 7 months ago Closed 6 months ago

Use RemoteTextureMap for D2D Canvas

Categories

(Core :: Graphics: Canvas2D, enhancement)

Unspecified
Windows
enhancement

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: lsalzman, Assigned: lsalzman)

References

(Regressed 7 open bugs)

Details

(Whiteboard: [sp3])

Attachments

(3 files)

Right now we're using a mixture of RemoteTextureMap and replay textures in CanvasTranslator that is unwieldly. Replay textures are also slower than RemoteTextureMap, due to RemoteTextureMap being smarter about how it waits for availability of textures. Let's move D2D canvas over to RemoteTextureMap so that we can simplify the implementation of CanvasTranslator.

Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Blocks: 1850775
OS: Unspecified → Windows

Initial testing suggests we should see something in between a 2-3% improvement in overall SP3 core on Windows from this.

Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a1c8e8621bdd
Use RemoteTextureMap for D2D canvas. r=aosmond
https://hg.mozilla.org/integration/autoland/rev/0fd0c31a5140
Remove unused ReplayTexture support. r=aosmond
https://hg.mozilla.org/integration/autoland/rev/1b02448b1e9b
Remove unnecessary CanvasTranslator locking. r=aosmond
Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/36c71343fb8c
Use RemoteTextureMap for D2D canvas. r=aosmond CLOSED TREE
https://hg.mozilla.org/integration/autoland/rev/c8cc337976e1
Remove unused ReplayTexture support. r=aosmond CLOSED TREE
https://hg.mozilla.org/integration/autoland/rev/92e647ae97ee
Remove unnecessary CanvasTranslator locking. r=aosmond CLOSED TREE
Flags: needinfo?(lsalzman)
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Regressions: 1871613

Note that motionmark reported by awfy is run in some a bit weird mode.
-ramp version is, I believe, closer to what happens when one runs the test locally using its default mode
https://treeherder.mozilla.org/perfherder/graphs?highlightAlerts=1&highlightChangelogData=1&highlightCommonAlerts=0&series=mozilla-central,4921279,1,13&timerange=1209600

Regressions: 1871744
Regressions: 1871583
Regressions: 1871841
Regressions: 1871842
Regressions: 1871811
Regressions: 1871861
Regressions: 1871865
Whiteboard: [sp3]
Regressions: 1872180
Depends on: 1872327
Regressions: 1872455
Regressions: 1872836
Regressions: 1873600
Regressions: 1873620
Regressions: 1874813
No longer regressions: 1874813
Regressions: 1875209
Regressions: 1875210
Regressions: 1875445
Regressions: 1879707
Regressions: 1879824
Regressions: 1882573
Regressions: 1895067
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: