Commit Graph
25 Commits
Author SHA1 Message Date
libretroadmin 9f13f0f051 Remove sleeps and timed polling from the emulation and render paths
The core no longer sleeps to pace itself: the frontend runs retro_run at
its own rate, so the frame throttle, the idle-vblank delay and the real
clock sync event (and its core option) are gone, and a stepping CPU hands
straight back instead of waiting 2 ms. Waits that polled now park on a
lock-free eventcount through Common/Thread/ParkingLot and are woken by
whoever changes the state: a paused GL emu thread, which also queues a
marker behind its last frame so pausing runs the render queue up to it
instead of polling; async I/O results; the software renderer when its
queue is full; Vulkan pipeline compiles; and debugger requests once
stepping ends. Boot joins the loader thread, cache shutdown joins its
read-ahead thread, and the slow-I/O simulation is removed.

The path browser, the HTTP and WebSocket servers, the Windows console and
the game info cache are left out of the core build. libretro/test gains
lrgltest, which drives the GL backend on a surfaceless EGL context through
every path that pauses or stops the emu thread; run.sh and the image
checks CI job run it on llvmpipe.
2026-10-08 17:58:42 +02:00
Henrik RydgårdandClaude Opus 5 6bb91bf2f0 Remove the "Up to 2" buffered frames option
Three frames in flight showed no performance benefit over two, so drop
the option and clamp existing configs (and the default) down to 2.
The now-unused "Up to 2" translation keys are left in place.

Fixes #21419

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JvJR8oJNSCimCM9KXVLjfq
2026-09-04 13:08:21 -06:00
Henrik Rydgård 33ae88af6d Delete option "Disable range culling". No games are known to require it anymore. 2026-05-31 23:31:06 +02:00
刘皓 a018cfc017 Update libretro-common and remove redundant libretro header files 2025-12-30 23:06:58 -05:00
Nejsplitter a573173373 Update libretro_core_options.h 2025-08-02 06:32:04 +01:00
Nukem 18cf60776f libretro: Analog deadzone and sensitivity options are additive (set to off by default) 2025-01-11 13:19:24 -05:00
Nukem d3aeff861e libretro: Restore Vulkan MSAA video option 2025-01-10 16:13:16 -05:00
Nukem 59a98f6f32 libretro: Remove unused vertex cache option 2025-01-09 21:22:37 -05:00
Bobby Smith 41d47710ad [Libretro] Fix crash on boot 2024-11-28 16:15:38 +01:00
Nejsplitter e6b84a7f71 [libretro] Expose "analog deadzone" and "analog sensitivity" options (#19540)
* [libretro] Expose "analog deadzone" option

* [libretro] Expose "analog deadzone" option

* Update libretro.cpp

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h
2024-10-22 23:20:17 +00:00
sonninnos 49b9319570 libretro: Revised software rendering option 2024-06-04 14:25:46 +03:00
sonninnos 328c09f016 libretro: Core option reorganizing 2024-06-03 21:48:12 +03:00
sonninnos 957c4c7d74 libretro: Add CropTo16x9 core option 2024-06-03 21:48:12 +03:00
sonninnos c8b7ae817d libretro: Add video renderer core option 2024-06-03 21:48:12 +03:00
sonninnos 3766a84792 libretro: core option label reformat + default 2024-05-28 15:55:26 +03:00
Eric Warmenhoven f1e25742b7 libretro: Add more options for locked cpu speed 2024-05-19 18:22:15 -04:00
Henrik Rydgård b7321f5bbf Hook up the Smart 2D texture filtering option for retroarch 2024-05-10 13:21:06 +02:00
BEN ENGLISCH d023c9887b [libretro] Expose "Memory Stick inserted" option 2023-12-22 17:20:16 -06:00
Bobby Smith 2663a85cc3 [Libretro] Remove "Skip Buffer Effects" core option 2023-05-26 13:07:32 +02:00
Bobby Smith 085027b067 [Libretro] Show/hide some options depending on the renderer + remove MSAA option 2023-05-20 13:32:48 +02:00
hunterk ce4e42eb2b expose analog-is-circle functionality to libretro 2023-01-13 17:22:24 -06:00
Stuart Kenny 6042af78ec Expose MSAA option for libretro. 2022-12-07 11:28:02 +00:00
Henrik Rydgård f597b4ca51 Blind libretro fix 2022-11-06 20:01:29 +01:00
Henrik Rydgård 200c055823 libretro fix, more games 2022-11-06 18:59:31 +01:00
bslenul 26a66dc37f [Libretro] Update core options to v2 + add a few new ones
Updated core options to v2 + added the following options: "Cache Full ISO in RAM", "PSP Model" and "Hardware Tesselation".
2022-11-02 20:34:24 +01:00