17117f1b4Smrg/** 27117f1b4Smrg * \file vtxfmt.h 37117f1b4Smrg * 4af69d88dSmrg * \author Keith Whitwell <keithw@vmware.com> 57117f1b4Smrg * \author Gareth Hughes 67117f1b4Smrg */ 77117f1b4Smrg 87117f1b4Smrg/* 97117f1b4Smrg * Mesa 3-D graphics library 107117f1b4Smrg * 117117f1b4Smrg * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. 127117f1b4Smrg * 137117f1b4Smrg * Permission is hereby granted, free of charge, to any person obtaining a 147117f1b4Smrg * copy of this software and associated documentation files (the "Software"), 157117f1b4Smrg * to deal in the Software without restriction, including without limitation 167117f1b4Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 177117f1b4Smrg * and/or sell copies of the Software, and to permit persons to whom the 187117f1b4Smrg * Software is furnished to do so, subject to the following conditions: 197117f1b4Smrg * 207117f1b4Smrg * The above copyright notice and this permission notice shall be included 217117f1b4Smrg * in all copies or substantial portions of the Software. 227117f1b4Smrg * 237117f1b4Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 247117f1b4Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 257117f1b4Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 26af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 27af69d88dSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 28af69d88dSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 29af69d88dSmrg * OTHER DEALINGS IN THE SOFTWARE. 307117f1b4Smrg */ 317117f1b4Smrg 327117f1b4Smrg 337117f1b4Smrg#ifndef _VTXFMT_H_ 347117f1b4Smrg#define _VTXFMT_H_ 357117f1b4Smrg 3601e04c3fSmrg#include "dd.h" 3701e04c3fSmrg 3801e04c3fSmrg#ifdef __cplusplus 3901e04c3fSmrgextern "C" { 4001e04c3fSmrg#endif 4101e04c3fSmrg 4201e04c3fSmrgstruct gl_context; 437117f1b4Smrg 443464ebd5Sriastradhextern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt ); 453464ebd5Sriastradhextern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt ); 46af69d88dSmrgextern void _mesa_initialize_vbo_vtxfmt(struct gl_context *ctx); 474a49301eSmrg 4801e04c3fSmrg#ifdef __cplusplus 4901e04c3fSmrg} // extern "C" 5001e04c3fSmrg#endif 5101e04c3fSmrg 524a49301eSmrg#endif /* _VTXFMT_H_ */ 53