mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
- Move options configuring antialiasing and WebRender shader precache to the `Preferences` to group them with other related WebRender and DOM settings. - Remove the option to disable antialiasing for canvases. This was unused. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
24 lines
553 B
Rust
24 lines
553 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/. */
|
|
|
|
#![crate_name = "canvas_traits"]
|
|
#![crate_type = "rlib"]
|
|
#![deny(unsafe_code)]
|
|
|
|
use crossbeam_channel::Sender;
|
|
use euclid::default::Size2D;
|
|
|
|
use crate::canvas::CanvasId;
|
|
|
|
pub mod canvas;
|
|
#[macro_use]
|
|
pub mod webgl;
|
|
|
|
pub enum ConstellationCanvasMsg {
|
|
Create {
|
|
id_sender: Sender<CanvasId>,
|
|
size: Size2D<u64>,
|
|
},
|
|
Exit,
|
|
}
|