1 /* 2 NatFeat host OSMesa rendering: NatFeat functions 3 4 ARAnyM (C) 2003 Patrice Mandin 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2 of the License, or 9 (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 */ 20 21 #ifndef _NFOSMESA_NFAPI_H 22 #define _NFOSMESA_NFAPI_H 23 24 #define NFOSMESA_IOCTL (('N'<<8)|'F') 25 26 /* if you change anything in the enum {} below you have to increase 27 this ARANFOSMESA_NFAPI_VERSION! 28 */ 29 #define ARANFOSMESA_NFAPI_VERSION 4 30 31 enum { 32 GET_VERSION=0, /* no parameters, return NFAPI_VERSION in d0 */ 33 34 #include "enum-gl.h" 35 NFOSMESA_LAST, 36 NFOSMESA_ENOSYS = NFOSMESA_LAST 37 }; 38 39 #define NFOSMESA(a) (nfOSMesaId + a) 40 41 #endif /* _NFOSMESA_NFAPI_H */ 42