diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-05-28 14:48:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 12:48:55 +0000 |
commit | 02893770910bb1db27a5a3df80b0c98eeaa7d215 (patch) | |
tree | ff843804fa97f320f43eba6740ba6c76ace94b24 /components/servo/lib.rs | |
parent | 277eb87cc038480d105234aa5f2b70c1c5725178 (diff) | |
download | servo-02893770910bb1db27a5a3df80b0c98eeaa7d215.tar.gz servo-02893770910bb1db27a5a3df80b0c98eeaa7d215.zip |
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.
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r-- | components/servo/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 533abeeba73..d6b3d38590b 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -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 { |