1
0
Fork 0
forked from wry/wry

render: add support for explicit sync

This commit is contained in:
Julian Orth 2024-03-21 23:26:34 +01:00
parent 1b4492c670
commit 816315170f
22 changed files with 531 additions and 94 deletions

View file

@ -4,7 +4,7 @@ use {
cursor::KnownCursor,
fixed::Fixed,
format::ARGB8888,
gfx_api::{GfxContext, GfxFramebuffer},
gfx_api::{AcquireSync, GfxContext, GfxFramebuffer, ReleaseSync},
ifs::zwlr_layer_shell_v1::OVERLAY,
portal::ptl_display::{PortalDisplay, PortalOutput, PortalSeat},
renderer::renderer_base::RendererBase,
@ -223,6 +223,8 @@ impl GuiElement for Button {
r.scale(),
None,
None,
AcquireSync::None,
ReleaseSync::None,
);
}
}
@ -325,6 +327,8 @@ impl GuiElement for Label {
r.scale(),
None,
None,
AcquireSync::None,
ReleaseSync::None,
);
}
}