pixel.h revision 01e04c3f
17117f1b4Smrg/*
27117f1b4Smrg * Mesa 3-D graphics library
37117f1b4Smrg *
4c1f859d4Smrg * Copyright (C) 1999-2008  Brian Paul   All Rights Reserved.
57117f1b4Smrg *
67117f1b4Smrg * Permission is hereby granted, free of charge, to any person obtaining a
77117f1b4Smrg * copy of this software and associated documentation files (the "Software"),
87117f1b4Smrg * to deal in the Software without restriction, including without limitation
97117f1b4Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
107117f1b4Smrg * and/or sell copies of the Software, and to permit persons to whom the
117117f1b4Smrg * Software is furnished to do so, subject to the following conditions:
127117f1b4Smrg *
137117f1b4Smrg * The above copyright notice and this permission notice shall be included
147117f1b4Smrg * in all copies or substantial portions of the Software.
157117f1b4Smrg *
167117f1b4Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
177117f1b4Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
187117f1b4Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20af69d88dSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21af69d88dSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22af69d88dSmrg * OTHER DEALINGS IN THE SOFTWARE.
237117f1b4Smrg */
247117f1b4Smrg
257117f1b4Smrg
26c1f859d4Smrg/**
27c1f859d4Smrg * \file pixel.h
28c1f859d4Smrg * Pixel operations.
29c1f859d4Smrg */
30c1f859d4Smrg
31c1f859d4Smrg
327117f1b4Smrg#ifndef PIXEL_H
337117f1b4Smrg#define PIXEL_H
347117f1b4Smrg
357117f1b4Smrg
363464ebd5Sriastradh#include "glheader.h"
373464ebd5Sriastradh
383464ebd5Sriastradhstruct gl_context;
397117f1b4Smrg
407117f1b4Smrg
41af69d88dSmrgvoid GLAPIENTRY
42af69d88dSmrg_mesa_PixelZoom( GLfloat xfactor, GLfloat yfactor );
43af69d88dSmrgvoid GLAPIENTRY
44af69d88dSmrg_mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values );
45af69d88dSmrgvoid GLAPIENTRY
46af69d88dSmrg_mesa_PixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values );
47af69d88dSmrgvoid GLAPIENTRY
48af69d88dSmrg_mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values );
49af69d88dSmrgvoid GLAPIENTRY
50af69d88dSmrg_mesa_GetnPixelMapfvARB( GLenum map, GLsizei bufSize, GLfloat *values );
51af69d88dSmrgvoid GLAPIENTRY
52af69d88dSmrg_mesa_GetPixelMapfv( GLenum map, GLfloat *values );
53af69d88dSmrgvoid GLAPIENTRY
54af69d88dSmrg_mesa_GetnPixelMapuivARB( GLenum map, GLsizei bufSize, GLuint *values );
55af69d88dSmrgvoid GLAPIENTRY
56af69d88dSmrg_mesa_GetPixelMapuiv( GLenum map, GLuint *values );
57af69d88dSmrgvoid GLAPIENTRY
58af69d88dSmrg_mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values );
59af69d88dSmrgvoid GLAPIENTRY
60af69d88dSmrg_mesa_GetPixelMapusv( GLenum map, GLushort *values );
61af69d88dSmrgvoid GLAPIENTRY
62af69d88dSmrg_mesa_PixelTransferf(GLenum pname, GLfloat param);
63af69d88dSmrgvoid GLAPIENTRY
64af69d88dSmrg_mesa_PixelTransferi( GLenum pname, GLint param );
657117f1b4Smrg
664a49301eSmrgextern void
6701e04c3fSmrg_mesa_update_pixel( struct gl_context *ctx );
687117f1b4Smrg
697117f1b4Smrgextern void
703464ebd5Sriastradh_mesa_init_pixel( struct gl_context * ctx );
717117f1b4Smrg
727117f1b4Smrg/*@}*/
737117f1b4Smrg
744a49301eSmrg#endif /* PIXEL_H */
75