| 1 | /***************************************************************************\r |
| 2 | prim.h - description\r |
| 3 | -------------------\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 |
| 8 | \r |
| 9 | /***************************************************************************\r |
| 10 | * *\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 |
| 16 | * *\r |
| 17 | ***************************************************************************/\r |
| 18 | \r |
| 19 | //*************************************************************************// \r |
| 20 | // History of changes:\r |
| 21 | //\r |
| 22 | // 2009/03/08 - Pete \r |
| 23 | // - generic cleanup for the Peops release\r |
| 24 | //\r |
| 25 | //*************************************************************************// \r |
| 26 | \r |
| 27 | #ifndef _PRIMDRAW_H_\r |
| 28 | #define _PRIMDRAW_H_\r |
| 29 | \r |
| 30 | #ifdef __cplusplus\r |
| 31 | extern "C" {\r |
| 32 | #endif\r |
| 33 | \r |
| 34 | #include "gpuExternals.h"\r |
| 35 | #include "gpuStdafx.h"\r |
| 36 | \r |
| 37 | #ifndef _WINDOWS\r |
| 38 | extern EGLSurface surface;\r |
| 39 | extern EGLDisplay display;\r |
| 40 | #endif\r |
| 41 | \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 |
| 53 | \r |
| 54 | #ifdef __cplusplus\r |
| 55 | }\r |
| 56 | #endif\r |
| 57 | \r |
| 58 | #endif // _PRIMDRAW_H_\r |