mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2025-01-30 15:25:15 +00:00
qemu-rdw: use the shared library
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
8c5fa2a4f9
commit
cbe0cf891c
@ -13,7 +13,7 @@ once_cell = "1.5"
|
||||
zbus = { version = "2.0.0-beta.7" }
|
||||
qemu-display = { path = "../qemu-display" }
|
||||
keycodemap = { path = "../keycodemap" }
|
||||
rdw = { package = "rdw4", version = "0.1.0" }
|
||||
rdw = { package = "rdw4", version = "0.1.0", features = ["bindings"] }
|
||||
futures-util = "0.3.13"
|
||||
futures = "0.3.13"
|
||||
async-trait = "0.1.48"
|
||||
|
@ -13,7 +13,7 @@ mod imp {
|
||||
|
||||
#[repr(C)]
|
||||
pub struct RdwDisplayQemuClass {
|
||||
pub parent_class: rdw::imp::RdwDisplayClass,
|
||||
pub parent_class: rdw::RdwDisplayClass,
|
||||
}
|
||||
|
||||
unsafe impl ClassStruct for RdwDisplayQemuClass {
|
||||
@ -22,7 +22,7 @@ mod imp {
|
||||
|
||||
#[repr(C)]
|
||||
pub struct RdwDisplayQemu {
|
||||
parent: rdw::imp::RdwDisplay,
|
||||
parent: rdw::RdwDisplay,
|
||||
}
|
||||
|
||||
impl std::fmt::Debug for RdwDisplayQemu {
|
||||
@ -160,7 +160,7 @@ mod imp {
|
||||
}
|
||||
ScanoutDMABUF(s) => {
|
||||
widget.set_display_size(Some((s.width as _, s.height as _)));
|
||||
widget.set_dmabuf_scanout(rdw::DmabufScanout {
|
||||
widget.set_dmabuf_scanout(rdw::RdwDmabufScanout {
|
||||
width: s.width,
|
||||
height: s.height,
|
||||
stride: s.stride,
|
||||
|
Loading…
x
Reference in New Issue
Block a user