Where is the function xf1bppScreenInit()?

Alan Coopersmith alan.coopersmith at oracle.com
Thu Apr 25 08:43:01 PDT 2013


On 04/25/13 02:37 AM, ZHANG Zhaolong wrote:
> Hi all,
>
> I am reading xf86-video-vga-4.0.0.5 source code. It shows that:
>      if (pGenericPriv->ShadowFB)
>          call fbScreeInit();
>      else
>          call xf1bppScreenInit();

The vga driver is obsolete.  xf86-video-vesa replaced it.

> The same flow is in xf86-video-cirrus-1.3.2 too.

That's a very old driver version, from 2009, the current version is 1.5.2.

> But where is the function xf1bppScreenInit()?
>
> I searched in xorg-server-1.13.2.902, but didn't find the definition.

It was deleted in 2008, before xorg-server 1.5 was released.
http://cgit.freedesktop.org/xorg/xserver/commit/?id=f31bd087e8a7f65cd588bd1d022bb18e72b2a60c

The server <-> driver API changes over time, you need to look in Xorg 1.13
compatible drivers if you want to see Xorg 1.13 compatible API calls.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list