Add GLPlayerThreads in canvas

This factory will launch a GLPlayerThread from the application main
thread.

And add GLPlayerThread, the multiplexor for media players' video
renderers. This thread will receive commands from htmlmedialement
and webrenderer.

This code is also inspired by webgl_threads and WebGLThread.
This commit is contained in:
Víctor Manuel Jáquez Leal 2019-06-11 14:47:05 +02:00 committed by Fernando Jiménez Moreno
parent 0d52d5d304
commit 43467b4290
4 changed files with 91 additions and 0 deletions

View file

@ -16,5 +16,7 @@ mod raqote_backend;
pub mod canvas_data;
pub mod canvas_paint_thread;
pub mod gl_context;
mod media_mode;
pub mod media_thread;
mod webgl_mode;
pub mod webgl_thread;