gpu-gles from psx4m
[pcsx_rearmed.git] / plugins / gpu-gles / gpuPrim.h
diff --git a/plugins/gpu-gles/gpuPrim.h b/plugins/gpu-gles/gpuPrim.h
new file mode 100644 (file)
index 0000000..58d3311
--- /dev/null
@@ -0,0 +1,58 @@
+/***************************************************************************\r
+                          prim.h  -  description\r
+                             -------------------\r
+    begin                : Sun Mar 08 2009\r
+    copyright            : (C) 1999-2009 by Pete Bernert\r
+    web                  : www.pbernert.com   \r
+ ***************************************************************************/\r
+\r
+/***************************************************************************\r
+ *                                                                         *\r
+ *   This program is free software; you can redistribute it and/or modify  *\r
+ *   it under the terms of the GNU General Public License as published by  *\r
+ *   the Free Software Foundation; either version 2 of the License, or     *\r
+ *   (at your option) any later version. See also the license.txt file for *\r
+ *   additional informations.                                              *\r
+ *                                                                         *\r
+ ***************************************************************************/\r
+\r
+//*************************************************************************// \r
+// History of changes:\r
+//\r
+// 2009/03/08 - Pete  \r
+// - generic cleanup for the Peops release\r
+//\r
+//*************************************************************************// \r
+\r
+#ifndef _PRIMDRAW_H_\r
+#define _PRIMDRAW_H_\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+#include "gpuExternals.h"\r
+#include "gpuStdafx.h"\r
+\r
+#ifndef _WINDOWS\r
+extern EGLSurface surface;\r
+extern EGLDisplay display;\r
+#endif\r
+\r
+void UploadScreen (long Position);\r
+void PrepareFullScreenUpload (long Position);\r
+BOOL CheckAgainstScreen(short imageX0,short imageY0,short imageX1,short imageY1);\r
+BOOL CheckAgainstFrontScreen(short imageX0,short imageY0,short imageX1,short imageY1);\r
+BOOL FastCheckAgainstScreen(short imageX0,short imageY0,short imageX1,short imageY1);\r
+BOOL FastCheckAgainstFrontScreen(short imageX0,short imageY0,short imageX1,short imageY1);\r
+BOOL bCheckFF9G4(u8 * baseAddr);\r
+void SetScanTrans(void);\r
+void SetScanTexTrans(void);\r
+void DrawMultiBlur(void);\r
+void CheckWriteUpdate();\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+#endif // _PRIMDRAW_H_\r