Home
last modified time | relevance | path

Searched refs:event_device_id (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/gpu_display/src/
Dgpu_display_x.rs540 EventDevice { event_device_id: u32 },
639 fn event_device(&self, event_device_id: u32) -> Option<&EventDevice> { in event_device()
640 ObjectId::new(event_device_id).and_then(move |id| self.event_devices.get(&id)) in event_device()
643 fn event_device_mut(&mut self, event_device_id: u32) -> Option<&mut EventDevice> { in event_device_mut()
644 ObjectId::new(event_device_id).and_then(move |id| self.event_devices.get_mut(&id)) in event_device_mut()
669 fn handle_event_device(&mut self, event_device_id: u32) { in handle_event_device()
670 if let Some(event_device) = self.event_device(event_device_id) { in handle_event_device()
679 if let DisplayXPollToken::EventDevice { event_device_id } = wait_event.token { in handle_poll_ctx()
680 if let Some(event_device) = self.event_device_mut(event_device_id) { in handle_poll_ctx()
687 if let Some(event_device) = self.event_device(event_device_id) { in handle_poll_ctx()
[all …]
Dlib.rs161 fn release_event_device(&mut self, event_device_id: u32); in release_event_device()
162 fn attach_event_device(&mut self, surface_id: u32, event_device_id: u32); in attach_event_device()
319 pub fn release_event_device(&mut self, event_device_id: u32) { in release_event_device()
320 self.inner.release_event_device(event_device_id) in release_event_device()
323 pub fn attach_event_device(&mut self, surface_id: u32, event_device_id: u32) { in attach_event_device()
324 self.inner.attach_event_device(surface_id, event_device_id); in attach_event_device()
/external/crosvm/devices/src/virtio/gpu/
Dvirtio_gpu.rs183 let event_device_id = display.import_event_device(event_device)?; in import_event_device() localVariable
185 display.attach_event_device(s, event_device_id) in import_event_device()
187 self.event_devices.insert(event_device_id, scanout); in import_event_device()
236 for event_device_id in self.event_devices.keys() { in set_scanout()
237 display.attach_event_device(surface_id, *event_device_id); in set_scanout()