Ignore:
Timestamp:
Mar 1, 2000, 11:45:30 PM (26 years ago)
Author:
jeroen
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/mesa/3dfx/fxdrv.h

    r2938 r2965  
    5757#include <limits.h>
    5858#include <assert.h>
    59 #else 
     59#else
    6060#include "GL/xf86glx.h"
    6161#endif
     
    6666#endif
    6767
     68#include "types.h"
    6869#include "context.h"
    6970#include "macros.h"
    7071#include "matrix.h"
    7172#include "texture.h"
    72 #include "types.h"
    7373#include "vb.h"
    7474#include "xform.h"
     
    153153  ( ((unsigned int)(c[1]))<<8 )  | \
    154154  (  (unsigned int)(c[2])) )
    155  
     155
    156156#else
    157157#ifdef __i386__
     
    307307  GLfloat sScale, tScale;
    308308  GLint int_sScale, int_tScale; /* x86 floating point trick for
    309                                  * multiplication by powers of 2. 
     309                                 * multiplication by powers of 2.
    310310                                 * Used in fxfasttmp.h
    311311                                 */
     
    325325
    326326
    327 typedef void (*tfxTriViewClipFunc)( struct vertex_buffer *VB, 
     327typedef void (*tfxTriViewClipFunc)( struct vertex_buffer *VB,
    328328                                    GLuint v[],
    329329                                    GLubyte mask );
    330330
    331 typedef void (*tfxTriClipFunc)( struct vertex_buffer *VB, 
     331typedef void (*tfxTriClipFunc)( struct vertex_buffer *VB,
    332332                                GLuint v[],
    333333                                GLuint mask );
    334334
    335335
    336 typedef void (*tfxLineClipFunc)( struct vertex_buffer *VB, 
     336typedef void (*tfxLineClipFunc)( struct vertex_buffer *VB,
    337337                                 GLuint v1, GLuint v2,
    338338                                 GLubyte mask );
     
    370370#define FX_OFFSET             0x1
    371371#define FX_TWOSIDE            0x2
    372 #define FX_FRONT_BACK         0x4 
     372#define FX_FRONT_BACK         0x4
    373373#define FX_FLAT               0x8
    374 #define FX_ANTIALIAS          0x10 
    375 #define FX_FALLBACK           0x20 
     374#define FX_ANTIALIAS          0x10
     375#define FX_FALLBACK           0x20
    376376
    377377
     
    457457  GLuint stw_hint_state;                /* for grHints */
    458458  GLuint is_in_hardware;
    459   GLuint new_state;   
     459  GLuint new_state;
    460460  GLuint using_fast_path, passes, multipass;
    461461
     
    507507  GLint swapInterval;
    508508  GLint maxPendingSwapBuffers;
    509  
     509
    510510  FX_GrContext_t glideContext;
    511511
     
    541541extern void fxDDChooseRenderState( GLcontext *ctx );
    542542
    543 extern void fxRenderClippedLine( struct vertex_buffer *VB, 
     543extern void fxRenderClippedLine( struct vertex_buffer *VB,
    544544                                 GLuint v1, GLuint v2 );
    545545
     
    588588extern void fxDDResizeVB( struct vertex_buffer *VB, GLuint size );
    589589
    590 extern void fxDDCheckMergeAndRender( GLcontext *ctx, 
     590extern void fxDDCheckMergeAndRender( GLcontext *ctx,
    591591                                     struct gl_pipeline_stage *d );
    592592
    593593extern void fxDDMergeAndRender( struct vertex_buffer *VB );
    594594
    595 extern void fxDDCheckPartialRasterSetup( GLcontext *ctx, 
     595extern void fxDDCheckPartialRasterSetup( GLcontext *ctx,
    596596                                         struct gl_pipeline_stage *d );
    597597
     
    606606extern GLboolean fxDDBuildPrecalcPipeline( GLcontext *ctx );
    607607
    608 extern void fxDDOptimizePrecalcPipeline( GLcontext *ctx, 
     608extern void fxDDOptimizePrecalcPipeline( GLcontext *ctx,
    609609                                         struct gl_pipeline *pipe );
    610610
     
    631631                              GLint x, GLint y, GLsizei w, GLsizei h );
    632632extern void fxDDFogfv( GLcontext *ctx, GLenum pname, const GLfloat *params );
    633 extern GLboolean fxDDColorMask(GLcontext *ctx, 
    634                                GLboolean r, GLboolean g, 
     633extern GLboolean fxDDColorMask(GLcontext *ctx,
     634                               GLboolean r, GLboolean g,
    635635                               GLboolean b, GLboolean a );
    636636
    637637extern GLuint fxDDDepthTestSpanGeneric(GLcontext *ctx,
    638                                        GLuint n, GLint x, GLint y, 
     638                                       GLuint n, GLint x, GLint y,
    639639                                       const GLdepth z[],
    640640                                       GLubyte mask[]);
    641641
    642642extern void fxDDDepthTestPixelsGeneric(GLcontext* ctx,
    643                                        GLuint n, 
     643                                       GLuint n,
    644644                                       const GLint x[], const GLint y[],
    645645                                       const GLdepth z[], GLubyte mask[]);
     
    668668
    669669extern void fxSetScissorValues(GLcontext *ctx);
    670 extern void fxTMMoveInTM_NoLock(fxMesaContext fxMesa, 
    671                                 struct gl_texture_object *tObj, 
     670extern void fxTMMoveInTM_NoLock(fxMesaContext fxMesa,
     671                                struct gl_texture_object *tObj,
    672672                                GLint where);
    673673extern void fxSetupTexture_NoLock(GLcontext *ctx);
Note: See TracChangeset for help on using the changeset viewer.