Bigfoot71
268a410a13
add quick notes about line clipping algorithms used
2 months ago
Bigfoot71
fe600a5ea1
framebuffer resizing + handle init failure
2 months ago
Bigfoot71
06e49a048a
add some not planned functions
- `glDepthMask`
- `glColorMask`
2 months ago
Bigfoot71
fc52b7710c
impl polygone modes
2 months ago
Ray
cd9206956c
Merge pull request #4843 from theundergroundsorcerer/DrawCircleSector-quickfix
Add early return when angles are equal in DrawCircleSector and DrawCircleSectorLine functions.
2 months ago
Myrddin Krustowski
589ad0a33d
Add early return to circle sector functions when angles are equal.
Prevents unnecessary work and division by zero (when segments=0) in DrawCircleSector/DrawCircleSectorLines when startAngle equals endAngle, matching existing behavior in DrawRing/DrawRingLines.
2 months ago
Bigfoot71
793d56c701
fix and improve polygon clipping functions
2 months ago
Bigfoot71
e15c0d9639
impl points + point size
2 months ago
Bigfoot71
3bc8f36f14
impl line width
2 months ago
Bigfoot71
645b5e9c45
tweaks
2 months ago
Bigfoot71
cdf384794d
add several buffer format support
Several depth and color formats have been added for the framebuffer.
8-bit, 16-bit, and 24-bit formats are now available for depth.
RGB 8-bit (332), RGB 16-bit (565), and RGB 24-bit (888) formats are now available for color.
Alpha support is no longer present for the framebuffer at the moment, but it can easily be restored by adding the formats and reinterpolating the alpha in the areas that do not perform color blending.
Additionally, this commit brings performance improvements.
2 months ago
Ray
2f63a15630
Merge pull request #4836 from JeffM2501/unscale_on_resize
[rcore] Correctly handle window size on resize in auto-scaled HIGHDPI environment
2 months ago
Jeffery Myers
d56ab670c3
spaces not tabs
2 months ago
Ray
bbbdd1f080
Merge pull request #4839 from aidonmaster/patch-1
Converting int to char
2 months ago
Aidon
513753c394
Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
2 months ago
Bigfoot71
2666eedeb0
review get pixel functions
+ review unorm/float conversion
2 months ago
Bigfoot71
d3fe48fa7d
texture sampling optimization
2 months ago
Bigfoot71
9be90fd5e6
review the loading and management of textures
to be closer to the OpenGL API
2 months ago
Bigfoot71
6b8978cb3e
avoid to recalculate MVP when its not needed + tweaks
2 months ago
Ray
cb830bed72
Increased depth size and clip distances to avoid z-fighting issues
2 months ago
Ray
d0e638cc31
REVIEWED: Platform DRM messages...
2 months ago
Bigfoot71
363f3afa60
review ndc to screen projection
2 months ago
Bigfoot71
0b713cdfba
small optimizations / tweaks
2 months ago
Bigfoot71
a1b2ecbded
add clear buffer bitmasks
2 months ago
Bigfoot71
ff1849dc97
fixes and tweaks
2 months ago
Bigfoot71
804240966a
impl color blending
2 months ago
Jeffery Myers
4bed3741c1
Unscale the window size on resize if we are doing automatic HighDPI scaling.
2 months ago
Bigfoot71
5f92a0fcd0
impl face culling
2 months ago
Bigfoot71
dcd60be477
impl line clipping and rasterization
+ tweak function names
2 months ago
Bigfoot71
b70f02fdf2
apply perspective correction to colors
2 months ago
Bigfoot71
f305490c33
branchless float saturation
2 months ago
Bigfoot71
8aed39ff49
implement state support
Also replace the triangle rasterization functions with macros that generate specific functions for each state of the rendering system.
Also, add the OpenGL definitions in order to add a binding for rlgl.
2 months ago
Ray
749a512f13
REVIEWED: `ScanDirectoryFiles*()` #4833
2 months ago
Ray
654d5c80c2
Merge pull request #4833 from MykBamberg/master
[rcore] Use snprintf to prevent buffer overflow in path construction
2 months ago
Ray
a0318e67aa
Merge pull request #4835 from NiamhNightglow/master
Guard against DEBUG Redefinition
2 months ago
Nia Nightglow
fffbbad2f7
Guard against DEBUG Redefinition
Undefine DEBUG to avoid external redefinition
warnings/conflicts. This is probably a common
definition for many external build systems'
debug configurations.
This ensures raylib will not emit
a warning about the DEBUG definition being
redefined in external build systems.
2 months ago
MykBamberg
daa2921476
[rcore] Use snprintf to prevent buffer overflow in path construction
2 months ago
Bigfoot71
7d36568eeb
add base of rlsw.h
2 months ago
Ray
b80250bee4
Merge pull request #4807 from RicoP/RicoP/sinfl_bsr
[rcore] sinfl_bsr fix for TCC
2 months ago
Rico P
0934cdba48
fix C++ style cast
2 months ago
Rico P
7dc409d060
potential fix for MSVC compile error
2 months ago
Rico P
e7872a700d
update sinfl_bsr
2 months ago
Ray
7f8bf2233c
REVIEWED: Formating to follow raylib conventions
2 months ago
Ray
bd8e59f18d
Replace `size_t` by `unsigned int`
2 months ago
Ray
4c8c72778d
Remove trailing spaces
2 months ago
Ray
9c62a7823b
Update Makefile
2 months ago
Colleague Riley
0853c5b03f
[rcore][RGFW] bug fixes ( #4798 )
* update RGFW to 1.6
* properly handle RGFW_quit events
* fix rcore_desktop_rgfw bugs
* update
* update
* uncomment out
2 months ago
Amy Wilder
61a026f7ef
[examples] Reorganize some conditions to fix overlap bugs ( #4829 )
* Reorganize some conditions to fix overlap bugs
* Fix edge case where control point selection outlives mouse down
2 months ago
Ray
5bda46960c
REVIEWED: Linux workflow to run on `ubuntu-latest`
Previous runner `ubuntu-20.04` is deprecated and being removed soon: https://github.com/actions/runner-images/issues/11101
2 months ago
David Vanderson
bbeade636c
build.zig.zon: update hashes ( #4826 )
2 months ago