1bf215546Sopenharmony_ci/************************************************************************** 2bf215546Sopenharmony_ci 3bf215546Sopenharmony_ciCopyright 2002 VMware, Inc. 4bf215546Sopenharmony_ci 5bf215546Sopenharmony_ciAll Rights Reserved. 6bf215546Sopenharmony_ci 7bf215546Sopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining a 8bf215546Sopenharmony_cicopy of this software and associated documentation files (the "Software"), 9bf215546Sopenharmony_cito deal in the Software without restriction, including without limitation 10bf215546Sopenharmony_cion the rights to use, copy, modify, merge, publish, distribute, sub 11bf215546Sopenharmony_cilicense, and/or sell copies of the Software, and to permit persons to whom 12bf215546Sopenharmony_cithe Software is furnished to do so, subject to the following conditions: 13bf215546Sopenharmony_ci 14bf215546Sopenharmony_ciThe above copyright notice and this permission notice (including the next 15bf215546Sopenharmony_ciparagraph) shall be included in all copies or substantial portions of the 16bf215546Sopenharmony_ciSoftware. 17bf215546Sopenharmony_ci 18bf215546Sopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19bf215546Sopenharmony_ciIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20bf215546Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 21bf215546Sopenharmony_ciVMWARE AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, 22bf215546Sopenharmony_ciDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 23bf215546Sopenharmony_ciOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 24bf215546Sopenharmony_ciUSE OR OTHER DEALINGS IN THE SOFTWARE. 25bf215546Sopenharmony_ci 26bf215546Sopenharmony_ci**************************************************************************/ 27bf215546Sopenharmony_ci 28bf215546Sopenharmony_ci/* 29bf215546Sopenharmony_ci * Authors: 30bf215546Sopenharmony_ci * Keith Whitwell <keithw@vmware.com> 31bf215546Sopenharmony_ci * 32bf215546Sopenharmony_ci */ 33bf215546Sopenharmony_ci 34bf215546Sopenharmony_ci#ifndef VBO_EXEC_H 35bf215546Sopenharmony_ci#define VBO_EXEC_H 36bf215546Sopenharmony_ci 37bf215546Sopenharmony_ci#include "main/dd.h" 38bf215546Sopenharmony_ci#include "main/mesa_private.h" 39bf215546Sopenharmony_ci#include "vbo.h" 40bf215546Sopenharmony_ci#include "vbo_attrib.h" 41bf215546Sopenharmony_ci 42bf215546Sopenharmony_civoid 43bf215546Sopenharmony_civbo_exec_init(struct gl_context *ctx); 44bf215546Sopenharmony_ci 45bf215546Sopenharmony_civoid 46bf215546Sopenharmony_civbo_exec_destroy(struct gl_context *ctx); 47bf215546Sopenharmony_ci 48bf215546Sopenharmony_civoid 49bf215546Sopenharmony_civbo_exec_vtx_init(struct vbo_exec_context *exec); 50bf215546Sopenharmony_ci 51bf215546Sopenharmony_civoid 52bf215546Sopenharmony_civbo_exec_vtx_destroy(struct vbo_exec_context *exec); 53bf215546Sopenharmony_ci 54bf215546Sopenharmony_civoid 55bf215546Sopenharmony_civbo_exec_vtx_flush(struct vbo_exec_context *exec); 56bf215546Sopenharmony_ci 57bf215546Sopenharmony_civoid 58bf215546Sopenharmony_civbo_exec_vtx_map(struct vbo_exec_context *exec); 59bf215546Sopenharmony_ci 60bf215546Sopenharmony_civoid 61bf215546Sopenharmony_civbo_exec_eval_update(struct vbo_exec_context *exec); 62bf215546Sopenharmony_ci 63bf215546Sopenharmony_civoid 64bf215546Sopenharmony_civbo_exec_do_EvalCoord2f(struct vbo_exec_context *exec, GLfloat u, GLfloat v); 65bf215546Sopenharmony_ci 66bf215546Sopenharmony_civoid 67bf215546Sopenharmony_civbo_exec_do_EvalCoord1f(struct vbo_exec_context *exec, GLfloat u); 68bf215546Sopenharmony_ci 69bf215546Sopenharmony_ci#endif 70