1*61046927SAndroid Build Coastguard Worker /** 2*61046927SAndroid Build Coastguard Worker * \file eval.h 3*61046927SAndroid Build Coastguard Worker * Eval operations. 4*61046927SAndroid Build Coastguard Worker * 5*61046927SAndroid Build Coastguard Worker * \if subset 6*61046927SAndroid Build Coastguard Worker * (No-op) 7*61046927SAndroid Build Coastguard Worker * 8*61046927SAndroid Build Coastguard Worker * \endif 9*61046927SAndroid Build Coastguard Worker */ 10*61046927SAndroid Build Coastguard Worker 11*61046927SAndroid Build Coastguard Worker /* 12*61046927SAndroid Build Coastguard Worker * Mesa 3-D graphics library 13*61046927SAndroid Build Coastguard Worker * 14*61046927SAndroid Build Coastguard Worker * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. 15*61046927SAndroid Build Coastguard Worker * 16*61046927SAndroid Build Coastguard Worker * Permission is hereby granted, free of charge, to any person obtaining a 17*61046927SAndroid Build Coastguard Worker * copy of this software and associated documentation files (the "Software"), 18*61046927SAndroid Build Coastguard Worker * to deal in the Software without restriction, including without limitation 19*61046927SAndroid Build Coastguard Worker * the rights to use, copy, modify, merge, publish, distribute, sublicense, 20*61046927SAndroid Build Coastguard Worker * and/or sell copies of the Software, and to permit persons to whom the 21*61046927SAndroid Build Coastguard Worker * Software is furnished to do so, subject to the following conditions: 22*61046927SAndroid Build Coastguard Worker * 23*61046927SAndroid Build Coastguard Worker * The above copyright notice and this permission notice shall be included 24*61046927SAndroid Build Coastguard Worker * in all copies or substantial portions of the Software. 25*61046927SAndroid Build Coastguard Worker * 26*61046927SAndroid Build Coastguard Worker * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 27*61046927SAndroid Build Coastguard Worker * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 28*61046927SAndroid Build Coastguard Worker * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 29*61046927SAndroid Build Coastguard Worker * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 30*61046927SAndroid Build Coastguard Worker * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 31*61046927SAndroid Build Coastguard Worker * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 32*61046927SAndroid Build Coastguard Worker * OTHER DEALINGS IN THE SOFTWARE. 33*61046927SAndroid Build Coastguard Worker */ 34*61046927SAndroid Build Coastguard Worker 35*61046927SAndroid Build Coastguard Worker 36*61046927SAndroid Build Coastguard Worker #ifndef EVAL_H 37*61046927SAndroid Build Coastguard Worker #define EVAL_H 38*61046927SAndroid Build Coastguard Worker 39*61046927SAndroid Build Coastguard Worker 40*61046927SAndroid Build Coastguard Worker #include "dd.h" 41*61046927SAndroid Build Coastguard Worker #include <stdbool.h> 42*61046927SAndroid Build Coastguard Worker 43*61046927SAndroid Build Coastguard Worker 44*61046927SAndroid Build Coastguard Worker extern GLuint _mesa_evaluator_components( GLenum target ); 45*61046927SAndroid Build Coastguard Worker 46*61046927SAndroid Build Coastguard Worker 47*61046927SAndroid Build Coastguard Worker extern GLfloat *_mesa_copy_map_points1f( GLenum target, 48*61046927SAndroid Build Coastguard Worker GLint ustride, GLint uorder, 49*61046927SAndroid Build Coastguard Worker const GLfloat *points ); 50*61046927SAndroid Build Coastguard Worker 51*61046927SAndroid Build Coastguard Worker extern GLfloat *_mesa_copy_map_points1d( GLenum target, 52*61046927SAndroid Build Coastguard Worker GLint ustride, GLint uorder, 53*61046927SAndroid Build Coastguard Worker const GLdouble *points ); 54*61046927SAndroid Build Coastguard Worker 55*61046927SAndroid Build Coastguard Worker extern GLfloat *_mesa_copy_map_points2f( GLenum target, 56*61046927SAndroid Build Coastguard Worker GLint ustride, GLint uorder, 57*61046927SAndroid Build Coastguard Worker GLint vstride, GLint vorder, 58*61046927SAndroid Build Coastguard Worker const GLfloat *points ); 59*61046927SAndroid Build Coastguard Worker 60*61046927SAndroid Build Coastguard Worker extern GLfloat *_mesa_copy_map_points2d(GLenum target, 61*61046927SAndroid Build Coastguard Worker GLint ustride, GLint uorder, 62*61046927SAndroid Build Coastguard Worker GLint vstride, GLint vorder, 63*61046927SAndroid Build Coastguard Worker const GLdouble *points ); 64*61046927SAndroid Build Coastguard Worker 65*61046927SAndroid Build Coastguard Worker extern void _mesa_init_eval( struct gl_context *ctx ); 66*61046927SAndroid Build Coastguard Worker extern void _mesa_free_eval_data( struct gl_context *ctx ); 67*61046927SAndroid Build Coastguard Worker 68*61046927SAndroid Build Coastguard Worker #endif /* EVAL_H */ 69