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

x86span555.h

Go to the documentation of this file.
00001 /****************************************************************************************/
00002 /*  x86span555.h                                                                        */
00003 /*                                                                                      */
00004 /*  Author:       Ken Baird                                                             */
00005 /*  Description:  header for x86 renderstates                                           */
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 typedef struct EdgeAsmTag EdgeAsm;
00023 typedef struct EdgeAsmFPUTag EdgeAsmFPU;
00024 
00025 //x86 fpu based non world faces 555
00026 //DRV_RENDER_NO_ZMASK
00027 extern void DrawScanLineGouraudNoZBufferZWrite_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00028 extern void DrawScanLineGouraudNoZBufferZWriteTrans_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00029 //solid color
00030 extern void DrawScanLineGouraudNoZBufferZWriteSolid_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00031 
00032 //DRV_RENDER_NO_ZMASK | DRV_RENDER_NO_ZWRITE
00033 extern void DrawScanLineGouraudNoZ_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00034 extern void DrawScanLineGouraudNoZTrans_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00035 //solid color
00036 extern void DrawScanLineGouraudNoZSolid_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00037 
00038 //DRV_RENDER_NO_ZMASK | DRV_RENDER_NO_ZWRITE | DRV_RENDER_ALPHA
00039 extern void DrawScanLineGouraudNoZAlphaTex_Asm555X86FPU(EdgeAsm *pLeft, EdgeAsm *pRight);
00040 //DRV_RENDER_NO_ZMASK | DRV_RENDER_ALPHA
00041 extern void DrawScanLineGouraudNoZBufferZWriteAlphaTex_Asm555X86FPU(EdgeAsm *pLeft, EdgeAsm *pRight);
00042 //DRV_RENDER_NO_ZMASK | DRV_RENDER_ALPHA
00043 extern void DrawScanLineGouraudZBufferNoZWriteAlphaTex_Asm555X86FPU(EdgeAsm *pLeft, EdgeAsm *pRight);
00044 //DRV_RENDER_ALPHA
00045 extern void DrawScanLineGouraudZBufferAlphaTex_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00046 
00048 extern void DrawScanLineGouraudZBuffer_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00049 extern void DrawScanLineGouraudZBufferTrans_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00050 //solid color
00051 extern void DrawScanLineGouraudZBufferSolid_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00052 
00053 //DRV_RENDER_NO_ZWRITE
00054 extern void DrawScanLineGouraudZBufferNoZWrite_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00055 extern void DrawScanLineGouraudZBufferNoZWriteTrans_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00056 //solid color
00057 extern void DrawScanLineGouraudZBufferNoZWriteSolid_Asm555X86FPU(EdgeAsmFPU *pLeft, EdgeAsmFPU *pRight);
00058 
00059 
00060 //world perspective correct faces
00061 void    DrawSpan16_AsmLit555X86FPU(int32 x1, int32 x2, int32 y);
00062 void    DrawSpan16_AsmLitZWrite555X86FPU(int32 x1, int32 x2, int32 y);
00063 void    DrawSpan16_AsmLitZBuffer555X86FPU(int32 x1, int32 x2, int32 y);
00064 void    DrawSpan16_AsmGouraud555X86FPU(int32 x1, int32 x2, int32 y, int32 r1, int32 g1, int32 b1, int32 r2, int32 g2, int32 b2);
00065 void    DrawSpan16_AsmGouraudZWrite555X86FPU(int32 x1, int32 x2, int32 y, int32 r1, int32 g1, int32 b1, int32 r2, int32 g2, int32 b2);
00066 void    DrawSpan16_AsmGouraudZBuffer555X86FPU(int32 x1, int32 x2, int32 y, int32 r1, int32 g1, int32 b1, int32 r2, int32 g2, int32 b2);
00067 void    DrawSpan16_AsmGouraudZBufferTrans555X86FPU(int32 x1, int32 x2, int32 y, int32 r1, int32 g1, int32 b1, int32 r2, int32 g2, int32 b2);

Generated on Tue Sep 30 12:36:46 2003 for GTestAndEngine by doxygen 1.3.2