X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fcontext.h;h=c3be1063f86ff16c599e8e55726f41a13f34a740;hb=419ae5a48339795d369a41d66312246b2e19f201;hp=0531ae8ee860a60fcd26f0e293cae45d171b4a7e;hpb=edb02671704aeb60e3eeaa7f58c73f4845c5b7e2;p=mesa.git diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index 0531ae8ee86..c3be1063f86 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -159,12 +159,25 @@ _mesa_set_mvp_with_dp4( GLcontext *ctx, GLboolean flag ); +extern GLboolean +_mesa_valid_to_render(GLcontext *ctx, const char *where); + + + /** \name Miscellaneous */ /*@{*/ extern void _mesa_record_error( GLcontext *ctx, GLenum error ); + +extern void +_mesa_finish(GLcontext *ctx); + +extern void +_mesa_flush(GLcontext *ctx); + + extern void GLAPIENTRY _mesa_Finish( void ); @@ -174,7 +187,6 @@ _mesa_Flush( void ); /*@}*/ - /** * \name Macros for flushing buffered rendering commands before state changes, * checking if inside glBegin/glEnd, etc.