From d8f71404ffd54af08bc84dbb04e60cb07e83a021 Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 20 Sep 2024 21:44:07 +0000 Subject: implement clipped drawing. take branching out of the upscaler loop. the rasterizers now produce a bbox of used fragments/pixels that are unified at the end of every job/frame. we use that when drawing so only the part that was rasterized gets sent to devdraw. --- camera.c | 1 + 1 file changed, 1 insertion(+) (limited to 'camera.c') diff --git a/camera.c b/camera.c index 9e5d264..12f37eb 100644 --- a/camera.c +++ b/camera.c @@ -273,6 +273,7 @@ shootcamera(Camera *c, Shadertab *s) free(job->times.Tn); free(job->times.Rn); + free(job->cliprects); chanfree(job->donec); free(job->camera); free(job); -- cgit v1.2.3