#41 Accelerated OpenGL

closed-accepted
None
5
2002-08-28
2002-06-04
Greg Parker
No

1. apply glxaqua.patch to xc/programs/Xserver
2. unpack glxaqua.tar.gz into xc/programs/Xserver/GL (you should end up with a GL/aqua directory)
3. add "#define GlxUseAqua YES" to xc/config/cf/darwin.cf
4. make World

Discussion

  • Greg Parker
    Greg Parker
    2002-06-04

    glxaqua.patch

     
    Attachments
  • Greg Parker
    Greg Parker
    2002-06-04

    glxaqua.tar.gz

     
    Attachments
  • Logged In: NO

    Hi, I can't get it to compile. I get :

    making all in programs/Xserver/GL/aqua/src/X...
    /usr/bin/cc -O2 -Wall -Wpointer-arith -no-cpp-precomp -I. -I../../../../../../
    exports/include -I../../../../../../exports/include/X11 -I../../../../../../include/
    extensions -I../../../../../../lib/GL/glx -I../../../../../../lib/GL/
    include -I../../../../../../programs/Xserver/include -I../../../../../
    ../programs/Xserver/GL/include -I../../../../../../programs/
    Xserver/GL/glx -I../../../../../.. -I../../../../../../exports/include -
    D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DX_LOCALE -
    DSHAPE -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP
    -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -
    DRENDER -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -
    DXvExtension -DXFree86Server -DXF86VIDMODE -DXvMCExtension
    -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=
    X_BIG_ENDIAN -DNDEBUG -DXFree86Module -DGLXEXT -
    DGLX_USE_MESA -fno-common -c -o xf86glx.o xf86glx.m
    xf86glx.m:99: `GL_CORE_AQUA' undeclared here (not in a function)
    xf86glx.m:99: too many errors, bailing out
    make[8]: *** [xf86glx.o] Error 1

    Maybe I have a problem in xc/programs/Xserver/Imakefile, because I
    couldn't apply your patch and had to do it manually. Any chance you
    can e-mail me your Imakefile? (pcl36688@popsrv.ist.utl.pt)

    Thanks, Ricardo

     
    • assigned_to: nobody --> torrey
    • status: open --> closed-accepted
     
  • Logged In: YES
    user_id=133579

    Hardware accelerated GLX kicks bootie. Enough said. :-)