mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move RenderingContext
to webrender_traits
(#32386)
The `gfx_traits` crate is gradually become just about text and fonts and this is one of the few things there that is standing in the way of this. Eventually `webrender_traits` will be the general cross-process compositor API, so this sort of makes sense as well.
This commit is contained in:
parent
277eb87cc0
commit
0289377091
14 changed files with 17 additions and 14 deletions
|
@ -10,7 +10,6 @@ use std::time::Duration;
|
|||
use base::id::{PipelineId, TopLevelBrowsingContextId};
|
||||
use embedder_traits::{EmbedderProxy, EventLoopWaker};
|
||||
use euclid::Scale;
|
||||
use gfx::rendering_context::RenderingContext;
|
||||
use keyboard_types::KeyboardEvent;
|
||||
use libc::c_void;
|
||||
use script_traits::{
|
||||
|
@ -22,6 +21,7 @@ use servo_url::ServoUrl;
|
|||
use style_traits::DevicePixel;
|
||||
use webrender_api::units::{DeviceIntPoint, DeviceIntRect, DeviceIntSize, DevicePoint, DeviceRect};
|
||||
use webrender_api::ScrollLocation;
|
||||
use webrender_traits::RenderingContext;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum MouseWindowEvent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue