danil
d6a897e551
[rlgl]: Add rlGetProcAddress
пре 3 месеци
Daniel Vincent Horgan
901afadbf1
fix warning log macro in rlgl
пре 3 месеци
Ray
b677376088
Delete shader in case compilation fails
пре 4 месеци
Ray
3e336e4470
Reviewed warning
пре 4 месеци
Ray
59bcf680aa
Code gardening...
пре 5 месеци
Ray
21f0fe2a73
Removed some spaces
пре 5 месеци
Le Juez Victor
461c9c9d90
review tabs
пре 6 месеци
Le Juez Victor
a7333a9dae
review near/far
пре 6 месеци
Ray
3d83c1c796
Format tweak
пре 7 месеци
Ray
63e608d485
comment tweak
пре 7 месеци
Ray
46cd07d2c7
WARNING: REVERTED CHANGE THAT BROKE BATCHING!!! #4849
I'm sorry... I did not detect this change was breaking batching... :(
пре 7 месеци
Ray
cb830bed72
Increased depth size and clip distances to avoid z-fighting issues
пре 7 месеци
Ray
bd8e59f18d
Replace `size_t` by `unsigned int`
пре 8 месеци
Ray
4c8c72778d
Remove trailing spaces
пре 8 месеци
Ray
da8a08006a
Added some comments on latest change
пре 8 месеци
Destructor17
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
* Fix textures on draw mode switch
* formatting fix
* ident
пре 8 месеци
Ray
a979b10966
Minor format tweak
пре 8 месеци
Ray
313067d749
Update rlgl.h
пре 9 месеци
K. Adam Christensen
5d9aed5d40
[rlgl] Optimize rlReadScreenPixels ( #4667 )
This optimization works in the following ways:
1. Reduces calls to malloc to 1. Instead of needing an extra array, we
can just swap the top half with the bottom half of the one array.
2. Unroll the inner for loop and remove a condition. Unrolling loops
buys some performance wins, but the real goal was to remove the if check
and just set the alpha channel to 255.
On my hidpi arm64 laptop, I saw ~60% improvement in performance in my
debug build (29 FPS vs 47 FPS). When optimized, the gains were roughly
10% (75 FPS vs 83%).
Signed-off-by: K. Adam Christensen <pope@shifteleven.com>
пре 10 месеци
Brian E
05c4d8a652
[rlgl.h] Fixed typo in top comment ( #4658 )
"renderer" to "rendered"
пре 10 месеци
Ray
fa0eada61a
Update year to 2025
пре 10 месеци
Jett
0212ed0a4b
setting MAX_LEVEL based on actual mipcount input ( #4622 )
пре 10 месеци
Le Juez Victor
79facde353
fix `rlActiveDrawBuffers` for OpenGL ES 3 ( #4605 )
пре 10 месеци
Michael
d2cd2a0152
[rlgl][rmodels] Add instranceTransform shader location index #4538 ( #4579 )
пре 11 месеци
Rico P
ff71e3a513
use unused variable. Fixes #4560 ( #4561 )
пре 11 месеци
Ray
26548c1062
Remove trail-spaces
пре 11 месеци
Ray
10789a4d49
Update rlgl.h
пре 11 месеци
Jeffery Myers
0e1fc33c5c
Fix signed/unsigned mismatch in rlgl ( #4443 )
пре 1 година
Ray
1f6b3384fa
Reviewed formatting, remove end-line points, for consistency with comments
пре 1 година
Ray
80b490c8f1
Reviewed formating to follow raylib conventions #4429
пре 1 година
Nikolas
7fedf9e0b8
[rtextures/rlgl] Load mipmaps for cubemaps ( #4429 )
* [rlgl] Load cubemap mipmaps
* [rtextures] Only generate mipmaps that don't already exist
* [rtextures] ImageDraw(): Implement drawing to mipmaps
* [rtextures] Load cubemap mipmaps
пре 1 година
Ray
4e3fc84050
Minor format tweaks
пре 1 година
Ray
5065b85d33
Update rlgl.h
пре 1 година
Ray
b0140b876b
REVIEWED: GPU skninning on Web, some gotchas! #4412
пре 1 година
Ray
f141c75cde
Removed trailing spaces
пре 1 година
Ray
c935ca3168
Reviewed formatting #4408
пре 1 година
Rapha
f402147a63
Updated instanced rendering support loading ( #4408 )
пре 1 година
Ray
8cbf34ddc4
WARNING: BREAKING: Renamed several functions for data validation #3930
пре 1 година
Ray
3fb1ba25ac
Removed tabs and triple line-breaks
пре 1 година
Asdqwe
96d91a3892
[rlgl] Fix rlgl standalone defaults ( #4357 )
* Fix rlgl standalone defaults
* Fix rmodels
пре 1 година
Jeffery Myers
09987b01cc
[MODELS] Better fix for GPU skinning issues ( #4353 )
* Make the max VBO match the animation flag.
* re-enable GPU skinning for mac, and fix the max buffer to be correct based on the GPU skinning support flag.
пре 1 година
Asdqwe
282d6478ba
Complements the #4348 GPU skinning fix ( #4352 )
пре 1 година
Jeffery Myers
0e7bcd5639
[MODELS] Disable GPU skinning for MacOS platform ( #4348 )
* Update raylib_api.* by CI
* Disable GPU skinning on MacOS
Add GPU skinning example to MSVC Projects.
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
пре 1 година
Asdqwe
212b1e5fe7
Fix rlgl standalone defaults ( #4334 )
пре 1 година
Ray
e5d0cc978a
Some minor tweaks
пре 1 година
Daniel Holden
86ead96263
[rmodels] Optional GPU skinning ( #4321 )
* Added optional GPU skinning
* Added skinned bone matrices support for different file formats.
* Moved new shader locations to end of enum to avoid breaking existing examples. Added gpu skinning on drawing of instanced meshes.
* Added GPU skinning example.
* Removed variable declaration to avoid shadowing warning.
пре 1 година
Ray
5604f6d8a3
Update rlgl.h
пре 1 година
Ray
157c7c21d4
ADDED: more uniform data type options #4137
пре 1 година
Tchan0
d314afc451
rlgl.h: glint64 did not exist before OpenGL 3.2 ( #4284 )
Compilation breaks on rlgl.h for early OpenGL versions.
Glint64 did not exist on those versions (< OpenGL 3.2)
пре 1 година
Ray
78e86b6ea5
Update rlgl.h
пре 1 година