Commit Graph

1980 Commits

Author SHA1 Message Date
libretroadmin 8181583298 Try to reserve 'error' keyword for goto labels, use 'err' for
variables and arguments instead
2025-08-05 21:02:49 +02:00
libretroadmin 21773761d7 Silence some more code analysis warnings 2025-08-05 20:05:25 +02:00
libretroadmin 52e6566300 Some code analysis fixes 2025-08-05 19:52:00 +02:00
libretroadmin 1d4f663506 Silence code analysis warnings 2025-08-05 17:32:30 +02:00
刘皓 65d617e378
Implement fallback OpenGL symbol loader for Linux devices with EGL < 1.5 (#18135)
* Implement fallback OpenGL symbol loader for Linux devices with EGL < 1.5

The `eglGetProcAddress` in old versions of EGL can only get extension
functions, so we need to supplement it with another symbol loader that
can get non-extension functions.

* Close `g_egl_gl_dll` if `egl_init_context()` fails

* Close `g_egl_gl_dll` when VideoCore driver is destroyed

* Defer loading of `g_egl_gl_dll` until needed

* Fix typo in `egl_destroy_gl_dll`

* Remove redundant `ptr` variable in `egl_init_context`

* Remove redundant call to `egl_destroy_gl_dll` in `egl_init_context`

* Remove another redundant call to `egl_destroy_gl_dll` in `egl_init_context`
2025-08-05 06:50:22 +02:00
libretroadmin 732f598fd0 Define LEGACY_WIN32 only in the files that need it 2025-08-04 00:54:15 +02:00
libretroadmin d821ce1062 Some UCRT64 buildfixes 2025-07-20 06:19:58 +02:00
libretroadmin 99e7a80314 Inline uwpgdi.h into wgl_ctx.c 2025-07-19 21:59:54 +02:00
libretroadmin 4b5b214dea Move gdi_texture to gdi_gfx.c 2025-07-19 21:51:58 +02:00
libretroadmin 8ecb7eefd7 Merge rsx_defines.h into rsx_gfx.c 2025-07-19 21:47:56 +02:00
libretroadmin c9452d9263 (d3d9_common) Simplifications 2025-07-19 21:41:22 +02:00
libretroadmin d500a3ecc7 Remove some more gfx/common/ define files 2025-07-19 09:59:54 +02:00
libretroadmin 55a7e07959 Remove d3d8_defines.h 2025-07-19 07:03:59 +02:00
libretroadmin cb2f0ecbd2 Merge files 2025-07-19 06:58:33 +02:00
libretroadmin eff70a32e5 Merge D3D10 common files into D3D drivers 2025-07-19 05:07:42 +02:00
libretroadmin 59fd200b2c Merge files 2025-07-19 04:58:35 +02:00
libretroadmin d17f6eee1e Buildfixes 2025-07-19 04:53:32 +02:00
libretroadmin d86c1a89b8 Move structs to needed file 2025-07-19 04:42:10 +02:00
libretroadmin 9542a71c89 Move defines to source files 2025-07-19 03:41:09 +02:00
LibretroAdmin 25546f864a Revert "Move code around"
This reverts commit a018f935d0.
2025-07-18 18:16:27 +02:00
LibretroAdmin a018f935d0 Move code around 2025-07-18 17:24:46 +02:00
libretroadmin cd0f159238 Static code analysis warning fixes 2025-07-18 09:26:26 +02:00
libretroadmin cc826c4ca6 Cleanup some variable names and some other cleanups 2025-07-17 05:11:00 +02:00
libretroadmin 2dbb9f62d8 * Change some variable naming conventions
* Make return control paths less dependent on variables
2025-07-11 02:15:12 +02:00
sonninnos b2ca569521 Logging unification cleanups 2025-07-10 05:59:06 +03:00
Eric Warmenhoven 185971182d apple: provide option to disable metal argument buffers 2025-06-22 12:29:17 -04:00
sonninnos 0785dd7548 Unused variable cleanups 2025-06-15 05:08:24 +03:00
sonninnos c9eb36d4db Win32: Unused variable cleanup 2025-06-14 17:37:08 +03:00
sonninnos 8fd0d552ca
D3D: Add alternative max frame latency hack mode (#18010) 2025-06-11 22:25:42 +03:00
LibretroAdmin c9360262ec
Revert "Kiosk Mode Hotkey and Bug Fix ( For Empty Main Menu )" 2025-06-07 18:00:14 +02:00
Lhaete 19df62e737
Update win32_common.c with kiosk mode
added kiosk mode
2025-06-06 06:51:31 -04:00
sonninnos a1a50afc9e Dinput: Ignore first mouse click on focus 2025-05-27 23:47:06 +03:00
Aleksey Samoilov 759104acd4 Fix build with libdecor enabled 2025-05-09 19:01:31 +04:00
Aleksey Samoilov 6be300b07c Additional check for xdg-toplevel-icon for libdecor 2025-05-09 02:20:07 +04:00
Aleksey Samoilov 7264709776 Set toplevel icon for libdecor frame 2025-05-09 02:15:22 +04:00
Aleksey Samoilov 9cf03289ec Check if icon_buffer is created 2025-05-08 18:55:51 +04:00
Aleksey Samoilov c4ee58a81a Fix intend 2025-05-08 18:10:28 +04:00
Aleksey Samoilov 6c7b648570 [Wayland]: Add support for xdg-toplevel-icon-v1 2025-05-08 17:58:20 +04:00
sonninnos 10738f532c
Add shader hold hotkey and improve toggling logic (#17840) 2025-05-08 00:56:59 +03:00
pstef 66aa1424f0 Define WIN32_LEAN_AND_MEAN to avoid collision with winsock2 2025-04-12 10:45:08 +00:00
sonninnos 5365639a36
Win32: Fix pick core dialog (#17709) 2025-03-17 18:10:50 +02:00
pstef bad0e58372 CTR: more compiler warnings cleanup
* unsigned vs signed comparison
* copy DEBUG_VAR from wiiu - this one prints pointer values in a
  portable way
* prove GCC14 that a date formatted as "00/00/0000" can fit into 11
  bytes
* explicitly mention previously unhandled enum constants
* Adding GFX widgets in b9849f78f7 and 1235a7435e orphaned
  ctr_set_osd_msg(). Reinstate it instead of removing, since it's
  effectively the same as calling font_driver_render_msg, but with
  checks.
* remove sp from clobber list in inline assembly
2025-03-16 14:00:35 +00:00
sonninnos 3c1a1a44ae
Vulkan: Add adaptive vsync support (#17611) 2025-02-21 12:34:32 -08:00
LibretroAdmin f6006ae6ca Style nits 2025-02-12 10:17:35 +01:00
ScoochAside 9f5bc9c318
Fix issue #17438 (#17557) 2025-02-11 22:45:44 +01:00
Eric Warmenhoven 089a51f674
apple: enable emulated mailbox (#17506) 2025-02-02 01:22:18 +01:00
LibretroAdmin 350e4faf79 Fix some warnings 2025-01-20 01:30:27 +01:00
LibretroAdmin b211adaaca Function argument name standardization 2025-01-17 19:55:32 +01:00
LibretroAdmin 31b7812720 Function argument name standardization 2025-01-17 04:16:12 +01:00
LibretroAdmin 9da7af46c3 len variable/argument name standardization 2025-01-15 16:04:25 +01:00