1 /***************************************************************************
\r
4 begin : Sun Mar 08 2009
\r
5 copyright : (C) 1999-2009 by Pete Bernert
\r
6 web : www.pbernert.com
\r
7 ***************************************************************************/
\r
9 /***************************************************************************
\r
11 * This program is free software; you can redistribute it and/or modify *
\r
12 * it under the terms of the GNU General Public License as published by *
\r
13 * the Free Software Foundation; either version 2 of the License, or *
\r
14 * (at your option) any later version. See also the license.txt file for *
\r
15 * additional informations. *
\r
17 ***************************************************************************/
\r
19 //*************************************************************************//
\r
20 // History of changes:
\r
22 // 2009/03/08 - Pete
\r
23 // - generic cleanup for the Peops release
\r
25 //*************************************************************************//
\r
27 #ifndef _PRIMDRAW_H_
\r
28 #define _PRIMDRAW_H_
\r
34 #include "gpuExternals.h"
\r
35 #include "gpuStdafx.h"
\r
38 extern EGLSurface surface;
\r
39 extern EGLDisplay display;
\r
42 void UploadScreen (long Position);
\r
43 void PrepareFullScreenUpload (long Position);
\r
44 BOOL CheckAgainstScreen(short imageX0,short imageY0,short imageX1,short imageY1);
\r
45 BOOL CheckAgainstFrontScreen(short imageX0,short imageY0,short imageX1,short imageY1);
\r
46 BOOL FastCheckAgainstScreen(short imageX0,short imageY0,short imageX1,short imageY1);
\r
47 BOOL FastCheckAgainstFrontScreen(short imageX0,short imageY0,short imageX1,short imageY1);
\r
48 BOOL bCheckFF9G4(u8 * baseAddr);
\r
49 void SetScanTrans(void);
\r
50 void SetScanTexTrans(void);
\r
51 void DrawMultiBlur(void);
\r
52 void CheckWriteUpdate();
\r
58 #endif // _PRIMDRAW_H_
\r