Bigfoot71
a420e5ab82
def sw alloc macros
пре 2 недеља
Bigfoot71
f3de37eff3
add get error function
пре 2 недеља
Bigfoot71
f902cc3f29
fix typo..
пре 2 недеља
Bigfoot71
be24b06356
texture copy support
пре 2 недеља
Bigfoot71
89d40510c6
update rlgl.h
пре 2 недеља
Bigfoot71
c9338481a4
update rlgl.h
пре 2 недеља
Bigfoot71
c7fa9a0fa2
review `swCopyFramebuffer`
пре 2 недеља
Bigfoot71
02f7d3146b
impl copy framebuffer function + glReadPixels
пре 2 недеља
Bigfoot71
64c39e9d53
binding tweaks
пре 2 недеља
Bigfoot71
13585d8684
add `glHint` and `glShadeModel` macros (not implmented)
пре 2 недеља
Le Juez Victor
f447c97662
Merge branch 'raysan5:master' into rlsw
пре 2 недеља
Bigfoot71
618f283cb2
gl binding
пре 2 недеља
Bigfoot71
2009490151
add getter functions
пре 2 недеља
Bigfoot71
26dfe69e5f
remove unused defs
пре 2 недеља
Bigfoot71
2f9eb5b727
impl point scissor clipping
пре 2 недеља
Bigfoot71
633e34e457
round screen coordinate (line rasterization)
пре 2 недеља
Bigfoot71
f0b02b8cad
impl line scissor clipping
пре 2 недеља
Bigfoot71
3441cf6327
review `swScissor`
пре 2 недеља
Bigfoot71
0fb0c5cd38
review scissor clear
пре 2 недеља
Ray
46cd07d2c7
WARNING: REVERTED CHANGE THAT BROKE BATCHING!!! #4849
I'm sorry... I did not detect this change was breaking batching... :(
пре 2 недеља
Ray
266fba1111
Minor tweaks
пре 2 недеља
Ray
add4da8fb3
Merge pull request #4845 from bamless/log-zoom
[examples] use logarithmic zoom scaling in 2d camera examples
пре 2 недеља
Fabrizio Pietrucci
e140aca1b5
Increase zoom factor in `core_2d_camera.c`
This compensate for slower zoom speed due to log scaling
пре 2 недеља
Fabrizio Pietrucci
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
пре 2 недеља
Bigfoot71
d3b6fa4785
start to impl scissor test + review line clipping
The support for the scissor test has been implemented for clearing as well as for triangle clipping.
The implementation for lines and points is still missing.
I also removed the 2D clipping of lines that used the Cohen-Sutherland algorithm, opting instead to always use the Liang-Barsky algorithm in all cases.
This simplifies the implementation, and the 2D version would have caused issues when interpolating vertices in the future if we want to implement additional features.
пре 2 недеља
Bigfoot71
268a410a13
add quick notes about line clipping algorithms used
пре 2 недеља
Bigfoot71
fe600a5ea1
framebuffer resizing + handle init failure
пре 2 недеља
Bigfoot71
06e49a048a
add some not planned functions
- `glDepthMask`
- `glColorMask`
пре 2 недеља
Bigfoot71
fc52b7710c
impl polygone modes
пре 2 недеља
Ray
cd9206956c
Merge pull request #4843 from theundergroundsorcerer/DrawCircleSector-quickfix
Add early return when angles are equal in DrawCircleSector and DrawCircleSectorLine functions.
пре 3 недеља
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.
пре 3 недеља
Bigfoot71
793d56c701
fix and improve polygon clipping functions
пре 3 недеља
Bigfoot71
e15c0d9639
impl points + point size
пре 3 недеља
Bigfoot71
3bc8f36f14
impl line width
пре 3 недеља
Bigfoot71
645b5e9c45
tweaks
пре 3 недеља
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.
пре 3 недеља
Ray
2f63a15630
Merge pull request #4836 from JeffM2501/unscale_on_resize
[rcore] Correctly handle window size on resize in auto-scaled HIGHDPI environment
пре 3 недеља
Jeffery Myers
d56ab670c3
spaces not tabs
пре 3 недеља
Ray
bbbdd1f080
Merge pull request #4839 from aidonmaster/patch-1
Converting int to char
пре 3 недеља
Aidon
513753c394
Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
пре 3 недеља
Bigfoot71
2666eedeb0
review get pixel functions
+ review unorm/float conversion
пре 3 недеља
Bigfoot71
d3fe48fa7d
texture sampling optimization
пре 3 недеља
Bigfoot71
9be90fd5e6
review the loading and management of textures
to be closer to the OpenGL API
пре 3 недеља
Bigfoot71
6b8978cb3e
avoid to recalculate MVP when its not needed + tweaks
пре 3 недеља
Ray
cb830bed72
Increased depth size and clip distances to avoid z-fighting issues
пре 3 недеља
Ray
d0e638cc31
REVIEWED: Platform DRM messages...
пре 3 недеља
Bigfoot71
363f3afa60
review ndc to screen projection
пре 3 недеља
Bigfoot71
0b713cdfba
small optimizations / tweaks
пре 3 недеља
Bigfoot71
a1b2ecbded
add clear buffer bitmasks
пре 3 недеља
Bigfoot71
ff1849dc97
fixes and tweaks
пре 3 недеља