tirbofish/dropbear · commit
7c471d275ad3beb11e6f4f8703e0391ddf9889f4
feature: euca-runner now works successfully. fix: got windowing options available for the redback-runtime fix: some general fixes here and there. jarvis, run github actions. Unverified
@@ -72,7 +72,7 @@ dyn-hash = "1.0" semver = { version = "1.0", features = ["serde"] } rapier3d = { version = "0.32", features = [ "simd-stable", "serde-serialize" ] } cbindgen = { version = "0.29.2" } -postcard = { version = "1.1"} +postcard = { version = "1.1", features = ["use-std"]} pollster = "0.4" yakui = { git = "https://github.com/SecondHalfGames/yakui", rev = "af8fc1f", features = ["default-fonts"] } yakui-wgpu = { git = "https://github.com/SecondHalfGames/yakui", rev = "af8fc1f" } @@ -7,7 +7,7 @@ use crate::{ use dropbear_future_queue::FutureQueue; use egui::{Context, TextureId}; use glam::{DMat4, DQuat, DVec3, Mat3}; -use parking_lot::Mutex; +use parking_lot::{Mutex, RwLock}; use std::sync::Arc; use wgpu::*; use winit::window::Window; @@ -21,6 +21,7 @@ pub struct SharedGraphicsContext { pub queue: Arc<Queue>, pub surface: Arc<Surface<'static>>, pub surface_format: TextureFormat, + pub surface_config: Arc<RwLock<SurfaceConfiguration>>, pub instance: Arc<wgpu::Instance>, pub layouts: Arc<BindGroupLayouts>, pub window: Arc<Window>, @@ -77,6 +78,7 @@ impl SharedGraphicsContext { mipmapper: state.mipmapper.clone(), yakui_renderer: state.yakui_renderer.clone(), yakui_texture: state.yakui_texture.clone(), + surface_config: state.config.clone(), } } } @@ -85,7 +85,7 @@ pub struct State { pub surface_format: TextureFormat, pub device: Arc<Device>, pub queue: Arc<Queue>,
Large diffs are not rendered by default. Showing the first 50 of 930 lines. Show full diff