mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
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.
22 lines
520 B
Rust
22 lines
520 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
#![deny(unsafe_code)]
|
|
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
#[cfg(feature = "canvas2d-azure")]
|
|
mod azure_backend;
|
|
|
|
#[cfg(feature = "canvas2d-raqote")]
|
|
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;
|