summaryrefslogtreecommitdiff
path: root/fb.c
Commit message (Collapse)AuthorAgeFilesLines
* experimental A-buffer implementation.rodri2024-08-101-0/+11
| | | | | | | | | very simple, without anti-aliasing, made for getting OIT (order independent transparency) rendering of arbitrary objects. also added switches for blending, depth testing and the A-buffer to the camera.
* offset fb during drawing based on viewport config. move OBJ-related ↵rodri2024-08-071-10/+10
| | | | procedures to its own unit.
* make the depth buffer 32-bit.rodri2024-08-041-2/+2
|
* fb: fix the destination drawing rectangle.rodri2024-08-021-2/+2
|
* add a viewport upscale filters interface.rodri2024-08-021-36/+79
|
* reduce the volume of Camera.times records. clean up.rodri2024-07-201-18/+16
|
* implement pixel art upscaling filters scale[23]x. tidy up some code.rodri2024-07-161-4/+78
|
* initial viewport upscaling support.rodri2024-07-141-0/+50
|
* fix the barycoords routine to avoid reporting false degenerates.rodri2024-06-141-0/+14
| | | | added a normals buffer for debugging.
* replace the Memimage color buffer with a ulong* one. some fixes.rodri2024-06-131-5/+5
|
* replace the Framebufctl's Lock with a QLock.rodri2024-05-231-6/+6
| | | | this provides fair scheduling, minimizing contention.
* 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.