8000 Hi-DPI support · Issue #238 · veldrid/veldrid · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Hi-DPI support #238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tzachshabtay opened this issue Nov 21, 2019 · 4 comments
Open

Hi-DPI support #238

tzachshabtay opened this issue Nov 21, 2019 · 4 comments

Comments

@tzachshabtay
Copy link
Contributor

Hi, I wanted to check in on the hi dpi support branch: https://github.com/mellinoe/veldrid/tree/hi-dpi

It looks like it hasn't been merged in yet, what are the plans for this?

Thanks.

@tzachshabtay
Copy link
Contributor Author

Hi @mellinoe, any update on this?
This is the only blocker for me to officially adopt your library in my project. Thanks

@AartOdding
Copy link

I am also very much interested in having high dpi support. I am for now using the hi-dpi branch however there are still some issues regarding switching monitors. Are there any plans to solve the last issues and support hi-dpi in master?

@Maia-Everett
Copy link

Yes, please.

SDL supports HiDPI, but there's currently no way to pass SDL_WindowFlags.AllowHighDpi to a Veldrid managed SDL window, and even if you do, it breaks mouse input. This results in window contents being blurry under Wayland, because SDL draws at 1x scale and stretches the bitmap.

See goatcorp/XIVLauncher.Core#152

@smoogipoo
Copy link
Contributor
smoogipoo commented Apr 23, 2024

If you're able to, I suggest BYO version of SDL2, because the one in this repo is out of date not going to be maintained.

Until recently, we've maintained our SDL2 C# package here: https://www.nuget.org/packages/ppy.SDL2-CS/1.0.741-alpha We're unlikely to keep actively maintaining it going forward since we've now moved to SDL3 (which you can use with Veldrid too but bear in mind it is pre-release at this stage), but SDL2 itself is not really receiving many important changes anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
0