| 1 | /* $Id: zoom.h,v 1.2 2000-05-23 20:35:01 jeroen Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 |  | 
|---|
| 4 | /* | 
|---|
| 5 | * Mesa 3-D graphics library | 
|---|
| 6 | * Version:  3.3 | 
|---|
| 7 | * | 
|---|
| 8 | * Copyright (C) 1999  Brian Paul   All Rights Reserved. | 
|---|
| 9 | * | 
|---|
| 10 | * Permission is hereby granted, free of charge, to any person obtaining a | 
|---|
| 11 | * copy of this software and associated documentation files (the "Software"), | 
|---|
| 12 | * to deal in the Software without restriction, including without limitation | 
|---|
| 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, | 
|---|
| 14 | * and/or sell copies of the Software, and to permit persons to whom the | 
|---|
| 15 | * Software is furnished to do so, subject to the following conditions: | 
|---|
| 16 | * | 
|---|
| 17 | * The above copyright notice and this permission notice shall be included | 
|---|
| 18 | * in all copies or substantial portions of the Software. | 
|---|
| 19 | * | 
|---|
| 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | 
|---|
| 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 
|---|
| 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL | 
|---|
| 23 | * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN | 
|---|
| 24 | * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | 
|---|
| 25 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 
|---|
| 26 | */ | 
|---|
| 27 |  | 
|---|
| 28 |  | 
|---|
| 29 |  | 
|---|
| 30 |  | 
|---|
| 31 | #ifndef ZOOM_H | 
|---|
| 32 | #define ZOOM_H | 
|---|
| 33 |  | 
|---|
| 34 |  | 
|---|
| 35 | #include "types.h" | 
|---|
| 36 |  | 
|---|
| 37 |  | 
|---|
| 38 | extern void | 
|---|
| 39 | gl_write_zoomed_rgba_span( GLcontext *ctx, | 
|---|
| 40 | GLuint n, GLint x, GLint y, const GLdepth z[], | 
|---|
| 41 | CONST GLubyte rgba[][4], GLint y0 ); | 
|---|
| 42 |  | 
|---|
| 43 |  | 
|---|
| 44 | extern void | 
|---|
| 45 | gl_write_zoomed_rgb_span( GLcontext *ctx, | 
|---|
| 46 | GLuint n, GLint x, GLint y, const GLdepth z[], | 
|---|
| 47 | CONST GLubyte rgb[][3], GLint y0 ); | 
|---|
| 48 |  | 
|---|
| 49 |  | 
|---|
| 50 | extern void | 
|---|
| 51 | gl_write_zoomed_index_span( GLcontext *ctx, | 
|---|
| 52 | GLuint n, GLint x, GLint y, const GLdepth z[], | 
|---|
| 53 | const GLuint indexes[], GLint y0 ); | 
|---|
| 54 |  | 
|---|
| 55 |  | 
|---|
| 56 | extern void | 
|---|
| 57 | gl_write_zoomed_stencil_span( GLcontext *ctx, | 
|---|
| 58 | GLuint n, GLint x, GLint y, | 
|---|
| 59 | const GLstencil stencil[], GLint y0 ); | 
|---|
| 60 |  | 
|---|
| 61 |  | 
|---|
| 62 | #endif | 
|---|