raylib/src/platforms
Repository files (latest commit first)
Filename Latest commit message Latest commit date
katonar 060bd787b1 Refactor: Replace DRM swap buffer implementation with asynchronous page-flipping and framebuffer caching
The original implementation created/destroyed framebuffers (FBs) per-frame, leading to kernel overhead and screen tearing. This commit replaces it with a different approach using:
- Asynchronous `drmModePageFlip()` with vblank sync
- Framebuffer caching to reduce repeated FB creation/removal operations
- Proper resource management through BO callbacks and buffer release synchronization
- Added error handling for busy displays, cache overflows, and flip failures
- Event-driven cleanup via page_flip_handler to prevent GPU/scanout conflicts

Co-authored-by: rob-bits
2025-06-05 15:50:07 +02:00
..
rcore_android.c Update rcore_android.c 2025-05-19 15:09:58 +05:30
rcore_desktop_glfw.c Update comments 2025-05-29 23:01:48 -03:00
rcore_desktop_rgfw.c changed RGFW_window_eventWait timeout to -1 2025-06-01 17:37:31 +03:00
rcore_desktop_sdl.c Update comments 2025-05-29 23:01:48 -03:00
rcore_drm.c Refactor: Replace DRM swap buffer implementation with asynchronous page-flipping and framebuffer caching 2025-06-05 15:50:07 +02:00
rcore_template.c Improve description of RestoreWindow 2025-03-28 10:39:22 -06:00
rcore_web.c REVIEWED: MAX_GAMEPAD_AXES 2025-05-29 12:51:08 +02:00