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
|
@ -65,8 +65,6 @@ use euclid::Scale;
|
|||
))]
|
||||
use gaol::sandbox::{ChildSandbox, ChildSandboxMethods};
|
||||
use gfx::font_cache_thread::FontCacheThread;
|
||||
pub use gfx::rendering_context;
|
||||
use gfx::rendering_context::RenderingContext;
|
||||
pub use gleam::gl;
|
||||
use ipc_channel::ipc::{self, IpcSender};
|
||||
use log::{error, trace, warn, Log, Metadata, Record};
|
||||
|
@ -94,7 +92,7 @@ use webrender_api::{
|
|||
NativeFontHandle,
|
||||
};
|
||||
use webrender_traits::{
|
||||
CanvasToCompositorMsg, FontToCompositorMsg, ImageUpdate, WebRenderFontApi,
|
||||
CanvasToCompositorMsg, FontToCompositorMsg, ImageUpdate, RenderingContext, WebRenderFontApi,
|
||||
WebrenderExternalImageHandlers, WebrenderExternalImageRegistry, WebrenderImageHandlerType,
|
||||
};
|
||||
pub use {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue