From c8b33370a708d03d6c6cc444acf3f0f1b8f1a3b9 Mon Sep 17 00:00:00 2001 From: Alejandro Javier Asenjo Nitti Date: Wed, 21 Feb 2024 19:53:29 -0300 Subject: [PATCH] Antialias modes documented --- include/PR/viint.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/PR/viint.h b/include/PR/viint.h index ffe09277..651ffeeb 100644 --- a/include/PR/viint.h +++ b/include/PR/viint.h @@ -15,9 +15,9 @@ #define VI_STATE_REPEATLINE 0x40 // repeat line? #define VI_STATE_FADE 0x80 // fade -#define VI_CTRL_ANTIALIAS_MODE_3 0x00300 /* Bit [9:8] anti-alias mode */ -#define VI_CTRL_ANTIALIAS_MODE_2 0x00200 /* Bit [9:8] anti-alias mode */ -#define VI_CTRL_ANTIALIAS_MODE_1 0x00100 /* Bit [9:8] anti-alias mode */ +#define VI_CTRL_ANTIALIAS_MODE_3 0x00300 // Bit [9:8] anti-alias mode: AA disabled, resampling disabled, replicate pixels +#define VI_CTRL_ANTIALIAS_MODE_2 0x00200 // Bit [9:8] anti-alias mode: AA disabled, resampling enabled, operate as if everything is covered +#define VI_CTRL_ANTIALIAS_MODE_1 0x00100 // Bit [9:8] anti-alias mode: AA enabled, resampling enabled, fetch extra lines as-needed #define VI_SCALE_MASK 0xfff //see rcp scale_x/scale_y #define VI_2_10_FPART_MASK 0x3ff