This commit is contained in:
parent
b274f27ec8
commit
da62345169
2 changed files with 13 additions and 0 deletions
|
@ -67,6 +67,18 @@ void PrimDisplay()
|
||||||
ResetOTagR(BaseOtPtr,MAX_OT_ALL);
|
ResetOTagR(BaseOtPtr,MAX_OT_ALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
void FlushPrimPool()
|
||||||
|
{
|
||||||
|
printf("%x %x\n",(int)CurrPrim,(int)PrimBuffer[PrimFlipFlag]);
|
||||||
|
BaseOtPtr=(sOT*)OtList[PrimFlipFlag];
|
||||||
|
GUIOtPtr=BaseOtPtr;
|
||||||
|
OtPtr=GUIOtPtr+MAX_OT_GUI;
|
||||||
|
CurrPrim=(u8*)PrimBuffer[PrimFlipFlag];
|
||||||
|
EndPrim=CurrPrim+(PRIMPOOL_SIZE);
|
||||||
|
ResetOTagR(BaseOtPtr,MAX_OT_ALL);
|
||||||
|
}
|
||||||
|
|
||||||
/*** Clipping ****************************************************************/
|
/*** Clipping ****************************************************************/
|
||||||
void PrimClip(RECT *R, u32 Depth)
|
void PrimClip(RECT *R, u32 Depth)
|
||||||
{
|
{
|
||||||
|
|
|
@ -322,6 +322,7 @@ void PrimClip(RECT *r, u32 Depth);
|
||||||
void PrimFullScreen(int Depth);
|
void PrimFullScreen(int Depth);
|
||||||
inline u8 *GetPrimPtr() {return(CurrPrim);}
|
inline u8 *GetPrimPtr() {return(CurrPrim);}
|
||||||
inline void SetPrimPtr(u8 *Ptr) {CurrPrim=Ptr;}
|
inline void SetPrimPtr(u8 *Ptr) {CurrPrim=Ptr;}
|
||||||
|
void FlushPrimPool();
|
||||||
|
|
||||||
LINE_F2 *DrawLine(int _x0,int _y0,int _x1,int _y1,int _r,int _g,int _b,int _ot);
|
LINE_F2 *DrawLine(int _x0,int _y0,int _x1,int _y1,int _r,int _g,int _b,int _ot);
|
||||||
LINE_G2 *DrawGLine(int _x0,int _y0,int _x1,int _y1,int _r1,int _g1,int _b1,int _r2,int _g2,int _b2,int _ot);
|
LINE_G2 *DrawGLine(int _x0,int _y0,int _x1,int _y1,int _r1,int _g1,int _b1,int _r2,int _g2,int _b2,int _ot);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue