Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

3dnowspan.h

Go to the documentation of this file.
00001 /****************************************************************************************/
00002 /*  3dnowspan.h                                                                         */
00003 /*                                                                                      */
00004 /*  Author:       Ken Baird                                                             */
00005 /*  Description:  Headers for 3dnow assembly calls                                      */
00006 /*                                                                                      */
00007 /*  The contents of this file are subject to the Genesis3D Public License               */
00008 /*  Version 1.01 (the "License"); you may not use this file except in                   */
00009 /*  compliance with the License. You may obtain a copy of the License at                */
00010 /*  http://www.genesis3d.com                                                            */
00011 /*                                                                                      */
00012 /*  Software distributed under the License is distributed on an "AS IS"                 */
00013 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
00014 /*  the License for the specific language governing rights and limitations              */
00015 /*  under the License.                                                                  */
00016 /*                                                                                      */
00017 /*  The Original Code is Genesis3D, released March 25, 1999.                            */
00018 /*  Genesis3D Version 1.1 released November 15, 1999                                 */
00019 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */
00020 /*                                                                                      */
00021 /****************************************************************************************/
00022 
00023 typedef struct EdgeAsmTag EdgeAsm;
00024 typedef struct EdgeAsmFPUTag EdgeAsmFPU;
00025 
00026 //3dnow based non world faces
00027 //DRV_RENDER_NO_ZMASK
00028 extern void DrawScanLineGouraudNoZBufferZWrite_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00029 extern void DrawScanLineGouraudNoZBufferZWriteTrans_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00030 //solid color
00031 extern void DrawScanLineGouraudNoZBufferZWriteSolid_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00032 
00033 //DRV_RENDER_NO_ZMASK | DRV_RENDER_NO_ZWRITE
00034 extern void DrawScanLineGouraudNoZ_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00035 extern void DrawScanLineGouraudNoZTrans_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00036 //solid color
00037 extern void DrawScanLineGouraudNoZSolid_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00038 
00039 //DRV_RENDER_NO_ZMASK | DRV_RENDER_NO_ZWRITE | DRV_RENDER_ALPHA
00040 extern void DrawScanLineGouraudNoZAlphaTex_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00041 //DRV_RENDER_NO_ZMASK | DRV_RENDER_ALPHA
00042 extern void DrawScanLineGouraudNoZBufferZWriteAlphaTex_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00043 //DRV_RENDER_NO_ZMASK | DRV_RENDER_ALPHA
00044 extern void DrawScanLineGouraudZBufferNoZWriteAlphaTex_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00045 //DRV_RENDER_ALPHA
00046 extern void DrawScanLineGouraudZBufferAlphaTex_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00047 
00048 //DRV_RENDER_NO_ZMASK | DRV_RENDER_NO_ZWRITE | DRV_RENDER_ALPHA
00049 extern void DrawScanLineGouraudNoZAlphaARGB_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00050 //DRV_RENDER_NO_ZMASK | DRV_RENDER_ALPHA
00051 extern void DrawScanLineGouraudNoZBufferZWriteAlphaARGB_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00052 //DRV_RENDER_NO_ZMASK | DRV_RENDER_ALPHA
00053 extern void DrawScanLineGouraudZBufferNoZWriteAlphaARGB_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00054 //DRV_RENDER_ALPHA
00055 extern void DrawScanLineGouraudZBufferAlphaARGB_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00056 
00058 extern void DrawScanLineGouraudZBuffer_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00059 extern void DrawScanLineGouraudZBufferTrans_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00060 //solid color
00061 extern void DrawScanLineGouraudZBufferSolid_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00062 
00063 //DRV_RENDER_NO_ZWRITE
00064 extern void DrawScanLineGouraudZBufferNoZWrite_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00065 extern void DrawScanLineGouraudZBufferNoZWriteTrans_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00066 //solid color
00067 extern void DrawScanLineGouraudZBufferNoZWriteSolid_Asm3DNow(EdgeAsm *pLeft, EdgeAsm *pRight);
00068 
00069 
00070 //world perspective correct faces
00071 extern  void DrawSpan32_AsmLit3DNow(int32 x1, int32 x2, int32 y);
00072 extern  void DrawSpan32_AsmLitZWrite3DNow(int32 x1, int32 x2, int32 y);
00073 extern  void DrawSpan32_AsmLitZBuffer3DNow(int32 x1, int32 x2, int32 y);
00074 extern  void DrawSpan32_AsmGouraud3DNow(int32 x1, int32 x2, int32 y, geFloat r1, geFloat g1, geFloat b1, geFloat r2, geFloat g2, geFloat b2);
00075 extern  void DrawSpan32_AsmGouraudZWrite3DNow(int32 x1, int32 x2, int32 y, geFloat r1, geFloat g1, geFloat b1, geFloat r2, geFloat g2, geFloat b2);
00076 extern  void DrawSpan32_AsmGouraudZBuffer3DNow(int32 x1, int32 x2, int32 y, geFloat r1, geFloat g1, geFloat b1, geFloat r2, geFloat g2, geFloat b2);
00077 extern  void DrawSpan32_AsmGouraudZBufferAlphaARGB3DNow(int32 x1, int32 x2, int32 y, geFloat r1, geFloat g1, geFloat b1, geFloat r2, geFloat g2, geFloat b2);
00078 extern  void DrawSpan32_AsmGouraudZBufferVertexAlpha3DNow(int32 x1, int32 x2, int32 y, geFloat r1, geFloat g1, geFloat b1, geFloat r2, geFloat g2, geFloat b2);
00079 
00080 typedef struct  EdgeAsmWorldTag EdgeAsmWorld;
00081 
00082 extern  void Femms3DNow(void);
00083 extern  void StepWorld3DNow(EdgeAsmWorld *edge);

Generated on Tue Sep 30 12:35:13 2003 for GTestAndEngine by doxygen 1.3.2