Commit Graph

5252 Commits

Author SHA1 Message Date
Ray
4dbe04b250 Update config.h 2025-11-13 11:26:54 +01:00
Ray
8ae2c9cf5f FIX: LoadFontDataBDF() #5346 2025-11-12 10:22:56 +01:00
Ray
7f82da0031 Update rlsw.h 2025-11-11 17:40:21 +01:00
Ray
fcaea5b1a1 Remove trailing spaces 2025-11-11 17:39:53 +01:00
Ray
4e8b087ffe REVIEWED: ComputeSHA256() 2025-11-11 17:15:40 +01:00
Ray
0b4815b8fe WARNING: REMOVED: GIT recording option, added example 2025-11-09 13:43:08 +01:00
Le Juez Victor
4ff296bf0b fix clipping issue (#5342) 2025-11-08 11:28:15 +01:00
JohnnyCena123
12ce106661 [rcore][glfw] fix IsWindowFocused() inverted logic (#5333) 2025-11-04 18:17:37 +01:00
iann
48c1619d20 added consistent behavior for texture in opengl11 draw states and fixed loadobj texcoord behavior for opengl11 context (#5328) 2025-11-04 17:52:53 +01:00
NoNameAuthenticated
e92832fc6d Update rcore_desktop_sdl.c (#5332) 2025-11-04 17:50:54 +01:00
Ray
cfb43fa999 Update rcore_desktop_sdl.c 2025-11-03 09:45:18 +01:00
komunre
ed68a4fcce Fixed bugs in SDL backend (#5325) 2025-11-03 09:43:20 +01:00
Ray
ee3be5799a Update raymath.h 2025-11-02 19:59:46 +01:00
Ray
87d49262f8 REVIEWED: raymath: MatrixCompose() 2025-11-02 19:53:45 +01:00
EDBC_REPO
81004135a4 adding Matrix MatrixCompose( translate, rotation, scale ) to raymath.h (#5324) 2025-11-02 19:48:11 +01:00
Tiago Ferreira
cc83b2bd8e fix: cursor lock/unlock inconsistent behaviour on glfw, rgfw, sl (#5323) 2025-11-02 19:46:57 +01:00
Ray
3cf3b309c6 REVIEWED: Flags set/clear #5169 2025-11-02 19:40:45 +01:00
JohnnyCena123
5fbf67a630 [rcore] Use FLAG_* macros where possible (#5169)
* use FLAG_* macros where possible

* rename `FLAG_CHECK()` to `FLAG_IS_SET()`

* remove unnecessary equality checks

* fix issues

---------

Co-authored-by: Ray <raysan5@gmail.com>
2025-11-02 19:24:47 +01:00
Ray
0246621210 REVIEWED: SIMD intrinsics checks and usage 2025-11-01 21:06:18 +01:00
Arrangemonk
dfc94f64d1 Revert "UpdateModelAnimation does matrixtranspose(matrixinvert) only once per…" (#5322)
This reverts commit e3a562ab57.
2025-10-31 20:43:27 +01:00
Le Juez Victor
bca54047f9 [rlsw] Review depth formats and fix depth writing (#5317)
* review depth format/writing

* adding a note
2025-10-30 19:17:18 +01:00
Ray
127cc1c79e REVIEWED: Makefile to support software renderer 2025-10-29 22:45:37 +01:00
Ray
3389c80f49 Update rlsw.h 2025-10-29 11:33:08 +01:00
Ray
f16d5ce1dd REVIEWED: Make sure SSE is being used when compiling with MSVC
Added log info and some formatting for visibility
2025-10-29 11:12:04 +01:00
Le Juez Victor
cbff0fa22c [rlsw] Fix axis aligned quad detection (#5314)
* fix `sw_quad_is_axis_aligned`

* align fix

* remove swGetColorBuffer and tweak DRM

* review alignment
2025-10-28 23:50:04 +01:00
Ray
bf5c00f7e0 RE-ADDED: swGetColorBuffer() for convenience #5312
`PLATFORM_DRM` depends on it but if there is a better approach to get the buffer, it can just be removed again and replaced by alternative.
2025-10-28 20:57:31 +01:00
Ray
a844a943b5 It seems alignas() is C11 and raylib is C99, so not fully supported #5312
Added a workaround but it has other probably undesired implications
2025-10-28 20:45:21 +01:00
Ray
f106301d46 ADDED: Some code sample for RISC-V RVV vector instructions -WIP- 2025-10-28 20:11:29 +01:00
Ray
78870335e6 Update rlgl.h 2025-10-28 19:55:35 +01:00
Ray
93a21c7e13 Support other graphic backends on some platforms 2025-10-28 19:55:28 +01:00
Le Juez Victor
f4ed8fc50e [rlsw] Simplify framebuffer logic and add blit/copy fast path (#5312)
* consistency tweak

* unified color and depth buffer

* tweaks

* review the storage of clear values + complete get/set depth value

* copy/blit fast path

* better simd read/write

* framebuffer alignment

* fix 'typo'
my french slipped out
2025-10-28 17:59:59 +01:00
Uneven Prankster
3b6a68ba69 Improve support for PLATFORM_DESKTOP_WIN32 in src/Makefile (#5311)
Co-authored-by: Uneven Prankster <unevenprankster@pm.me>
2025-10-27 12:12:42 +01:00
Ray
0fbc4272d0 Remove trailing spaces 2025-10-26 18:22:23 +01:00
Le Juez Victor
a818508158 [rlsw] Completeness of glDraw functions (#5304)
* adding `glDrawElements`

* tweaks

* fix `glDrawArrays` and `glDrawElements` behavior
2025-10-26 00:58:56 +02:00
Le Juez Victor
e501dfad60 [rlsw] Subpixel correction (#5300)
* fix triangle cracking

* subpixel corretion for quads

* replace Bresenham for DDA + subpixel correction

* consistency

* adding note

* style tweaks
2025-10-25 23:13:24 +02:00
Ray
79fd6be008 Minor format tweaks 2025-10-25 11:14:53 +02:00
Jeffery Myers
4bb8c89084 Don't undefine the versions of LoadImage that don't conflict with raylib so that the Win32 platform can use them. (#5299) 2025-10-25 09:49:31 +02:00
Le Juez Victor
39242dba23 [rlsw] Smarter texture management (#5296)
* simplified framebuffer management

* convert texture to rgba32

* remove float copy/blit

* adding SIMD framebuffer read/write
This adds SIMD framebuffer read/write, and also texel fetch.
This supports SSE2/SSE41 and SISD fallback (also includes ARM NEON support, conceptually identical but still needs testing).

* consistency

* tweaks

* review of `sw_texture_sample_linear`

* better quad sorting
unrelated to the PR, but at least it's done

* ignore some pipeline state in certains context

* convention tweaks

---------

Co-authored-by: Ray <raysan5@gmail.com>
2025-10-24 18:29:01 +02:00
Jeffery Myers
12dc0d6675 Revert undesired change to rcore and restore correct win32 ifdef and max path (#5297)
Fixes #5293
also add comment for win32 platform.
2025-10-23 17:45:33 +02:00
alexgb0
93c5dc3b5f [rlsw] c++ support (#5291)
* rlsw c++ support

* rslw formatting fixes
2025-10-23 17:28:00 +02:00
Diogo Hartuiq Debarba
04930c5132 Fix typo in RPI cross-compiler variable name (#5295) 2025-10-23 13:27:28 +02:00
sleeptightAnsiC
1b5a14e516 [rcore_desktop_sdl] fix: handle monitor ID correctly on SDL3 (#5290)
SDL3 uses ID when dealing with monitors, unlike SDL2 which uses Index
for the same thing. This problem was already fixed in multiple places
by use of preprocessor branches, so I did the very same thing.

Please, notice that this is a pretty bad solution to this problem,
and I only did it to keep it consistent with the rest of the code.
The more about why it's not correct is mentioned here:
https://github.com/raysan5/raylib/issues/5256#issuecomment-3429156919
Hopefully, someone will refactor it someday :)

Fixes: https://github.com/raysan5/raylib/issues/5256
2025-10-21 22:07:04 +02:00
Ray
99ed814615 Update rcore_desktop_win32.c 2025-10-21 20:07:42 +02:00
Ray
77b9214575 Update rcore_desktop_sdl.c 2025-10-21 20:07:32 +02:00
Ray
ec06f9be37 Removed trailing spaces 2025-10-21 13:51:03 +02:00
Ray
79b7cd6b9b Format tweaks 2025-10-21 10:08:36 +02:00
Ray
1664204291 REVIEWED: New Win32 platform backend to accomodate rlsw Software Renderer 2025-10-20 19:10:41 +02:00
Ray
ec3cb7045f Update rcore.c 2025-10-20 19:09:56 +02:00
Ray
74f2a899d9 Update rshapes.c 2025-10-20 19:09:37 +02:00
Ray
153401810a Merge branch 'master' of https://github.com/raysan5/raylib 2025-10-17 10:04:29 +02:00