cleanup: code thingys
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
use crate::wayland::{RENDER_DEVICE, vulkano_data::VULKANO_CONTEXT};
|
|
||||||
|
|
||||||
use super::shm_pool::ShmPool;
|
use super::shm_pool::ShmPool;
|
||||||
use bevy::asset::RenderAssetUsages;
|
use crate::wayland::{RENDER_DEVICE, vulkano_data::VULKANO_CONTEXT};
|
||||||
use bevy::{
|
use bevy::{
|
||||||
asset::{Assets, Handle},
|
asset::{Assets, Handle},
|
||||||
image::Image,
|
image::Image,
|
||||||
@@ -36,6 +34,7 @@ use vulkano::{
|
|||||||
sync::GpuFuture,
|
sync::GpuFuture,
|
||||||
};
|
};
|
||||||
use waynest::server::protocol::core::wayland::wl_shm::Format;
|
use waynest::server::protocol::core::wayland::wl_shm::Format;
|
||||||
|
|
||||||
/// Parameters for a shared memory buffer
|
/// Parameters for a shared memory buffer
|
||||||
pub struct ShmBufferBacking {
|
pub struct ShmBufferBacking {
|
||||||
pool: Arc<ShmPool>,
|
pool: Arc<ShmPool>,
|
||||||
|
|||||||
Reference in New Issue
Block a user