added comments
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 2 Feb 2000 19:34:08 +0000 (19:34 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 2 Feb 2000 19:34:08 +0000 (19:34 +0000)
src/mesa/main/dispatch.c
src/mesa/main/state.c

index 5dfed52..048ad16 100644 (file)
@@ -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
  */
 
 
+/*
+ * 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
index f6449a8..3ba8faf 100644 (file)
@@ -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
  */
 
 
+/*
+ * 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"