Changeset 2965 for trunk/src/opengl/mesa/3dfx/fxdrv.h
- Timestamp:
- Mar 1, 2000, 11:45:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/3dfx/fxdrv.h
r2938 r2965 57 57 #include <limits.h> 58 58 #include <assert.h> 59 #else 59 #else 60 60 #include "GL/xf86glx.h" 61 61 #endif … … 66 66 #endif 67 67 68 #include "types.h" 68 69 #include "context.h" 69 70 #include "macros.h" 70 71 #include "matrix.h" 71 72 #include "texture.h" 72 #include "types.h"73 73 #include "vb.h" 74 74 #include "xform.h" … … 153 153 ( ((unsigned int)(c[1]))<<8 ) | \ 154 154 ( (unsigned int)(c[2])) ) 155 155 156 156 #else 157 157 #ifdef __i386__ … … 307 307 GLfloat sScale, tScale; 308 308 GLint int_sScale, int_tScale; /* x86 floating point trick for 309 * multiplication by powers of 2. 309 * multiplication by powers of 2. 310 310 * Used in fxfasttmp.h 311 311 */ … … 325 325 326 326 327 typedef void (*tfxTriViewClipFunc)( struct vertex_buffer *VB, 327 typedef void (*tfxTriViewClipFunc)( struct vertex_buffer *VB, 328 328 GLuint v[], 329 329 GLubyte mask ); 330 330 331 typedef void (*tfxTriClipFunc)( struct vertex_buffer *VB, 331 typedef void (*tfxTriClipFunc)( struct vertex_buffer *VB, 332 332 GLuint v[], 333 333 GLuint mask ); 334 334 335 335 336 typedef void (*tfxLineClipFunc)( struct vertex_buffer *VB, 336 typedef void (*tfxLineClipFunc)( struct vertex_buffer *VB, 337 337 GLuint v1, GLuint v2, 338 338 GLubyte mask ); … … 370 370 #define FX_OFFSET 0x1 371 371 #define FX_TWOSIDE 0x2 372 #define FX_FRONT_BACK 0x4 372 #define FX_FRONT_BACK 0x4 373 373 #define FX_FLAT 0x8 374 #define FX_ANTIALIAS 0x10 375 #define FX_FALLBACK 0x20 374 #define FX_ANTIALIAS 0x10 375 #define FX_FALLBACK 0x20 376 376 377 377 … … 457 457 GLuint stw_hint_state; /* for grHints */ 458 458 GLuint is_in_hardware; 459 GLuint new_state; 459 GLuint new_state; 460 460 GLuint using_fast_path, passes, multipass; 461 461 … … 507 507 GLint swapInterval; 508 508 GLint maxPendingSwapBuffers; 509 509 510 510 FX_GrContext_t glideContext; 511 511 … … 541 541 extern void fxDDChooseRenderState( GLcontext *ctx ); 542 542 543 extern void fxRenderClippedLine( struct vertex_buffer *VB, 543 extern void fxRenderClippedLine( struct vertex_buffer *VB, 544 544 GLuint v1, GLuint v2 ); 545 545 … … 588 588 extern void fxDDResizeVB( struct vertex_buffer *VB, GLuint size ); 589 589 590 extern void fxDDCheckMergeAndRender( GLcontext *ctx, 590 extern void fxDDCheckMergeAndRender( GLcontext *ctx, 591 591 struct gl_pipeline_stage *d ); 592 592 593 593 extern void fxDDMergeAndRender( struct vertex_buffer *VB ); 594 594 595 extern void fxDDCheckPartialRasterSetup( GLcontext *ctx, 595 extern void fxDDCheckPartialRasterSetup( GLcontext *ctx, 596 596 struct gl_pipeline_stage *d ); 597 597 … … 606 606 extern GLboolean fxDDBuildPrecalcPipeline( GLcontext *ctx ); 607 607 608 extern void fxDDOptimizePrecalcPipeline( GLcontext *ctx, 608 extern void fxDDOptimizePrecalcPipeline( GLcontext *ctx, 609 609 struct gl_pipeline *pipe ); 610 610 … … 631 631 GLint x, GLint y, GLsizei w, GLsizei h ); 632 632 extern void fxDDFogfv( GLcontext *ctx, GLenum pname, const GLfloat *params ); 633 extern GLboolean fxDDColorMask(GLcontext *ctx, 634 GLboolean r, GLboolean g, 633 extern GLboolean fxDDColorMask(GLcontext *ctx, 634 GLboolean r, GLboolean g, 635 635 GLboolean b, GLboolean a ); 636 636 637 637 extern GLuint fxDDDepthTestSpanGeneric(GLcontext *ctx, 638 GLuint n, GLint x, GLint y, 638 GLuint n, GLint x, GLint y, 639 639 const GLdepth z[], 640 640 GLubyte mask[]); 641 641 642 642 extern void fxDDDepthTestPixelsGeneric(GLcontext* ctx, 643 GLuint n, 643 GLuint n, 644 644 const GLint x[], const GLint y[], 645 645 const GLdepth z[], GLubyte mask[]); … … 668 668 669 669 extern void fxSetScissorValues(GLcontext *ctx); 670 extern void fxTMMoveInTM_NoLock(fxMesaContext fxMesa, 671 struct gl_texture_object *tObj, 670 extern void fxTMMoveInTM_NoLock(fxMesaContext fxMesa, 671 struct gl_texture_object *tObj, 672 672 GLint where); 673 673 extern void fxSetupTexture_NoLock(GLcontext *ctx);
Note:
See TracChangeset
for help on using the changeset viewer.