From a02fb6afc865a30077ae4d802a7020371c141e73 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 2 Feb 2000 19:34:08 +0000 Subject: [PATCH] added comments --- src/mesa/main/dispatch.c | 19 ++++++++++++++++++- src/mesa/main/state.c | 7 ++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/dispatch.c b/src/mesa/main/dispatch.c index 5dfed52a3d1..048ad16169e 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 f6449a8467f..3ba8faf9bad 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" -- 2.30.2