Support adding "external image" surfaces with scaling in the compositor interface
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
People
(Reporter: jrmuizel, Unassigned)
References
(Blocks 1 open bug)
Details
The main motivation for this is being able to scale video using the os compositor.
Updated•5 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Glenn, I remember you telling me about an API sketch for this at some point. Do you still recall what it looked like?
Comment 2•4 years ago
|
||
I don't recall exactly - the basic idea was that an external image could be annotated with a flag (either on the image or prim) saying that this video should be handled as a native surface, rather than WR allocating a native surface and drawing into it.
Then, WR compositor interface would effectively see this surface as a placeholder, and ask the Compositor trait to add it to the scene at the correct time / location.
We can perhaps discuss in a zoom call if we want to sketch out something more detailed than that.
Comment 3•4 years ago
|
||
Discussed this with Glenn a bit more.
We can add scaling to the Compositor API separately from adding support for external images.
I'll split off a separate bug just for the scaling subset, and start working on that.
Comment 4•4 years ago
|
||
This was taken care of in bug 1653048, right? Or are you planning to do anything else in this bug?
Updated•4 years ago
|
Description
•