A simple accelerated GL compositor

Tomasz Torcz zdzichu at irc.pl
Thu Jul 6 10:41:24 PDT 2006


On Thu, Jul 06, 2006 at 05:04:05PM +0100, Felix Bellaby wrote:
> I attach a simple GL based compositor that runs with the nVidia drivers
>  *   gcc -I/usr/include/nvidia -L/usr/lib64/nvidia -L/usr/lib/nvidia \
>  *       -lXcomposite -lXdamage -lX11 -lGL \
>  *       `pkg-config --libs --cflags glib-2.0` glcompmgr.c 

  also -lXfixes

  But it doesn't work with mga (Matrox G550/32MB). It exist in line 1165:
if (!(fbconfigs = glXChooseFBConfig(display, screen, fbc_attr_root, &n)))
      return 1;

 changing GLX_DEPTH_SIZE few lines above to 24 (my actual display depth)
doesn't make any difference.

-- 
Tomasz Torcz                 Morality must always be based on practicality.
zdzichu at irc.-nie.spam-.pl                -- Baron Vladimir Harkonnen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060706/8827dcd2/attachment.pgp>


More information about the xorg mailing list