From: <dol...@cl...> - 2001-10-02 15:54:54
|
Chris Wright wrote: > is there a standard way to access hardware acceleration without needing > root privs or X? (sort of like accessing framebuffer before /dev/fb, you > needed svgalib (root), or some X based library). Romain Dolbeau answered: > It could be done to add ioctl to allow app access to fb_fillrect and > fb_copyarea, and maybe fb_imageblit. But I'm not sure it could make it to > the Linux tree... Oups, I forgot to check the header, and thought the original message was on linux-console, not linux-fbdev. My comments apply to the new "Ruby" framework, not to the current 2.2/2.4 stuff. Those use cell-based copy and erase (a cell contain one character), where Ruby use pixel-based copy and fill, much more flexible. I've hacked a patch to add the two IOCTLS (for fillrect and copyarea), it's less than 90 lines. Maybe it's worth adding to Ruby ? -- DOLBEAU Romain | The Gods made Heavy Metal ENS Cachan / Ker Lann | and it's never gonna die Thesard IRISA / CAPS | -- Manowar, dol...@cl... | 'The Gods made Heavy Metal' |