render: split module into gfx_apis and renderer
This commit is contained in:
parent
5e8a6eb86f
commit
d650b3375d
68 changed files with 219 additions and 222 deletions
|
|
@ -1,11 +1,11 @@
|
|||
use {
|
||||
crate::{
|
||||
gfx_apis::gl::RenderContext,
|
||||
ifs::wl_seat::POINTER,
|
||||
portal::{
|
||||
ptl_render_ctx::PortalRenderCtx, ptl_screencast::ScreencastSession,
|
||||
ptr_gui::WindowData, PortalState,
|
||||
},
|
||||
render::RenderContext,
|
||||
utils::{
|
||||
bitflags::BitflagsExt, clonecell::CloneCell, copyhashmap::CopyHashMap,
|
||||
errorfmt::ErrorFmt, oserror::OsError,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use {crate::render::RenderContext, std::rc::Rc, uapi::c};
|
||||
use {crate::gfx_apis::gl::RenderContext, std::rc::Rc, uapi::c};
|
||||
|
||||
pub struct PortalRenderCtx {
|
||||
pub dev_id: c::dev_t,
|
||||
|
|
|
|||
|
|
@ -4,9 +4,10 @@ use {
|
|||
cursor::KnownCursor,
|
||||
fixed::Fixed,
|
||||
format::ARGB8888,
|
||||
gfx_apis::gl::{Framebuffer, RenderContext, Texture},
|
||||
ifs::zwlr_layer_shell_v1::OVERLAY,
|
||||
portal::ptl_display::{PortalDisplay, PortalOutput, PortalSeat},
|
||||
render::{Framebuffer, RenderContext, RendererBase, Texture},
|
||||
renderer::renderer_base::RendererBase,
|
||||
scale::Scale,
|
||||
text::{self, TextMeasurement},
|
||||
theme::Color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue