Le Juez Victor
4ff296bf0b
fix clipping issue ( #5342 )
3 weeks ago
JohnnyCena123
12ce106661
[rcore][glfw] fix `IsWindowFocused()` inverted logic ( #5333 )
1 month ago
iann
48c1619d20
added consistent behavior for texture in opengl11 draw states and fixed loadobj texcoord behavior for opengl11 context ( #5328 )
1 month ago
NoNameAuthenticated
e92832fc6d
Update rcore_desktop_sdl.c ( #5332 )
1 month ago
Ray
cfb43fa999
Update rcore_desktop_sdl.c
1 month ago
komunre
ed68a4fcce
Fixed bugs in SDL backend ( #5325 )
1 month ago
Ray
ee3be5799a
Update raymath.h
1 month ago
Ray
87d49262f8
REVIEWED: raymath: `MatrixCompose()`
1 month ago
EDBC_REPO
81004135a4
adding Matrix MatrixCompose( translate, rotation, scale ) to raymath.h ( #5324 )
1 month ago
Tiago Ferreira
cc83b2bd8e
fix: cursor lock/unlock inconsistent behaviour on glfw, rgfw, sl ( #5323 )
1 month ago
Ray
3cf3b309c6
REVIEWED: Flags set/clear #5169
1 month ago
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>
1 month ago
Ray
0246621210
REVIEWED: SIMD intrinsics checks and usage
1 month ago
Arrangemonk
dfc94f64d1
Revert "UpdateModelAnimation does matrixtranspose(matrixinvert) only once per…" ( #5322 )
This reverts commit e3a562ab57 .
1 month ago
Le Juez Victor
bca54047f9
[rlsw] Review depth formats and fix depth writing ( #5317 )
* review depth format/writing
* adding a note
1 month ago
Ray
127cc1c79e
REVIEWED: Makefile to support software renderer
1 month ago
Ray
3389c80f49
Update rlsw.h
1 month ago
Ray
f16d5ce1dd
REVIEWED: Make sure SSE is being used when compiling with MSVC
Added log info and some formatting for visibility
1 month ago
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
1 month ago
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.
1 month ago
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
1 month ago
Ray
f106301d46
ADDED: Some code sample for RISC-V RVV vector instructions -WIP-
1 month ago
Ray
78870335e6
Update rlgl.h
1 month ago
Ray
93a21c7e13
Support other graphic backends on some platforms
1 month ago
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
1 month ago
Uneven Prankster
3b6a68ba69
Improve support for `PLATFORM_DESKTOP_WIN32` in src/Makefile ( #5311 )
Co-authored-by: Uneven Prankster <unevenprankster@pm.me>
1 month ago
Ray
0fbc4272d0
Remove trailing spaces
1 month ago
Le Juez Victor
a818508158
[rlsw] Completeness of `glDraw` functions ( #5304 )
* adding `glDrawElements`
* tweaks
* fix `glDrawArrays` and `glDrawElements` behavior
1 month ago
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
1 month ago
Ray
79fd6be008
Minor format tweaks
1 month ago
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 )
1 month ago
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>
1 month ago
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.
1 month ago
alexgb0
93c5dc3b5f
[rlsw] c++ support ( #5291 )
* rlsw c++ support
* rslw formatting fixes
1 month ago
Diogo Hartuiq Debarba
04930c5132
Fix typo in RPI cross-compiler variable name ( #5295 )
1 month ago
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
1 month ago
Ray
99ed814615
Update rcore_desktop_win32.c
1 month ago
Ray
77b9214575
Update rcore_desktop_sdl.c
1 month ago
Ray
ec06f9be37
Removed trailing spaces
1 month ago
Ray
79b7cd6b9b
Format tweaks
1 month ago
Ray
1664204291
REVIEWED: New Win32 platform backend to accomodate `rlsw` Software Renderer
1 month ago
Ray
ec3cb7045f
Update rcore.c
1 month ago
Ray
74f2a899d9
Update rshapes.c
1 month ago
Ray
9ed785c2e1
Update rlgl.h
1 month ago
MULTi
311f6243e3
Disable touch position simulation from mouse movement for DRM touchscreen devices ( #5279 )
1 month ago
Ray
601ff4f02e
REVIEW: Naming tweaks and comments added #5271
1 month ago
Mr. Ai
484cc0e255
Fix DrawBillboardPro so that flipped images that are sampling from part of a larger texture still draw from the same source rectangle ( #5276 )
Co-authored-by: Violently <violently@violently.violently>
1 month ago
Ray
af068ec020
Reviewed dynamic library building #5270
1 month ago
Ray
18e4d1d44f
Reviewed formating
1 month ago
Saksham Goyal
adfe2c1704
C++ compiler support v2 ( #5252 )
* Get C++ compilers working
* Fix Formatting
1 month ago