Ignore:
Timestamp:
May 23, 2000, 10:35:01 PM (25 years ago)
Author:
jeroen
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/mesa/stencil.h

    r2938 r3597  
    1 /* $Id: stencil.h,v 1.1 2000-02-29 00:48:38 sandervl Exp $ */
     1/* $Id: stencil.h,v 1.2 2000-05-23 20:34:57 jeroen Exp $ */
    22
    33/*
    44 * Mesa 3-D graphics library
    5  * Version:  3.1
     5 * Version:  3.3
    66 *
    77 * Copyright (C) 1999  Brian Paul   All Rights Reserved.
     
    3636
    3737
    38 extern void gl_ClearStencil( GLcontext *ctx, GLint s );
     38extern void
     39_mesa_ClearStencil( GLint s );
    3940
    4041
    41 extern void gl_StencilFunc( GLcontext *ctx, GLenum func,
    42                             GLint ref, GLuint mask );
     42extern void
     43_mesa_StencilFunc( GLenum func, GLint ref, GLuint mask );
    4344
    4445
    45 extern void gl_StencilMask( GLcontext *ctx, GLuint mask );
     46extern void
     47_mesa_StencilMask( GLuint mask );
    4648
    4749
    48 extern void gl_StencilOp( GLcontext *ctx, GLenum fail,
    49                           GLenum zfail, GLenum zpass );
     50extern void
     51_mesa_StencilOp( GLenum fail, GLenum zfail, GLenum zpass );
    5052
    5153
    5254
    53 extern GLint gl_stencil_span( GLcontext *ctx,
    54                               GLuint n, GLint x, GLint y, GLubyte mask[] );
     55extern GLboolean
     56gl_stencil_and_depth_test_span( GLcontext *ctx, GLuint n, GLint x, GLint y,
     57                                const GLdepth z[], GLubyte mask[] );
     58
     59#ifdef VMS /* VMS allows externals of 31 characters maximum */
     60#define gl_stencil_and_depth_test_pixels gl_stencil_and_depth_test_pixel
     61#endif
     62extern GLboolean
     63gl_stencil_and_depth_test_pixels( GLcontext *ctx, GLuint n,
     64                                  const GLint x[], const GLint y[],
     65                                  const GLdepth z[], GLubyte mask[] );
    5566
    5667
    57 extern void gl_depth_stencil_span( GLcontext *ctx, GLuint n, GLint x, GLint y,
    58                                    const GLdepth z[], GLubyte mask[] );
     68
     69extern void
     70gl_read_stencil_span( GLcontext *ctx, GLint n, GLint x, GLint y,
     71                      GLstencil stencil[] );
    5972
    6073
    61 extern GLint gl_stencil_pixels( GLcontext *ctx,
    62                                 GLuint n, const GLint x[], const GLint y[],
    63                                 GLubyte mask[] );
    64 
    65 
    66 extern void gl_depth_stencil_pixels( GLcontext *ctx,
    67                                      GLuint n, const GLint x[],
    68                                      const GLint y[], const GLdepth z[],
    69                                      GLubyte mask[] );
    70 
    71 
    72 extern void gl_read_stencil_span( GLcontext *ctx,
    73                                   GLuint n, GLint x, GLint y,
    74                                   GLstencil stencil[] );
    75 
    76 
    77 extern void gl_write_stencil_span( GLcontext *ctx,
    78                                    GLuint n, GLint x, GLint y,
    79                                    const GLstencil stencil[] );
     74extern void
     75gl_write_stencil_span( GLcontext *ctx, GLint n, GLint x, GLint y,
     76                       const GLstencil stencil[] );
    8077
    8178
Note: See TracChangeset for help on using the changeset viewer.