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

@ -538,7 +538,6 @@ pub trait ShmGfxTexture: GfxTexture {
}
pub trait AsyncShmGfxTextureCallback {
#[expect(dead_code)]
fn completed(self: Rc<Self>, res: Result<(), GfxError>);
}
@ -689,7 +688,6 @@ pub fn cross_intersect_formats(
}
impl PendingShmUpload {
#[expect(dead_code)]
pub fn new(cancel: Rc<dyn AsyncShmGfxTextureUploadCancellable>, id: u64) -> Self {
Self { cancel, id }
}