Closed Bug 1497665 Opened 6 years ago Closed 6 years ago

Stop reinitializing textures in WebRender

Categories

(Core :: Graphics: WebRender, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(5 files, 1 obsolete file)

This is a prerequisite to various things, primarily immutable storage. I have patches that are probably worth landing separately.
This is a prerequisite to switching to immutable storage.
Depends on D8161
We also drop the vec scheme and just use a hash-map. None of the operations here are hot enough that the difference between a HashMap and a Vec should matter, and using a HashMap simplifies things. Glenn says that hashmap lookups were once hot in profiles, but that was before FastHashMap and not specifically these lookups. Depends on D8163
Things get simpler when reinitialization goes away. Depends on D8165
Priority: -- → P2
Attachment #9015722 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: