summaryrefslogtreecommitdiff
path: root/viewport.c
Commit message (Collapse)AuthorAgeFilesLines
* simplify the job scheduler. correct two mistakes regarding the Viewport.rodri2024-04-051-8/+1
| | | | | | | | | | > 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.
* add trivial nil checks to some of the cleanup procedures.rodri2024-04-031-0/+2
|
* viewport: add a way to access front and back buffers.rodri2024-04-011-1/+8
|
* pass a Viewport in the Renderjob instead of a fb.rodri2024-03-261-0/+7
| | | | | do the frame buffer clearing and swapping as part of the rendering process, not within shootcamera.
* have separate routines for drawing and memdrawing.rodri2024-02-271-0/+14
|
* import the new renderer and clean things up.rodri2024-01-301-0/+29
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.