1
0
Fork 0
forked from wry/wry

gfx: identify wl_buffer by address during ctx change

This commit is contained in:
Julian Orth 2026-02-10 20:24:56 +01:00
parent 882aa7bd24
commit 86a765718d
4 changed files with 10 additions and 11 deletions

View file

@ -7,7 +7,6 @@ use {
clm::{CL_CHANGED_DESTROYED, CL_CHANGED_NEW, ClMatcherChange},
},
ifs::{
wl_buffer::WlBuffer,
wl_display::WlDisplay,
wl_registry::WlRegistry,
wl_surface::{WlSurface, commit_timeline::CommitTimelines},
@ -22,7 +21,6 @@ use {
buffd::{MsgFormatter, MsgParser, MsgParserError, OutBufferSwapchain},
copyhashmap::{CopyHashMap, Locked},
errorfmt::ErrorFmt,
event_listener::EventSource,
numcell::NumCell,
pending_serial::PendingSerial,
pid_info::{PidInfo, get_pid_info, get_socket_creds},
@ -196,7 +194,6 @@ impl Clients {
changed_properties: Default::default(),
destroyed: Default::default(),
acceptor: acceptor.clone(),
gfx_ctx_changed: Default::default(),
});
track!(data, data);
global.update_capabilities(&data, bounding_caps, set_bounding_caps_for_children);
@ -324,7 +321,6 @@ pub struct Client {
pub changed_properties: Cell<ClMatcherChange>,
pub destroyed: CopyHashMap<CritMatcherId, Weak<dyn CritDestroyListener<Rc<Self>>>>,
pub acceptor: Rc<AcceptorMetadata>,
pub gfx_ctx_changed: EventSource<WlBuffer>,
}
pub const NUM_CACHED_SERIAL_RANGES: usize = 64;