Add libretro VFS and use VFS for windows target
[pcsx_rearmed.git] / plugins / gpu-gles / gpuPrim.h
CommitLineData
ce879073 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
31extern "C" {\r
32#endif\r
33\r
34#include "gpuExternals.h"\r
35#include "gpuStdafx.h"\r
36\r
37#ifndef _WINDOWS\r
38extern EGLSurface surface;\r
39extern EGLDisplay display;\r
40#endif\r
41\r
42void UploadScreen (long Position);\r
43void PrepareFullScreenUpload (long Position);\r
44BOOL CheckAgainstScreen(short imageX0,short imageY0,short imageX1,short imageY1);\r
45BOOL CheckAgainstFrontScreen(short imageX0,short imageY0,short imageX1,short imageY1);\r
46BOOL FastCheckAgainstScreen(short imageX0,short imageY0,short imageX1,short imageY1);\r
47BOOL FastCheckAgainstFrontScreen(short imageX0,short imageY0,short imageX1,short imageY1);\r
677ea103 48BOOL bCheckFF9G4(unsigned char * baseAddr);\r
ce879073 49void SetScanTrans(void);\r
50void SetScanTexTrans(void);\r
51void DrawMultiBlur(void);\r
52void CheckWriteUpdate();\r
53\r
54#ifdef __cplusplus\r
55}\r
56#endif\r
57\r
58#endif // _PRIMDRAW_H_\r