Winit doesn't detect eDP-1 screen.
Hello,
I've discovered radiance few days ago, I started testing few things with the code to make the current master branch more usable, however something that I don't get is that the screen output node is not able to detect my laptop screen as usable surface. From what I understand the video output is managed inside the src/bin/winnit_output/mod.rs, but I quite don't know what should be modified to make it work.
I recently updated egui & winit to their latest versions, and switched to eframe since it now natively supports wgpu. This required making a bunch of minor edits since their APIs have changed. I haven't yet gotten around to making these edits to ScreenOutputNode. This is close to the top of my priority list to re-enable. If you want to take a look, here is the starting point for what needs to change / be ported:
-
This
cfgdisables the entire file and should be removed - These two lines should be re-enabled so that the the renderer knows about the screen render targets
Also--the existing code uses winit directly. It may be worth looking into whether it's worth using eframe's new multi-window support.
Screen output should be re-implemented now, let me know if it works for you!