Comments (4)
This does seem like something that'd be specific to Cocoa, high-DPI in particular can be fussy, especially now that it's the default. If you set this at the top of main...
SDL2.SDL.SDL_SetHint("FNA_GRAPHICS_ENABLE_HIGHDPI", "1");
... does that work around it?
from fna3d.
@flibitijibibo No, that has no effect.
from fna3d.
Understood - let's invalidate the cached viewport and scissor rectangles on resets within FNA3D then.
from fna3d.
A minor detail worth noting for this fix is that zeroing the cached value will likely break things, as the value tends to be used in other areas like viewport flipping and deferred command buffer recording, so it's likely we'll just have to add a uint8_t forceVPUpdate
that gets set to 1 on ResetBackbuffer.
from fna3d.
Related Issues (20)
- Add support for multiple windows (for real) HOT 4
- Latest FNA3D dll crashes on graphics device creation and destruction HOT 12
- FNA3D support for Retina not working for Vulkan/Metal HOT 4
- Remove ES3 option, restrict use to WebGL2
- Add support for dxvk-native HOT 5
- Update MojoShader to fix build issue with *BSD HOT 1
- Add GitHub Actions HOT 2
- Add visualc-gdk HOT 1
- [GDK] Add replay tool to visualc-gdk HOT 1
- Implement SDLRenderer with SDL_gpu
- Excessive render pass restarts for each draw HOT 1
- Move Vulkan defrag state into FNA3D_Defragmenter HOT 1
- Swapped ternary in D3D11 causes SW renderer to be used by default HOT 1
- Vulkan texture uploads for mipped compressed textures produce validation errors HOT 2
- Vulkan: image layouts incorrect when using mipped render targets
- Add support for HDR swapchains HOT 3
- question: possibility for system installed mojoshader? HOT 2
- Regression: D3D11 fails with NoSuitableGraphicsDeviceException in Wine HOT 9
- Compress FNA3D traces by default HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fna3d.