how to enable H/w graphics acceleration in Xserver/hw/xfree86/drivers/fbdev/fbdev.c

Alan Hourihane alanh at fairlite.demon.co.uk
Fri Jun 20 06:04:23 PDT 2008


No,

The FBDev interface does not expose the HW acceleration functions to
user space, so you'll need to bring those across into a driver for your
chip.

Alan.

On Fri, 2008-06-20 at 17:27 +0530, rama prasad wrote:
> Hello List,
> 
> I am trying to understand the "fbdev" implementation to enable H/W
> acceleration on my board.
> 
> I found the "FBDevDGAFunctions" variable which I think might be used
> for enabling H/W accelaration. This variable is declared in
> xorg/sources/build/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c
> file as follows
> 
> static DGAFunctionRec FBDevDGAFunctions =
> {
>     FBDevDGAOpenFramebuffer,
>     NULL,       /* CloseFramebuffer */
>     FBDevDGASetMode,
>     FBDevDGASetViewport,
>     FBDevDGAGetViewport,
>     NULL,       /* Sync */
>     NULL,       /* FillRect */
>     NULL,       /* BlitRect */
>     NULL,       /* BlitTransRect */
> };
> 
> I have modified the above strucutre by replacing NULL with function
> names for FillRect, BlitRect and BlitTransRect. But Xserver is not
> calling these functions at all???
> 
> 
> Can anyone suggest me what is going wrong?
> 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg




More information about the xorg mailing list