mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Add unique canvas IDs to all canvas operations.
This commit is contained in:
parent
a69eceefc9
commit
8a1590efc6
13 changed files with 334 additions and 155 deletions
|
@ -41,7 +41,7 @@ pub mod rpc;
|
|||
pub mod wrapper_traits;
|
||||
|
||||
use atomic_refcell::AtomicRefCell;
|
||||
use canvas_traits::canvas::CanvasMsg;
|
||||
use canvas_traits::canvas::{CanvasMsg, CanvasId};
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use libc::c_void;
|
||||
use net_traits::image_cache::PendingImageId;
|
||||
|
@ -133,6 +133,7 @@ pub struct HTMLCanvasData {
|
|||
pub source: HTMLCanvasDataSource,
|
||||
pub width: u32,
|
||||
pub height: u32,
|
||||
pub canvas_id: CanvasId,
|
||||
}
|
||||
|
||||
pub struct SVGSVGData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue