summaryrefslogtreecommitdiff
path: root/fb.c
Commit message (Collapse)AuthorAgeFilesLines
* replace the Triangle with a general purpose Primitive.rodri2024-04-161-4/+4
| | | | | this is only an structural replacement and doesn't add support for the other primitive types.
* implement a fully concurrent pipeline based on tiles.rodri2024-04-151-9/+12
| | | | | - got rid of the z-buffer lock to avoid contention. - little improvements to fb.c
* simplify the job scheduler. correct two mistakes regarding the Viewport.rodri2024-04-051-0/+14
| | | | | | | | | | > They made two mistakes. they hanged the wrong man and they didn't finish the job. so Clint Eastwood came back to kick my ass. the mistakes in question were that the Viewport shouldn't know about double buffering, conceptually it has a framebuffer and that's it. the second one was passing it to the renderer, when the renderer couldn't care less about what a viewport is.
* have separate routines for drawing and memdrawing.rodri2024-02-271-1/+13
|
* import the new renderer and clean things up.rodri2024-01-301-0/+81
i integrated the renderer i've been developing on the tinyrend repo and got rid of a bunch of stuff that's no longer necessary. also began structuring things to fit the new interface i have in mind. there are still some artifacts with the projection xforms that cause issues with clipping and division by zero.