minimal working gtk-less build
[pcsx_rearmed.git] / plugins / peopsxgl / draw.h
CommitLineData
ef79bbde
P
1/***************************************************************************\r
2 draw.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#ifndef _GL_DRAW_H_\r
20#define _GL_DRAW_H_\r
21\r
22// internally used defines\r
23\r
24#define GPUCOMMAND(x) ((x>>24) & 0xff)\r
25#define RED(x) (x & 0xff)\r
26#define BLUE(x) ((x>>16) & 0xff)\r
27#define GREEN(x) ((x>>8) & 0xff)\r
28#define COLOR(x) (x & 0xffffff)\r
29\r
30// prototypes\r
31int GLinitialize();\r
32void GLcleanup();\r
33BOOL offset2(void);\r
34BOOL offset3(void);\r
35BOOL offset4(void);\r
36BOOL offsetline(void);\r
37void offsetST(void);\r
38void offsetBlk(void);\r
39void offsetScreenUpload(int Position);\r
40void assignTexture3(void);\r
41void assignTexture4(void);\r
42void assignTextureSprite(void);\r
43void assignTextureVRAMWrite(void);\r
44void SetOGLDisplaySettings (BOOL DisplaySet);\r
45void ReadConfig(void);\r
46void WriteConfig(void);\r
47void SetExtGLFuncs(void);\r
48\r
49///////////////////////////////////////////////////////////////////////\r
50\r
51#endif // _GL_DRAW_H_\r