tgafb_fillrect(9)
π tgafb_fillrect π
okay so this is a page from the Kernel API Manual (section 9, kernel developer land π§) and it's all about tgafb_fillrect, bestie. buckle up.
β¨ NAME β¨
tgafb_fillrect β a REQUIRED function, no cap. you literally cannot skip this one. the good news? you can use the generic routines if your hardware is non acclerated and packed pixel based (iykyk). what does it do? it draws a rectangle on the screen. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
void tgafb_fillrect (struct fb_info *info , const struct fb_fillrect *rect );
literally that's the whole signature, copy it exactly pls, don't get creative π
πΈ ARGUMENTS πΈ
infoβ the frame buffer structure that represents a single frame buffer. it's giving "one struct to rule them all" energy πrectβ structure defining the rectagle and operation. yes bestie, the rectagle. the shape. the operation. all of it lives in here π
π₯ SEE ALSO π₯
- Kernel file
./drivers/video/fbdev/tgafb.c tgafb_check_var(9)tgafb_set_par(9)tgafb_setcolreg(9)tgafb_blank(9)tgafb_imageblit(9)
go read the whole friend group, they all hang out together π«Ά
heads up queen: this one is marked REQUIRED in the NAME section, so if you're implementing a driver and thinking "maybe I'll skip it" β not me catching you trying to skip a required function π don't do it.
that's the whole page!! source/version lives at ./drivers/video/fbdev and the date on this beauty is October 2026 β see you in the future, mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms