aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles/gpuPrim.h
diff options
context:
space:
mode:
authornotaz2010-12-31 16:57:02 +0200
committernotaz2010-12-31 16:57:02 +0200
commitce879073e4f228deec8bec5db8a2ff640636c88f (patch)
tree38f36f8cd9ac803abefb8515a687becab11f3310 /plugins/gpu-gles/gpuPrim.h
parent3a255ce52a55a2065429b8baad000c72aed31e97 (diff)
downloadpcsx_rearmed-ce879073e4f228deec8bec5db8a2ff640636c88f.tar.gz
pcsx_rearmed-ce879073e4f228deec8bec5db8a2ff640636c88f.tar.bz2
pcsx_rearmed-ce879073e4f228deec8bec5db8a2ff640636c88f.zip
gpu-gles from psx4m
Diffstat (limited to 'plugins/gpu-gles/gpuPrim.h')
-rw-r--r--plugins/gpu-gles/gpuPrim.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/plugins/gpu-gles/gpuPrim.h b/plugins/gpu-gles/gpuPrim.h
new file mode 100644
index 0000000..58d3311
--- /dev/null
+++ b/plugins/gpu-gles/gpuPrim.h
@@ -0,0 +1,58 @@
+/***************************************************************************
+ prim.h - description
+ -------------------
+ begin : Sun Mar 08 2009
+ copyright : (C) 1999-2009 by Pete Bernert
+ web : www.pbernert.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. See also the license.txt file for *
+ * additional informations. *
+ * *
+ ***************************************************************************/
+
+//*************************************************************************//
+// History of changes:
+//
+// 2009/03/08 - Pete
+// - generic cleanup for the Peops release
+//
+//*************************************************************************//
+
+#ifndef _PRIMDRAW_H_
+#define _PRIMDRAW_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "gpuExternals.h"
+#include "gpuStdafx.h"
+
+#ifndef _WINDOWS
+extern EGLSurface surface;
+extern EGLDisplay display;
+#endif
+
+void UploadScreen (long Position);
+void PrepareFullScreenUpload (long Position);
+BOOL CheckAgainstScreen(short imageX0,short imageY0,short imageX1,short imageY1);
+BOOL CheckAgainstFrontScreen(short imageX0,short imageY0,short imageX1,short imageY1);
+BOOL FastCheckAgainstScreen(short imageX0,short imageY0,short imageX1,short imageY1);
+BOOL FastCheckAgainstFrontScreen(short imageX0,short imageY0,short imageX1,short imageY1);
+BOOL bCheckFF9G4(u8 * baseAddr);
+void SetScanTrans(void);
+void SetScanTexTrans(void);
+void DrawMultiBlur(void);
+void CheckWriteUpdate();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // _PRIMDRAW_H_