mesa: implement DEBUG_ALWAYS_FLUSH debug option
authorBrian Paul <brianp@vmware.com>
Wed, 9 May 2012 18:08:47 +0000 (12:08 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 11 May 2012 22:13:14 +0000 (16:13 -0600)
commit014306578be1f7aeb883e7b22eb255eda82fa011
treeb16055b495f538c9ce686a6fe431007a82e3324c
parentda35c2b38c1419690b6647fbc2f930cb04c6877f
mesa: implement DEBUG_ALWAYS_FLUSH debug option

This flag has been around for a while but it wasn't actually used anywhere.

Now, setting this flag causes a glFlush() to be issued after each
drawing call (including glBegin/End, glDrawElements, glDrawArrays,
glDrawPixels, glCopyPixels and glBitmap).
src/mesa/main/drawpix.c
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_exec_array.c