From 308a1cf24208816b92ab830ec082757ca30738c9 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Thu, 16 Jan 2025 22:46:37 +0100 Subject: Simple anti-aliasing --- reduced_system_layer.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'reduced_system_layer.c') diff --git a/reduced_system_layer.c b/reduced_system_layer.c index 8b35ea3..8370c46 100644 --- a/reduced_system_layer.c +++ b/reduced_system_layer.c @@ -29,8 +29,7 @@ // // - Work in progress // - Drop files - Web -// - Graphics - Anti-aliasing -// - Plain buffer allocator +// - Seldom allocator // - Logging // - Examples // - Conway's Game of Life @@ -42,6 +41,7 @@ // - Icons // - Vector math // - CMYK color +// - Textures // - Test suite // - System // - Window @@ -91,8 +91,9 @@ // - Adaptive resolution // - Oklab color // - Relative coordinates -// - Blending +// - Alpha blending // - Self-contained impl +// - Anti-aliasing // - System // - Window - X11, Web // - Sound - ALSA, Web @@ -539,6 +540,7 @@ typedef struct { Drop_File *drop_files; vec4_f32 pixels [MAX_NUM_PIXELS]; + vec4_f32 sketch [MAX_NUM_PIXELS]; Input_Key input [MAX_INPUT_SIZE]; c8 clipboard [MAX_CLIPBOARD_SIZE]; b8 key_down [MAX_NUM_KEYS]; -- cgit v1.2.3