Jay Oster

Results 366 comments of Jay Oster

From a quick survey, it seems like this is actually a bug in the depths of `wgpu`. See the linked issue for details. I'm happy to document the required dependency,...

The upstream issue has been resolved, and consumers of `wgpu` will be able to opt-in to `libx11` if they need it, using something like the following `Cargo.toml` entry: ```toml [target.'cfg(all(unix,...

I was thinking about this the other day, but I'll log it here for documentation: I think this could be a suitable replacement for the outstanding issue in #151. In...

We depend on [`raw-window-handle`](https://docs.rs/raw-window-handle) which is a shared dependency with `winit`, and needs to be updated to maintain compatibility with newer versions. https://github.com/parasyte/pixels/blob/41063dbf4b105c45c7bb560f63b41459957faa85/Cargo.toml#L23

Just looked into this. We are blocked on https://github.com/gfx-rs/wgpu/pull/2918 and #289

Heads up! This is getting addressed by #302. `winit` 0.27.2 is backward compatible with `raw-window-handle` 0.4, so you should be able to easily update your project since #300 landed.

I do agree with the last comment. It seems like it should not be much more work to take ownership of the window. The advantage is that it would keep...

There’s some discussion in #275 and #268 that is probably helpful. The short answer is that you can use the scaled texture as an egui image and place it into...

Unfortunately, we are at the mercy of what `wgpu` offers, and `wgpu` is at the mercy of what Vulkan and GPU drivers offer. In retrospect, `enable_vsync()` may not have been...

Just so I don't forget later, here are some examples of how this is currently handled in the wild: - [`wgpu` examples](https://github.com/gfx-rs/wgpu/blob/a92b8549a8e2cb9dac781bafc5ed32828f3caf46/wgpu/examples/framework.rs#L228-L253) - [`egui_glium`](https://github.com/emilk/egui/blob/60fd70921df538c5cfab9918ddac1a2df5a06c66/egui_glium/src/backend.rs#L238-L245) - [`veloren`](https://gitlab.com/veloren/veloren/-/blob/278b64deab6de615e9e32bb264db0284054d9ffd/voxygen/src/run.rs#L180-205) - The [clock implementation](https://gitlab.com/veloren/veloren/-/blob/278b64deab6de615e9e32bb264db0284054d9ffd/common/src/clock.rs)...