1e127a0d80155b45dafe77f2b4380e5fa111a3345Chris Lattner/*
22cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * Mesa 3-D graphics library
32cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * Version:  6.5
42cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor *
52cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * Copyright (C) 1999-2005  Brian Paul   All Rights Reserved.
62cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor *
72cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * Permission is hereby granted, free of charge, to any person obtaining a
82cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * copy of this software and associated documentation files (the "Software"),
92cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * to deal in the Software without restriction, including without limitation
102cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * the rights to use, copy, modify, merge, publish, distribute, sublicense,
112cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * and/or sell copies of the Software, and to permit persons to whom the
122cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * Software is furnished to do so, subject to the following conditions:
132cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor *
142cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * The above copyright notice and this permission notice shall be included
15e7785040107266d01ebdcc066365f70b7ace371fDouglas Gregor * in all copies or substantial portions of the Software.
161eb4433ac451dc16f4133a88af2d002ac26c58efMike Stump *
172cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
182cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
192cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
200b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
212cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22a1ee0c548b8aa4aaf93d1917e304e3da13171a08John McCall * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2377f4603c8b142e642300959a601ecec2b7c8e288Sebastian Redl */
247c5d24efcd2e505b5739f7def08dfe25ce59a1b2Chris Lattner
256a5a23f8e7fb65e028c8092bc1d1a1d9dfe2e9bcDouglas Gregor
267c5d24efcd2e505b5739f7def08dfe25ce59a1b2Chris Lattner#ifndef ARBPROGPARSE_H
2783d63c78810556d26b62ac4cbae2eda6cdd2570cSteve Naroff#define ARBPROGPARSE_H
2814f79002e58556798e86168c63e48d533287eda5Douglas Gregor
293251ceb90b3fec68e86d6dcfa58836e20a7205c3Douglas Gregor#include "main/glheader.h"
3014f79002e58556798e86168c63e48d533287eda5Douglas Gregor
31bd94500d3aa60092fb0f1e90f53fb0d03fa502a8Douglas Gregorstruct gl_context;
322bec0410d268779f601bd509e0302a500af7ac6aDouglas Gregorstruct gl_fragment_program;
33ab41e63821dc60ad144d0684df8d79a9eef86b75Douglas Gregorstruct gl_vertex_program;
3417fc223395d51be582fc666bb6ea21bd1dff26dcDouglas Gregor
3517fc223395d51be582fc666bb6ea21bd1dff26dcDouglas Gregorextern void
362596e429a61602312bdd149786045b8a90cd2d10Daniel Dunbar_mesa_parse_arb_vertex_program(struct gl_context *ctx, GLenum target,
372cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor			       const GLvoid *str, GLsizei len,
3814f79002e58556798e86168c63e48d533287eda5Douglas Gregor			       struct gl_vertex_program *program);
39b64c19365deab788753d29c9bc881253c3f16f37Douglas Gregor
403c304bd9ec2b4611572d4cbae9e1727bbecb5dc9Chris Lattnerextern void
412cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor_mesa_parse_arb_fragment_program(struct gl_context *ctx, GLenum target,
422cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor                                 const GLvoid *str, GLsizei len,
43ade5000c8763f4bec41f452d7efa3a9b2a6d4712Sebastian Redl                                 struct gl_fragment_program *program);
44ade5000c8763f4bec41f452d7efa3a9b2a6d4712Sebastian Redl
45ade5000c8763f4bec41f452d7efa3a9b2a6d4712Sebastian Redl#endif
46ade5000c8763f4bec41f452d7efa3a9b2a6d4712Sebastian Redl