Closed Nazariglez closed 3 years ago
I don't think that this is related to Mac or that there is something wrong with my code anymore. It's a high-resolution issue related to the retina display. In a monitor with a 1.0 DPI it works great while it works poorly on the retina display due to being rendering 4x pixels.
This is not related to glow
but I'm leaving this here just in case somebody has the same issue and ends up here. Glutin/Winit has an option called with_disallow_hidpi
that I think it's meant to address this issue but seems like it's not working.
Thanks @grovesNL!
Hi @grovesNL, this is not an issue but it's the only way that I found to ask you about it.
I'm working on this project which is powered by glow. I'm adding support for instancing in the
f/instancing
branch and I noticed that instancing is way slower than batching on Mac. I'm not sure about windows because I have no one right now to test it. This doesn't surprise me because OpenGL has not been updated on Mac since the beginning of the time ;).The performance is so bad that the window froze a little and it's hard to drag it from the screen. I use a FPS counter on my project, and with 10ks instances the FPS are around 40 and with 30ks around 19.
But as I'm using a really old version (3.3) I was hoping to be doing something wrong, this is the simplest test I made (no targeting 3.3 for the test but same results):
Do you think that there is something wrong with my code?
Thanks!