diff options
author | Brian Paul <[email protected]> | 2002-03-15 18:33:12 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-03-15 18:33:12 +0000 |
commit | 1d822ea8cfa765802fe63b1a5d8d2bd83118007f (patch) | |
tree | 7d39c01191d4d0e76455add8f85c34860be5bfd6 /src/mesa/drivers/x11/glxapi.h | |
parent | a72edf01ba366b305e37dae6bba5cef4e6323a7a (diff) |
updated comments. removed dead code.
Diffstat (limited to 'src/mesa/drivers/x11/glxapi.h')
-rw-r--r-- | src/mesa/drivers/x11/glxapi.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/mesa/drivers/x11/glxapi.h b/src/mesa/drivers/x11/glxapi.h index 1c4cb03622d..886cf76d74b 100644 --- a/src/mesa/drivers/x11/glxapi.h +++ b/src/mesa/drivers/x11/glxapi.h @@ -1,8 +1,8 @@ -/* $Id: glxapi.h,v 1.11 2001/05/29 23:15:07 brianp Exp $ */ +/* $Id: glxapi.h,v 1.12 2002/03/15 18:33:12 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 4.0.2 * * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. * @@ -34,10 +34,16 @@ #ifdef GLX_BUILT_IN_XMESA -/* The GLX API dispatcher is being built into XFree86's libGL */ +/* The GLX API dispatcher (i.e. this code) is being built into XFree86's + * libGL so we'll use the __GLXContextRec defined in xc/lib/GL/glx/glxclient.h +*/ #include "glxclient.h" #else -/* The GLX API dispatcher is being built into stand-alone Mesa */ +/* The GLX API dispatcher (i.e. this code) is being built into stand-alone + * Mesa. We don't know anything about XFree86 or real GLX so we define a + * minimal __GLXContextRec here so some of the functions in this file can + * work properly. + */ typedef struct __GLXcontextRec { Display *currentDpy; GLboolean isDirect; @@ -57,8 +63,10 @@ typedef struct __GLXcontextRec { * pseudo-GLX can be present at the same time. The former being used on * GLX-enabled X servers and the later on non-GLX X servers. * - * XXX Note that this hasn't actually been fully used yet in either Mesa or - * the DRI. Red Hat, however, has used it for their custom libGL. + * Red Hat has been using this since Red Hat Linux 7.0 (I think). + * This'll be a standard feature in XFree86 4.3. It basically allows one + * libGL to do both DRI-rendering and "fake GLX" rendering to X displays + * that lack the GLX extension. */ struct _glxapi_table { /*** GLX_VERSION_1_0 ***/ |