Re: Accelerated frame buffer functions

2005-02-03 Thread Helge Hafting
Haakon Riiser wrote: [Geert Uytterhoeven] mmap() the MMIO registers to userspace, and program the acceleration engine from userspace, like DirectFB (and XF*_FBDev 3.x for Matrox and Mach64) does. Right, this was how I originally intended to do it. The reason why I started to obsess about t

Re: Accelerated frame buffer functions

2005-02-02 Thread Haakon Riiser
[Geert Uytterhoeven] > mmap() the MMIO registers to userspace, and program the > acceleration engine from userspace, like DirectFB (and XF*_FBDev > 3.x for Matrox and Mach64) does. Right, this was how I originally intended to do it. The reason why I started to obsess about the accelerated fb_ops

Re: Accelerated frame buffer functions

2005-02-02 Thread Geert Uytterhoeven
On Wed, 2 Feb 2005, Haakon Riiser wrote: > > On Wed, 2 Feb 2005 16:41:39 +0100, Haakon Riiser > > <[EMAIL PROTECTED]> wrote: > >> Thanks for the tip, I hadn't heard about it. I will take a look, > >> but only to see if it can show me the user space API of /dev/fb. > >> I don't need a general libra

Re: Accelerated frame buffer functions

2005-02-02 Thread James Simmons
> > You should look at writing a DRM driver. DRM implements the kernel > > interface to get 3D hardware running. It is a fully accelerated driver > > interface. They are located in drivers/char/drm > > Have the standard frame buffer drivers been abandoned, even > for devices that have no 3D accel

Re: Accelerated frame buffer functions

2005-02-02 Thread James Simmons
> > Le mercredi 02 février 2005 à 15:21 +0100, Haakon Riiser a > > écrit : > > >> How can I use a frame buffer driver's optimized copyarea, > >> fillrect, blit, etc. from userspace? The only way I've ever > >> seen anyone use the frame buffer device is by mmap()ing it > >> and doing everything m

Re: Accelerated frame buffer functions

2005-02-02 Thread Haakon Riiser
[Jon Smirl] > On Wed, 2 Feb 2005 16:41:39 +0100, Haakon Riiser > <[EMAIL PROTECTED]> wrote: >> Thanks for the tip, I hadn't heard about it. I will take a look, >> but only to see if it can show me the user space API of /dev/fb. >> I don't need a general library that supports a bunch of different

Re: Accelerated frame buffer functions

2005-02-02 Thread Jon Smirl
On Wed, 2 Feb 2005 16:41:39 +0100, Haakon Riiser <[EMAIL PROTECTED]> wrote: > Thanks for the tip, I hadn't heard about it. I will take a look, > but only to see if it can show me the user space API of /dev/fb. > I don't need a general library that supports a bunch of different > graphics cards. I

Re: Accelerated frame buffer functions

2005-02-02 Thread Gábor Lénárt
On Wed, Feb 02, 2005 at 03:21:55PM +0100, Haakon Riiser wrote: > > X-Windows already does this. > > Yeah, I thought the X11 fbdev driver supported acceleration, but not > according to its manpage: > > fbdev is an Xorg driver for framebuffer devices. This is a > non-accelerated driver [...]

Re: Accelerated frame buffer functions

2005-02-02 Thread Haakon Riiser
[Xavier Bestel] > Le mercredi 02 février 2005 à 15:21 +0100, Haakon Riiser a > écrit : >> How can I use a frame buffer driver's optimized copyarea, >> fillrect, blit, etc. from userspace? The only way I've ever >> seen anyone use the frame buffer device is by mmap()ing it >> and doing everything

Re: Accelerated frame buffer functions

2005-02-02 Thread Xavier Bestel
Le mercredi 02 fÃvrier 2005 Ã 15:21 +0100, Haakon Riiser a Ãcrit : > How can I use a frame buffer driver's optimized copyarea, fillrect, > blit, etc. from userspace? The only way I've ever seen anyone use > the frame buffer device is by mmap()ing it and doing everything > manually in the mapped m

Re: Accelerated frame buffer functions

2005-02-02 Thread Haakon Riiser
[Dick Johnson] > On Wed, 2 Feb 2005, Haakon Riiser wrote: > >> How can I use a frame buffer driver's optimized copyarea, fillrect, >> blit, etc. from userspace? The only way I've ever seen anyone use >> the frame buffer device is by mmap()ing it and doing everything >> manually in the mapped mem

Re: Accelerated frame buffer functions

2005-02-02 Thread linux-os
On Wed, 2 Feb 2005, Haakon Riiser wrote: How can I use a frame buffer driver's optimized copyarea, fillrect, blit, etc. from userspace? The only way I've ever seen anyone use the frame buffer device is by mmap()ing it and doing everything manually in the mapped memory. I assume there must be ioct

Accelerated frame buffer functions

2005-02-02 Thread Haakon Riiser
How can I use a frame buffer driver's optimized copyarea, fillrect, blit, etc. from userspace? The only way I've ever seen anyone use the frame buffer device is by mmap()ing it and doing everything manually in the mapped memory. I assume there must be ioctls for accessing the accelerated function