X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fstate.h;h=29db08a0b95a3b50611e2efe3ffb90584ea9c6d4;hb=0491142152dcc61ebe0b46b05c94957e54c44bd9;hp=58cfcc414626de1fa99c18e5afb83887fd5f8032;hpb=21f6978c532eae50d9daefd481b5ab936225fd27;p=mesa.git diff --git a/src/mesa/main/state.h b/src/mesa/main/state.h index 58cfcc41462..29db08a0b95 100644 --- a/src/mesa/main/state.h +++ b/src/mesa/main/state.h @@ -1,13 +1,8 @@ -/** - * \file state.h - * State management. - */ - /* * Mesa 3-D graphics library - * Version: 6.3 + * Version: 7.3 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2008 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -34,10 +29,21 @@ #include "mtypes.h" extern void -_mesa_init_exec_table(struct _glapi_table *exec); +_mesa_update_state(GLcontext *ctx); + +/* As above but can only be called between _mesa_lock_context_textures() and + * _mesa_unlock_context_textures(). + */ +extern void +_mesa_update_state_locked(GLcontext *ctx); + + +extern void +_mesa_set_varying_vp_inputs(GLcontext *ctx, GLbitfield varying_inputs); + extern void -_mesa_update_state( GLcontext *ctx ); +_mesa_set_vp_override(GLcontext *ctx, GLboolean flag); #endif