summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-02-02 19:34:08 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-02-02 19:34:08 +0000
commita02fb6afc865a30077ae4d802a7020371c141e73 (patch)
tree95872eb0e5582cfec8b7cf69d92df6644fdf6206
parent3face37ca4130b4c8e8aebcc4e25f6f19843c3fa (diff)
added comments
-rw-r--r--src/mesa/main/dispatch.c19
-rw-r--r--src/mesa/main/state.c7
2 files changed, 24 insertions, 2 deletions
diff --git a/src/mesa/main/dispatch.c b/src/mesa/main/dispatch.c
index 5dfed52a3d..048ad16169 100644
--- a/src/mesa/main/dispatch.c
+++ b/src/mesa/main/dispatch.c
@@ -1,4 +1,4 @@
-/* $Id: dispatch.c,v 1.14 2000/02/02 19:18:19 brianp Exp $ */
+/* $Id: dispatch.c,v 1.15 2000/02/02 19:34:08 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -25,6 +25,23 @@
*/
+/*
+ * This file generates all the gl* function entyrpoints.
+ * But if we're using X86-optimized dispatch (X86/glapi_x86.S) then
+ * each of the entrypoints will be prefixed with _glapi_fallback_*
+ * and will be called by the glapi_x86.S code when we're in thread-
+ * safe mode.
+ *
+ * Eventually this file may be replaced by automatically generated
+ * code from an API spec file.
+ *
+ * NOTE: This file should _not_ be used when compiling Mesa for a DRI-
+ * based device driver.
+ *
+ */
+
+
+
#ifdef PC_HEADER
#include "all.h"
#else
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index f6449a8467..3ba8faf9ba 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -1,4 +1,4 @@
-/* $Id: state.c,v 1.1 2000/02/02 19:15:19 brianp Exp $ */
+/* $Id: state.c,v 1.2 2000/02/02 19:34:08 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -25,6 +25,11 @@
*/
+/*
+ * This file initializes the immediate-mode dispatch table (which may
+ * be state-dependant) and manages internal Mesa state update.
+ */
+
#ifdef PC_HEADER
#include "all.h"