1
0
Fork 0
forked from wry/wry

vulkan: implement all alpha modes

This commit is contained in:
Julian Orth 2026-02-21 14:10:59 +01:00
parent 69ca5d92e7
commit 56a6012a7c
12 changed files with 62 additions and 11 deletions

View file

@ -1,4 +1,5 @@
mod allocator;
mod alpha_modes;
mod blend_buffer;
mod bo_allocator;
mod buffer_cache;
@ -387,6 +388,10 @@ impl GfxContext for Context {
self.0.device.descriptor_buffer.is_some()
}
fn supports_alpha_modes(&self) -> bool {
self.0.device.descriptor_buffer.is_some()
}
fn create_dmabuf_buffer(
&self,
dmabuf: &OwnedFd,