mesa/src
Brian Paul 0a7602b938 vbo: signal _NEW_ARRAY when transitioning between glBegin/End, glDrawArrays
This fixes a regression seen with the isosurf demo when switching between
glBegin/End and glDrawArrays (do it several times).  The problem was the
driver wasn't getting _NEW_ARRAY when the arrays were subtly changed:
(vertex3f, normal3f) vs. (normal3f, vertex3f).

This patch fixes that by signaling _NEW_ARRAY whenever we transition
between glBegin/End and glDrawArrays mode and display lists.

The patch also fixes up the initialization of the map_vp_none[] array
to stop putting strange values in the last five elements of the array.

v2: remove DRAW_ELEMENTS, don't distinguish between glDrawArrays and
glDrawElements

v3: add DRAW_DISPLAY_LIST for the display list case, just to be safe.

Reviewed-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Tested-by: Mathias Froehlich <Mathias.Froehlich@web.de>
2011-12-26 15:21:32 -07:00
..
egl egl/x11: Merge the right version of Frederiks change 2011-12-21 10:29:30 -05:00
gallium vl: call decode_bitstream only once 2011-12-26 16:37:47 +01:00
gbm gbm/dri: avoid crash in dri_screen_create 2011-08-04 14:09:34 +02:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: remove old autogen.sh 2011-12-23 17:03:00 -08:00
glu glu: Fix deprecated conversion from string constant to ‘char*’ warning. 2011-11-09 10:24:37 +00:00
glx glx: Propagate the glXIsDirect protocol error back to the application 2011-12-23 08:40:30 -08:00
mapi Regenerate files from previous commits 2011-12-13 16:07:17 -08:00
mesa vbo: signal _NEW_ARRAY when transitioning between glBegin/End, glDrawArrays 2011-12-26 15:21:32 -07:00
Makefile Create $(TOP)/$(LIB_DIR) for install, too 2008-06-22 20:19:35 -07:00
SConscript scons: Unbreak mingw build. 2011-09-20 20:50:48 +01:00