|
From: Romain D. <do...@ir...> - 2001-10-02 08:51:24
|
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).
Not yet, I believe.
> if there isn't a way (dri is X only afaik), hows the forecast for creating
> a kernel level hardware acceleration overlay, with software fallbacks?
> (i am guessing this really wont put much code into the kernel, but will
> have lots of modules etc).
DRI is a 3D-on-XFree86 thing.
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...
Yet it might worth talking about it. Stuff like microwindows
could probably use it.
It would be a simple ioctl wrapper around the fb_* stuff,
as those are mandatory (either HW-accel or using the supplied
generic functions).
--
DOLBEAU Romain | l'histoire est entierement vraie, puisque
| je l'ai imaginee d'un bout a l'autre
do...@ir... | -- Boris Vian
|