We'll want this for video decoder threads. Essentially, on the main thread we'll want to create a bridge channel PMedia between PContent and PCompositor, or a direct PMedia channel to the chrome process when there's no compositor process (like with fennec). Then we want to migrate this channel to a video decoder thread.
Needed for faster video in Fennec.
Maybe blocks final if GL doesn't get our current impl playable, but doesn't block b3.
(In reply to comment #2)
> Maybe blocks final if GL doesn't get our current impl playable, but doesn't
> block b3.
in that case, 2.0-. Please re-nom if it becomes needed
While working on bug 564086, I realized we already support this --- the Channel binds to the thread on which Open() was called, and top-level actors have to call that manually. Nothing more needed here.
Actually, let me leave this open so I can write a test that puts my money where my mouth is. Might come across some fun things in the process.
Created attachment 493140 [details] [diff] [review]
Test that using actors on non-main threads works
Worked right after it first compiled, kinda scary.