mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -21,7 +21,6 @@ use crossbeam_channel::Sender;
|
|||
use embedder_traits::Cursor;
|
||||
use euclid::{Point2D, Rect, Scale, Transform3D, Vector2D};
|
||||
use fnv::{FnvHashMap, FnvHashSet};
|
||||
use gfx::rendering_context::RenderingContext;
|
||||
use image::{DynamicImage, ImageFormat};
|
||||
use ipc_channel::ipc;
|
||||
use libc::c_void;
|
||||
|
@ -49,7 +48,8 @@ use webrender_api::{
|
|||
use webrender_traits::display_list::{HitTestInfo, ScrollTree};
|
||||
use webrender_traits::{
|
||||
CanvasToCompositorMsg, CompositorHitTestResult, FontToCompositorMsg, ImageUpdate,
|
||||
NetToCompositorMsg, ScriptToCompositorMsg, SerializedImageUpdate, UntrustedNodeAddress,
|
||||
NetToCompositorMsg, RenderingContext, ScriptToCompositorMsg, SerializedImageUpdate,
|
||||
UntrustedNodeAddress,
|
||||
};
|
||||
|
||||
use crate::gl::RenderTargetInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue