X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fpoints.h;h=c3d0f691b0389287618f13a498e570206d36845d;hb=f80bea2d8066d228e78a1744d036f69a0265116e;hp=55407491bb06ea2ed621e906acb59095abdcda1e;hpb=1537b63fce36f87b3606d0e7cdca2d10bbdffd56;p=mesa.git diff --git a/src/mesa/main/points.h b/src/mesa/main/points.h index 55407491bb0..c3d0f691b03 100644 --- a/src/mesa/main/points.h +++ b/src/mesa/main/points.h @@ -1,10 +1,12 @@ -/* $Id: points.h,v 1.6 2002/04/02 16:15:17 brianp Exp $ */ +/** + * \file points.h + * Point operations. + */ /* * Mesa 3-D graphics library - * Version: 4.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -19,9 +21,10 @@ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. */ @@ -29,17 +32,28 @@ #define POINTS_H -#include "mtypes.h" +#include "glheader.h" + +struct gl_context; -extern void +extern void GLAPIENTRY _mesa_PointSize( GLfloat size ); -extern void -_mesa_PointParameterfEXT( GLenum pname, GLfloat param); +extern void GLAPIENTRY +_mesa_PointParameteri( GLenum pname, GLint param ); + +extern void GLAPIENTRY +_mesa_PointParameteriv( GLenum pname, const GLint *params ); + +extern void GLAPIENTRY +_mesa_PointParameterf( GLenum pname, GLfloat param ); + +extern void GLAPIENTRY +_mesa_PointParameterfv( GLenum pname, const GLfloat *params ); -extern void -_mesa_PointParameterfvEXT( GLenum pname, const GLfloat *params ); +extern void +_mesa_init_point( struct gl_context * ctx ); #endif