snoopyPlayz
10f9a1ea4f
added comment
há 1 mês
snoopyPlayz
556cc988de
added glVertexAttribIPointer
há 1 mês
Ray
bd8e59f18d
Replace `size_t` by `unsigned int`
há 1 mês
Ray
4c8c72778d
Remove trailing spaces
há 1 mês
Ray
da8a08006a
Added some comments on latest change
há 1 mês
Destructor17
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
* Fix textures on draw mode switch
* formatting fix
* ident
há 1 mês
Ray
a979b10966
Minor format tweak
há 1 mês
Ray
313067d749
Update rlgl.h
há 3 meses
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>
há 3 meses
Brian E
05c4d8a652
[rlgl.h] Fixed typo in top comment ( #4658 )
"renderer" to "rendered"
há 3 meses
Ray
fa0eada61a
Update year to 2025
há 3 meses
Jett
0212ed0a4b
setting MAX_LEVEL based on actual mipcount input ( #4622 )
há 4 meses
Le Juez Victor
79facde353
fix `rlActiveDrawBuffers` for OpenGL ES 3 ( #4605 )
há 4 meses
Michael
d2cd2a0152
[rlgl][rmodels] Add instranceTransform shader location index #4538 ( #4579 )
há 4 meses
Rico P
ff71e3a513
use unused variable. Fixes #4560 ( #4561 )
há 4 meses
Ray
26548c1062
Remove trail-spaces
há 5 meses
Ray
10789a4d49
Update rlgl.h
há 5 meses
Jeffery Myers
0e1fc33c5c
Fix signed/unsigned mismatch in rlgl ( #4443 )
há 5 meses
Ray
1f6b3384fa
Reviewed formatting, remove end-line points, for consistency with comments
há 6 meses
Ray
80b490c8f1
Reviewed formating to follow raylib conventions #4429
há 6 meses
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
há 6 meses
Ray
4e3fc84050
Minor format tweaks
há 6 meses
Ray
5065b85d33
Update rlgl.h
há 6 meses
Ray
b0140b876b
REVIEWED: GPU skninning on Web, some gotchas! #4412
há 6 meses
Ray
f141c75cde
Removed trailing spaces
há 6 meses
Ray
c935ca3168
Reviewed formatting #4408
há 6 meses
Rapha
f402147a63
Updated instanced rendering support loading ( #4408 )
há 6 meses
Ray
8cbf34ddc4
WARNING: BREAKING: Renamed several functions for data validation #3930
há 6 meses
Ray
3fb1ba25ac
Removed tabs and triple line-breaks
há 6 meses
Asdqwe
96d91a3892
[rlgl] Fix rlgl standalone defaults ( #4357 )
* Fix rlgl standalone defaults
* Fix rmodels
há 6 meses
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.
há 6 meses
Asdqwe
282d6478ba
Complements the #4348 GPU skinning fix ( #4352 )
há 6 meses
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>
há 6 meses
Asdqwe
212b1e5fe7
Fix rlgl standalone defaults ( #4334 )
há 7 meses
Ray
e5d0cc978a
Some minor tweaks
há 7 meses
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.
há 7 meses
Ray
5604f6d8a3
Update rlgl.h
há 8 meses
Ray
157c7c21d4
ADDED: more uniform data type options #4137
há 8 meses
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)
há 8 meses
Ray
78e86b6ea5
Update rlgl.h
há 8 meses
Ray
f70d8a33cb
REVIEWED: Shader load failing returns 0, instead of fallback
há 8 meses
Maxim Knyazkin
13491a485a
Fixed compilation for OpenGL ES ( #4243 )
há 8 meses
Maxim Knyazkin
2590a30d04
[rlgl] Adding warnings in case OpenGL 4.3 is not enabled ( #4202 )
* Adding warnings for OpenGL 4.3
* Removed logging from frequently called functions
há 8 meses
Ray
5af331d708
REVIEWED #4206
há 8 meses
Ray
9c2ba3bfb7
REVIEWED: possible overflow... again #4206
há 8 meses
Ray
923f983719
REVIEWED: Possible overflow #4206
há 8 meses
Randy Palamar
92f60a99f6
[rlgl] use GLint64 for glGetBufferParameteri64v ( #4197 )
há 8 meses
Lázaro Albuquerque
bbcb0109e1
Add default vertex/fragment shader to OpenGL ES 3.0 based on the ones from OpenGL 3.3 ( #4178 )
há 9 meses
Kai Kitagawa-Jones
8d5374a443
Replace `glGetInteger64v` with `glGetBufferParameteri64v` ( #4154 )
há 9 meses
Ray
9a280cda0b
Update rlgl.h
há 9 meses