mesa: Drop manual checks for outside begin/end.
authorEric Anholt <eric@anholt.net>
Thu, 17 Jan 2013 00:20:38 +0000 (16:20 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 22 Jan 2013 05:26:47 +0000 (21:26 -0800)
commita9754793dab4b24c09cae21c29f902ce0e53319a
treee8bba535d85fecc8f1608c40d24e1e26da73520e
parentc572251417ef20d1d560b849931321a42b1be578
mesa: Drop manual checks for outside begin/end.

We now have a separate dispatch table for begin/end that prevent these
functions from being entered during that time.  The
ASSERT_OUTSIDE_BEGIN_END_WITH_RETVALs are left because I don't want to
change any return values or introduce new error-only stubs at this
point.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
53 files changed:
src/mesa/main/accum.c
src/mesa/main/api_validate.c
src/mesa/main/arbprogram.c
src/mesa/main/arrayobj.c
src/mesa/main/attrib.c
src/mesa/main/blend.c
src/mesa/main/bufferobj.c
src/mesa/main/buffers.c
src/mesa/main/clear.c
src/mesa/main/clip.c
src/mesa/main/colortab.c
src/mesa/main/depth.c
src/mesa/main/dlist.c
src/mesa/main/drawpix.c
src/mesa/main/enable.c
src/mesa/main/eval.c
src/mesa/main/fbobject.c
src/mesa/main/feedback.c
src/mesa/main/fog.c
src/mesa/main/framebuffer.c
src/mesa/main/get.c
src/mesa/main/getstring.c
src/mesa/main/hint.c
src/mesa/main/light.c
src/mesa/main/lines.c
src/mesa/main/matrix.c
src/mesa/main/multisample.c
src/mesa/main/pixel.c
src/mesa/main/pixelstore.c
src/mesa/main/points.c
src/mesa/main/polygon.c
src/mesa/main/queryobj.c
src/mesa/main/rastpos.c
src/mesa/main/readpix.c
src/mesa/main/samplerobj.c
src/mesa/main/scissor.c
src/mesa/main/shaderapi.c
src/mesa/main/stencil.c
src/mesa/main/syncobj.c
src/mesa/main/texenv.c
src/mesa/main/texgen.c
src/mesa/main/texgetimage.c
src/mesa/main/teximage.c
src/mesa/main/texobj.c
src/mesa/main/texparam.c
src/mesa/main/texstate.c
src/mesa/main/texturebarrier.c
src/mesa/main/transformfeedback.c
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c
src/mesa/main/varray.c
src/mesa/main/viewport.c
src/mesa/vbo/vbo_exec_api.c