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
há 1 mês
Ray
5f497d0687
REVIEWED: `shapes_digital_clock` example
há 1 mês
Ray
cb369f8df7
Merge pull request #4985 from hmz-rhl/master
[examples] : adding new fancy clock
há 1 mês
Hamza RAHAL
3f228f4594
[examples] : adding new fancy clock
há 1 mês
Ray
8d319b1004
Merge pull request #4983 from M374LX/miniaudio-update
Update miniaudio to v0.11.22
há 1 mês
Ray
d218db9eec
Merge pull request #4982 from LainLayer/rgfw-timeout
Change `RGFW_window_eventWait` timeout to -1 to fix `EnableEventWaiting`
há 1 mês
github-actions[bot]
59338c2c29
Update raylib_api.* by CI
há 1 mês
Ray
714de02a88
Merge pull request #4980 from williewillus/pr4980
[rshapes] Fix incorrect parameter names in DrawRectangleGradientEx
há 1 mês
Ray
c81097505c
Merge pull request #4981 from garrisonhh/add-build-zig-zon-license
Add LICENSE to build.zig.zon
há 1 mês
Ray
53faf7ae74
Merge pull request #4977 from jestarray/patch-2
add const qualifier to ImageDrawTriangleFan and ImageDrawTriangleStrip arguments
há 1 mês
M374LX
bb5b5434a7
Update miniaudio to v0.11.22
há 1 mês
alqeeu
51958d6e2c
changed `RGFW_window_eventWait` timeout to -1
há 1 mês
garrisonhh
b52a9f8a04
Add LICENSE to build.zig.zon
há 1 mês
Vincent Lee
19ae6f2c2d
[rshapes] Fix incorrect parameter names in DrawRectangleGradientEx
Examining the code shows that the rectangle is drawn winding counterclockwise, starting
with the top left. Therefore the colors used should be in the order: topLeft, bottomLeft,
bottomRight, topRight.
However, the variables actually being used are topLeft, bottomLeft, topRight,
bottomRight. I was confused by this as I was getting striping where I didn't expect any.
Put another way, the last two parameters are misnamed.
This diff swaps the parameter names and their usages. The result is that no runtime
behaviour changes: the same parameter order yields the same visual result both before and
after this change, but the parameter names now correctly reflect what they are actually
used for.
You can actually see this in the implementation of DrawRectangleGradientV, which
(correctly) passes top, bottom, bottom, top to DrawRectangleGradientEx.
há 1 mês
github-actions[bot]
58a6846c8f
Update raylib_api.* by CI
há 1 mês
jestarray
296e3af470
add const qualifier to ImageDrawTriangleFan and ImageDrawTriangleStrip arguments
há 1 mês
Ray
924c87db33
Merge pull request #4976 from M374LX/rgfw-update-dev
Update RGFW to 1.7.5-dev
há 1 mês
M374LX
6eeaf1dd5b
Update RGFW to 1.7.5-dev
há 1 mês
Ray
c1bb53738e
Merge pull request #4974 from M374LX/rgfw-escape-fix
RGFW: fix Escape always closing the window
há 1 mês
Ray
9bf4388a4f
Merge pull request #4965 from M374LX/rgfw-update
Update RGFW to 1.7
há 1 mês
github-actions[bot]
3414d96eaf
Update raylib_api.* by CI
há 1 mês
Ray
20c0c92bdb
Merge pull request #4963 from meowstr/master
[rshapes] Add DrawEllipseV and DrawEllipseLinesV
há 1 mês
M374LX
bc2b2864e0
RGFW: fix Escape always closing the window
há 1 mês
Nikolas
b26f6d34ba
Allow passing options to raygui in build.zig
há 1 mês
Ray
b9c2ecc447
Merge pull request #4969 from M374LX/update-comments
Update comments
há 1 mês
github-actions[bot]
8f2ecfba4d
Update raylib_api.* by CI
há 1 mês
M374LX
3418172617
Update comments
há 1 mês
Ray
015db1641f
Merge pull request #4964 from M374LX/axes-comment
Update comment (gamepad axes)
há 1 mês
M374LX
a9525bfbc2
Update RGFW to 1.7
há 1 mês
M374LX
16f398b464
Update comment (gamepad axes)
há 1 mês
Meowster
6d5aedbd38
Add DrawEllipseV and DrawEllipseLinesV
há 1 mês
Ray
913c236487
REVIEWED: `MAX_GAMEPAD_AXES`
há 1 mês
Ray
341bfb22cc
REVIEWED: `MAX_GAMEPAD_AXEX` for consistency #4960
há 1 mês
Ray
2afae1b3e1
Merge pull request #4962 from M374LX/rgfw-rctrl
RGFW backend: add missing Right Control key
há 1 mês
Ray
f9fa63366c
Merge pull request #4958 from M374LX/unused-var
Remove unused variable
há 1 mês
M374LX
c0cf57f8f0
RGFW backend: add missing Right Control key
há 2 meses
M374LX
299f5350a4
Remove unused variable
há 2 meses
github-actions[bot]
2d952d8e94
Update raylib_api.* by CI
há 2 meses
Ray
d7148f5f9d
REDESIGNED: Base64 encoding/decoding functions
Found some issues with output size when padding required, just re-implemented both functions from scratch.
há 2 meses
Ray
5ddd13b775
REVIEWED: Hexadecimal formatting to be consistent
há 2 meses
github-actions[bot]
8d9c1cecb7
Update raylib_api.* by CI
há 2 meses
Ray
afb52b19a4
WARNING: REDESIGNED: `EncodeDataBase64()`, NULL terminated string returned
Note that returned output size considers the NULL terminator as an additional byte.
há 2 meses
Ray
21f0fe2a73
Removed some spaces
há 2 meses
Ray
e3b9dbe75b
Merge pull request #4947 from padmadevd/master
[rcore] Fixed bug in hovering and input for android
há 2 meses
Padmadev D
b6daa48a9c
Update rcore_android.c
corrected coding conventions.
há 2 meses
Ray
a1d57e83f0
Merge pull request #4948 from parzivail/bug/meshnormals
Fix typo in mesh animNormals
há 2 meses
Colby Newman
21e711b13f
Fix typo in mesh animNormals
há 2 meses
Padmadev D
5da2d10118
Update rcore_android.c
Bug Fix Update
Code to Ignore Hovering Inputs Completely
há 2 meses
Ray
2be18e2c54
Merge pull request #4944 from Pivok7/master
[examples] Basic pbr example fix
há 2 meses
Pivok
0ffc8c517f
Pbr example fix
há 2 meses