1
0
Fork 0
forked from wry/wry

vulkan: implement async shm textures

This commit is contained in:
Julian Orth 2024-09-07 17:48:08 +02:00
parent b57d86c1bc
commit c712efcd35
10 changed files with 551 additions and 39 deletions

View file

@ -36,7 +36,6 @@ pub struct ReadWriteWork {
unsafe impl Send for ReadWriteWork {}
impl ReadWriteWork {
#[expect(dead_code)]
pub unsafe fn new() -> Self {
let cancel = Arc::new(CancelState::default());
ReadWriteWork {
@ -53,7 +52,6 @@ impl ReadWriteWork {
}
}
#[expect(dead_code)]
pub fn config(&mut self) -> &mut ReadWriteWorkConfig {
self.config.as_mut().unwrap()
}