color_blit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🎨 color_blit β€” solid color BLIT operation πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” this page is literally called color_blit(9) and it's giving "i fill rectangles with one (1) color and i do it flawlessly" energy. no cap, let's get into it 🫢


🏷️ NAME

color_blit β€” solid color BLIT operation ✨


🌸 SYNOPSIS

void color_blit (int width , int height , int pitch , int dest , int rop
, int what , int blit_bpp , struct fb_info *info );

that's the whole signature, copy it exactly, do not come for me about the spacing, that's how it's written πŸ’€


πŸŽ€ ARGUMENTS

okay so there are eight (8) of these and each one is doing its own little job. main character energy, every single one 🌈

  • width β€” width of destination, like how wide the thing you're painting is πŸ“
  • height β€” height of destination, the vertical situation πŸ¦‹
  • pitch β€” pixels per line of the buffer, iykyk
  • dest β€” address of first pixel to write to, the spot where the slay begins ✨
  • rop β€” raster operation
  • what β€” color to transfer, like the actual color, the vibe of it 🎨
  • blit_bpp β€” pixel format which can be different from the framebuffer's pixelformat (yes, different, and that's fine, it's allowed πŸ™ˆ)
  • info β€” literally listed as -- undescribed -- in the docs, so the docs simply did not describe it. not me making something up to fill the void, absolutely not, we respect the silence 🀐

πŸ“– DESCRIPTION

A BLIT operation which can be used for color fill/rectangular fill πŸ‘‘

so like. you have a rectangle. you have a color. you want the rectangle to BE that color. that's it, that's the whole gig, and it ate πŸ”₯


πŸ‘€ SEE ALSO

go read these too, they're all in the same friend group (kernel file ./drivers/video/fbdev/i810/i810_accel.c):


πŸ’‘ friendly reminder bestie: info is officially -- undescribed --. i'm not adding lore that isn't there. if you need to know what it does, go read the source, that's the whole mood 🫢

okay that's the page!! mwah πŸ’– this one lives in ./drivers/video/fbdev/i810, and the footer situation is October 2026 for the date, page color_blit(9) for the version. go forth and fill your rectangles, bestie, you're gonna slay πŸŒŸπŸ’…βœ¨

πŸ“¦ where this page comes from