Closed Bug 761424 Opened 13 years ago Closed 13 years ago

Add IDs to Layers and their ShadowLayers counterpart + an API to query layers by ID

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: nical, Assigned: nical)

References

Details

For async video (bug 598868) we need to assign IDs to ImageLayers, and have a way to query a given ShadowImageLayer by its ID. A clean way to do this would be for every layers to have and ID (not only image layers) and add something like: Layer* LayerManager::GetLayerByID(aID). The point is, of course, to have a Layer and its ShadowLayer counterpart use the same ID. I place this as a separate bug, but we need it quickly for async video (and I think we will eventually need such an API for other future things related to off-main-thread compositing). First I'd like to know if anyone is against the idea of this addition to the layers API.
Design change in async video removed the need for Layer IDs
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.