diff options
author | Brian Paul <[email protected]> | 2009-11-12 20:59:26 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-11-15 16:22:53 -0700 |
commit | afae49cc152d05e6795ccaba4d818df946248584 (patch) | |
tree | 8800cf7080b5ba54b07af6aaa936cfffc5d5abaf | |
parent | 4581f7057809314c78e17f846890a2d64c22d575 (diff) |
st/mesa: comments for st_draw.c
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index c76bff91819..68bc76b5723 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -25,10 +25,20 @@ * **************************************************************************/ - /* - * Authors: - * Keith Whitwell <[email protected]> - */ +/* + * This file implements the st_draw_vbo() function which is called from + * Mesa's VBO module. All point/line/triangle rendering is done through + * this function whether the user called glBegin/End, glDrawArrays, + * glDrawElements, glEvalMesh, or glCalList, etc. + * + * We basically convert the VBO's vertex attribute/array information into + * Gallium vertex state, bind the vertex buffer objects and call + * pipe->draw_elements(), pipe->draw_range_elements() or pipe->draw_arrays(). + * + * Authors: + * Keith Whitwell <[email protected]> + */ + #include "main/imports.h" #include "main/image.h" |