Ignore:
Timestamp:
May 21, 2000, 10:57:14 PM (25 years ago)
Author:
jeroen
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2938 r3582  
    1 /* $Id: feedback.h,v 1.1 2000-02-29 00:48:30 sandervl Exp $ */
     1/* $Id: feedback.h,v 1.2 2000-05-21 20:39:40 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 #define FEEDBACK_TOKEN( CTX, T )                                \
    39         if (CTX->Feedback.Count < CTX->Feedback.BufferSize) {   \
    40            CTX->Feedback.Buffer[CTX->Feedback.Count] = (GLfloat) (T); \
    41         }                                                       \
    42         CTX->Feedback.Count++;
     38#define FEEDBACK_TOKEN( CTX, T )                                \
     39        if (CTX->Feedback.Count < CTX->Feedback.BufferSize) {   \
     40           CTX->Feedback.Buffer[CTX->Feedback.Count] = (GLfloat) (T); \
     41        }                                                       \
     42        CTX->Feedback.Count++;
    4343
    4444
     
    4646                                const GLfloat win[4],
    4747                                const GLfloat color[4],
    48                                 GLuint index,
     48                                GLuint index,
    4949                                const GLfloat texcoord[4] );
    5050
     
    5353
    5454
    55 extern void gl_PassThrough( GLcontext *ctx, GLfloat token );
     55extern void
     56_mesa_PassThrough( GLfloat token );
    5657
    57 extern void gl_FeedbackBuffer( GLcontext *ctx, GLsizei size,
    58                               GLenum type, GLfloat *buffer );
     58extern void
     59_mesa_FeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer );
    5960
    60 extern void gl_SelectBuffer( GLcontext *ctx, GLsizei size, GLuint *buffer );
     61extern void
     62_mesa_SelectBuffer( GLsizei size, GLuint *buffer );
    6163
    62 extern void gl_InitNames( GLcontext *ctx );
     64extern void
     65_mesa_InitNames( void );
    6366
    64 extern void gl_LoadName( GLcontext *ctx, GLuint name );
     67extern void
     68_mesa_LoadName( GLuint name );
    6569
    66 extern void gl_PushName( GLcontext *ctx, GLuint name );
     70extern void
     71_mesa_PushName( GLuint name );
    6772
    68 extern void gl_PopName( GLcontext *ctx );
     73extern void
     74_mesa_PopName( void );
    6975
    70 extern GLint gl_RenderMode( GLcontext *ctx, GLenum mode );
     76extern GLint
     77_mesa_RenderMode( GLenum mode );
     78
    7179
    7280extern void gl_feedback_points( GLcontext *ctx, GLuint first, GLuint last );
    7381extern void gl_feedback_line( GLcontext *ctx, GLuint v1, GLuint v2, GLuint pv );
    7482extern void gl_feedback_triangle( GLcontext *ctx, GLuint v0, GLuint v1,
    75                                   GLuint v2, GLuint pv );
     83                                  GLuint v2, GLuint pv );
    7684
    7785extern void gl_select_points( GLcontext *ctx, GLuint first, GLuint last );
    7886extern void gl_select_line( GLcontext *ctx, GLuint v1, GLuint v2, GLuint pv );
    7987extern void gl_select_triangle( GLcontext *ctx, GLuint v0, GLuint v1,
    80                                 GLuint v2, GLuint pv );
     88                                GLuint v2, GLuint pv );
    8189
    8290#endif
Note: See TracChangeset for help on using the changeset viewer.