61 Commits

Author SHA1 Message Date
UnknownShadow200
3abe11b093 D3D11: Fix recent commits introducing some bluriness into UI textures (thanks 123DMWM) 2024-11-03 07:44:57 +11:00
UnknownShadow200
9a514e3ade Move process crash handler and forced termination out of Logger.c 2024-10-21 19:58:08 +11:00
UnknownShadow200
76dc08d9a4 WIP on making it possible to use external 2D render code 2024-07-30 18:00:19 +10:00
UnknownShadow200
4cde887c24 Simplify backend type and expose Gfx.BackendType 2024-07-29 19:09:58 +10:00
UnknownShadow200
a1d5d241fa WIP rework on gfx matrix loading 2024-07-27 08:09:54 +10:00
UnknownShadow200
1383530c4f Fix 16bpp bitmaps 2024-06-28 16:52:16 +10:00
UnknownShadow200
8767f31d6e Simplify vsync and frame limiting code 2024-06-23 21:49:32 +10:00
UnknownShadow200
f6666d59b2 GameCube/Wii: Implement fog 2024-06-19 18:38:20 +10:00
UnknownShadow200
dfd12d8c9f Be more consistent with depth write enabling/disabling 2024-06-05 22:04:28 +10:00
UnknownShadow200
77e1786d29 Simplify graphics backend macros 2024-06-05 17:36:39 +10:00
UnknownShadow200
8b58359c12 Fix direct3d9 backend 2024-05-23 07:10:20 +10:00
UnknownShadow200
30d3fe47a8 simplify overriding graphics backend 2024-05-22 19:47:19 +10:00
UnknownShadow200
a5dfd2ef8b All graphics backends can now see if in 2D mode or not 2024-05-16 21:28:10 +10:00
UnknownShadow200
a4848d0f38 PS1: 10 to 15 FPS, sorta fix 2D rendering 2024-05-08 19:26:09 +10:00
UnknownShadow200
3081e4b304 Implement comment state tracking for Gfx_SetAlphaBlending 2024-05-04 21:22:53 +10:00
UnknownShadow200
fd1f6ef424 Implement comment state tracking for Gfx_SetAlphaTest 2024-05-04 12:35:18 +10:00
UnknownShadow200
629622e44c Allow creating textures from row stride that is different to image width 2024-04-19 17:27:44 +10:00
UnknownShadow200
1f8a3dbe96 Some options shouldn't apply in classic mode 2024-04-19 16:49:02 +10:00
UnknownShadow200
b24b25c094 Exiting reduced performance message now shown in top left for around a second instead of in chat 2024-04-09 17:31:15 +10:00
UnknownShadow200
ad5804344c 3DS: Try 3D again, also minorly optimise to use slightly less VRAM for render targets and slightly less unnecessary GPU commands 2024-04-07 07:58:14 +10:00
UnknownShadow200
add2537ecf 3DS: Give real 3D support a try 2024-04-06 14:27:59 +11:00
UnknownShadow200
1e8bbd0c4b More consistent struct field naming 2024-04-06 09:34:07 +11:00
UnknownShadow200
a03a5a9b78 3DS: Fix movement being stuck, crash when going into texture pack, extra logged line in citra logs 2024-04-05 22:26:33 +11:00
UnknownShadow200
8c62223f90 3DS/GameCube/Wii: Increase max texture width/height for little bit faster world rendering 2024-03-30 09:51:57 +11:00
UnknownShadow200
d9e2ec9ad9 Less warnings compiling on MinGW 2024-03-25 07:31:12 +11:00
UnknownShadow200
b2941dd4b6 oops 2024-03-25 07:04:34 +11:00
UnknownShadow200
32c135ea5d DS: On screen keyboard triggers Enter key behaviour when RETURN button is pressed, also fix to properly initialise it with initial text 2024-03-24 21:52:47 +11:00
UnknownShadow200
28324ddd40 DS: Http downloads stuff, try to reduce UI clipping with the world 2024-03-24 21:10:15 +11:00
UnknownShadow200
b7bde85cd4 Gfx_SetColorWrite remembers state across depth only rendering calls 2024-03-22 07:14:36 +11:00
UnknownShadow200
f5d8b44b8f Change X/Y/Z to lowercase in structs 2023-12-18 20:33:13 +11:00
UnknownShadow200
cc048431f6 N64: Support loading UI textures as 16bpp instead of 32bpp to squeeze even more out of the 4 KB TMEM 2023-12-04 22:07:55 +11:00
UnknownShadow200
9661c34b4f N64: Add support for non power of two textures for UI texures to squeeze a bit more into the 4 kb TMEM 2023-12-04 20:14:39 +11:00
UnknownShadow200
b603cad5ae Gfx: Initial work on supporting graphics backends whose available VRAM size for texture storage is smaller than their maximum supported texture dimensions 2023-11-28 09:00:13 +11:00
UnknownShadow200
05490de16b Slightly optimise human model rendering 2023-11-10 07:15:59 +11:00
UnknownShadow200
776906ebce Move entity name rendering into more general EntityRenderers module 2023-11-03 18:34:05 +11:00
UnknownShadow200
a81d9d7ee9 Try to handle out of VRAM when allocating vertex buffers across all graphics backends 2023-11-03 08:50:41 +11:00
UnknownShadow200
3fa4ef6d44 Unify texture creation checking, and defer dynamic vertex buffer allocation for rain/snow until actually needed 2023-11-03 08:06:16 +11:00
UnknownShadow200
a4fb5098ef Eliminate usage of Gfx_UpdateDynamicVb_IndexedTris 2023-10-26 21:58:13 +11:00
UnknownShadow200
4042e3e742 Launcher: Simplify creating screens with non-fixed number of widgets 2023-10-11 19:49:06 +11:00
UnknownShadow200
76c175e61d Make it compile in MSVC again 2023-10-07 22:20:30 +11:00
UnknownShadow200
522fc17f68 3DS: See if this helps with system freezes
GameCube: Invert vertical joystick direction for bettera camera movement (Thanks GK6475)
2023-07-31 21:57:44 +10:00
UnknownShadow200
1855213e6d Better BeOS compatibility 2023-06-29 19:46:24 +10:00
UnknownShadow200
3a3986ad65 WIP on new Gfx_CreateIB2 which takes a callback function to initialise the index buffer, instead of requiring all the data to be allocated by the caller (on the stack with current InitDefaultResources implementation)
This was problematic for the Wii/Gamecube, as while the default index buffer is 192 kb in size, libogc only initialises the stack to be ~128 kb in size
2023-06-13 00:17:31 +10:00
UnknownShadow200
6cd5801d78 Fix webclient mostly not working due to 9411b5d63f29a43dd3651b1525b6d8b714b90dbc
I forgot that floating point suffixes weren't supported in older GLSL versions, so it would fail to compile the shader with 'floating-point suffix unsupported prior to GLSL ES 3.00
2023-04-23 23:16:21 +10:00
UnknownShadow200
cc18e0a449 Direct3D11: Use reverse depth buffer for better range precision (Thanks 123DMWM)
This should reduce Z-fighting with very far away objects, e.g. the water/bedrock outside level with a view distance of 4096
2023-04-23 21:23:40 +10:00
UnknownShadow200
9411b5d63f Direct3D 11/OpenGL modern: Fix fog being very slightly different compared to Direct3D 9/OpenGL backends 2023-04-23 16:35:49 +10:00
UnknownShadow200
da8ab3d979 Simplify projection matrix calculation and add more explanatory comments 2023-04-23 12:29:31 +10:00
UnknownShadow200
11846d8ac8 Don't show entering reduced performance mode in regular chat, move it to topright status 2022-05-18 22:17:45 +10:00
UnknownShadow200
9d4e8d1e2c Also support space in game process command line arguments on unix/android/iOS platform backends 2022-02-26 09:58:37 +11:00
UnknownShadow200
cafd511d75 Fix not working in webclient 2022-01-01 17:27:02 +11:00