blob: 8a45096c66364b0979adde7c774a0fe2ec55937c [file] [log] [blame]
Brian Paul08836342001-03-03 20:33:27 +00001/* $Id: state.h,v 1.6 2001/03/03 20:33:27 brianp Exp $ */
Brian Pauld0a3ea02000-02-02 19:15:19 +00002
3/*
4 * Mesa 3-D graphics library
Brian Paulfa4525e2000-08-21 14:22:24 +00005 * Version: 3.5
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +00006 *
Brian Pauld0a3ea02000-02-02 19:15:19 +00007 * Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +00008 *
Brian Pauld0a3ea02000-02-02 19:15:19 +00009 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +000015 *
Brian Pauld0a3ea02000-02-02 19:15:19 +000016 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +000018 *
Brian Pauld0a3ea02000-02-02 19:15:19 +000019 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 */
26
27
28#ifndef STATE_H
29#define STATE_H
30
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +000031#include "mtypes.h"
Brian Pauld0a3ea02000-02-02 19:15:19 +000032
33
Brian Paul5fb84d22000-05-24 15:04:45 +000034extern void
35_mesa_init_no_op_table(struct _glapi_table *exec, GLuint tableSize);
36
37extern void
38_mesa_init_exec_table(struct _glapi_table *exec, GLuint tableSize);
39
Brian Paulfa4525e2000-08-21 14:22:24 +000040extern void
Brian Paul08836342001-03-03 20:33:27 +000041_mesa_update_state( GLcontext *ctx );
Brian Paul5fb84d22000-05-24 15:04:45 +000042
Brian Paulfa4525e2000-08-21 14:22:24 +000043extern void
Brian Paul08836342001-03-03 20:33:27 +000044_mesa_print_state( const char *msg, GLuint state );
Brian Pauld0a3ea02000-02-02 19:15:19 +000045
Brian Paulfa4525e2000-08-21 14:22:24 +000046extern void
Brian Paul08836342001-03-03 20:33:27 +000047_mesa_print_enable_flags( const char *msg, GLuint flags );
Brian Pauld0a3ea02000-02-02 19:15:19 +000048
Brian Pauld0a3ea02000-02-02 19:15:19 +000049
50#endif