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. --- internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 3173f75..4fc197a 100644 --- a/internal.h +++ b/internal.h @@ -36,6 +36,7 @@ struct Rastertask { SUparams *params; Rectangle wr; /* working rect */ + Rectangle *clipr; Primitive p; }; -- cgit v1.2.3