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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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 memory. I

Re: Accelerated frame buffer functions

2005-02-02 Thread Xavier Bestel
Le mercredi 02 fvrier 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 memory.

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 manually

Re: Accelerated frame buffer functions

2005-02-02 Thread Gbor Lnrt
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 [...] Yepp,

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'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 graphics

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 manually in the

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 acceleration

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 library that

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