17117f1b4Smrg/**************************************************************************
27117f1b4Smrg
3af69d88dSmrgCopyright 2002 VMware, Inc.
47117f1b4Smrg
57117f1b4SmrgAll Rights Reserved.
67117f1b4Smrg
77117f1b4SmrgPermission is hereby granted, free of charge, to any person obtaining a
87117f1b4Smrgcopy of this software and associated documentation files (the "Software"),
97117f1b4Smrgto deal in the Software without restriction, including without limitation
107117f1b4Smrgon the rights to use, copy, modify, merge, publish, distribute, sub
117117f1b4Smrglicense, and/or sell copies of the Software, and to permit persons to whom
127117f1b4Smrgthe Software is furnished to do so, subject to the following conditions:
137117f1b4Smrg
147117f1b4SmrgThe above copyright notice and this permission notice (including the next
157117f1b4Smrgparagraph) shall be included in all copies or substantial portions of the
167117f1b4SmrgSoftware.
177117f1b4Smrg
187117f1b4SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
197117f1b4SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
207117f1b4SmrgFITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
21af69d88dSmrgVMWARE AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM,
227117f1b4SmrgDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
237117f1b4SmrgOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
247117f1b4SmrgUSE OR OTHER DEALINGS IN THE SOFTWARE.
257117f1b4Smrg
267117f1b4Smrg**************************************************************************/
277117f1b4Smrg
287117f1b4Smrg/*
297117f1b4Smrg * Authors:
30af69d88dSmrg *   Keith Whitwell <keithw@vmware.com>
317117f1b4Smrg *
327117f1b4Smrg */
337117f1b4Smrg
3401e04c3fSmrg#ifndef VBO_EXEC_H
3501e04c3fSmrg#define VBO_EXEC_H
367117f1b4Smrg
3701e04c3fSmrg#include "main/dd.h"
387ec681f3Smrg#include "main/mesa_private.h"
397117f1b4Smrg#include "vbo.h"
407117f1b4Smrg#include "vbo_attrib.h"
417117f1b4Smrg
4201e04c3fSmrgvoid
437ec681f3Smrgvbo_exec_init(struct gl_context *ctx, bool use_buffer_objects);
447117f1b4Smrg
4501e04c3fSmrgvoid
4601e04c3fSmrgvbo_exec_destroy(struct gl_context *ctx);
474a49301eSmrg
4801e04c3fSmrgvoid
497ec681f3Smrgvbo_exec_vtx_init(struct vbo_exec_context *exec, bool use_buffer_objects);
504a49301eSmrg
5101e04c3fSmrgvoid
5201e04c3fSmrgvbo_exec_vtx_destroy(struct vbo_exec_context *exec);
534a49301eSmrg
5401e04c3fSmrgvoid
557ec681f3Smrgvbo_exec_vtx_flush(struct vbo_exec_context *exec);
564a49301eSmrg
5701e04c3fSmrgvoid
5801e04c3fSmrgvbo_exec_vtx_map(struct vbo_exec_context *exec);
597117f1b4Smrg
6001e04c3fSmrgvoid
6101e04c3fSmrgvbo_exec_eval_update(struct vbo_exec_context *exec);
627117f1b4Smrg
6301e04c3fSmrgvoid
6401e04c3fSmrgvbo_exec_do_EvalCoord2f(struct vbo_exec_context *exec, GLfloat u, GLfloat v);
657117f1b4Smrg
6601e04c3fSmrgvoid
6701e04c3fSmrgvbo_exec_do_EvalCoord1f(struct vbo_exec_context *exec, GLfloat u);
687117f1b4Smrg
697117f1b4Smrg#endif
70