Difference between revisions of "User:Csnover"

Jump to navigation Jump to search
106 bytes added ,  16:53, 7 December 2017
no edit summary
Line 24: Line 24:
* Fix bad GUI on retina display & in SurfaceSdl mode
* Fix bad GUI on retina display & in SurfaceSdl mode
** For this to be fixed in SurfaceSdl, its design needs to be changed so that the final rendering surface is always the resolution of the window, the game surface must be blitted to this surface using some interpolated scaling, and then the overlay width/height will need to be changed to be always the window dimensions instead of the game dimensions. And then it will work just like the OpenGL one. Since SDL2’s scaling blitter is apparently busted on 2.0.4ish versions, I am unsure how this could be done without ugliness, but since the SDL2 API is designed to be GPU composited I _have_ to imagine there is a way to do this without terribly much hassle (or maybe we finally drop the SurfaceSdl renderer once and for all and use only OpenGL, which would also finally enable those GPU shaders!).
** For this to be fixed in SurfaceSdl, its design needs to be changed so that the final rendering surface is always the resolution of the window, the game surface must be blitted to this surface using some interpolated scaling, and then the overlay width/height will need to be changed to be always the window dimensions instead of the game dimensions. And then it will work just like the OpenGL one. Since SDL2’s scaling blitter is apparently busted on 2.0.4ish versions, I am unsure how this could be done without ugliness, but since the SDL2 API is designed to be GPU composited I _have_ to imagine there is a way to do this without terribly much hassle (or maybe we finally drop the SurfaceSdl renderer once and for all and use only OpenGL, which would also finally enable those GPU shaders!).
* Unicode already (the e.g. Chinese translations are forced to use pinyin, not acceptable to me in 2017!)


Infra:
Infra:
124

edits

Navigation menu