mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
canvas crate was home for both webgl and 2dcanvas impl, but it makes more sense to separate these two, by splitting webgl into standalone crate (like we already have for webgpu). Testing: Rust for fearless refactoring (but there are WPT tests just in case) Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
13 lines
355 B
Rust
13 lines
355 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)]
|
|
|
|
pub use webgl_mode::WebGLComm;
|
|
|
|
mod webgl_limits;
|
|
mod webgl_mode;
|
|
pub mod webgl_thread;
|
|
#[cfg(feature = "webxr")]
|
|
mod webxr;
|