Merge pull request #96 from orbea/zlib
[pcsx_rearmed.git] / plugins / gpu-gles / gpuFps.h
CommitLineData
ce879073 1#ifndef __GPU_FPS__\r
2#define __GPU_FPS__\r
3\r
4#ifdef __cplusplus\r
5extern "C" {\r
6#endif\r
7\r
8/***************************************************************************\r
9 fps.h - description\r
10 -------------------\r
11 begin : Sun Mar 08 2009\r
12 copyright : (C) 1999-2009 by Pete Bernert\r
13 web : www.pbernert.com \r
14 ***************************************************************************/\r
15\r
16/***************************************************************************\r
17 * *\r
18 * This program is free software; you can redistribute it and/or modify *\r
19 * it under the terms of the GNU General Public License as published by *\r
20 * the Free Software Foundation; either version 2 of the License, or *\r
21 * (at your option) any later version. See also the license.txt file for *\r
22 * additional informations. *\r
23 * *\r
24 ***************************************************************************/\r
25\r
26//*************************************************************************// \r
27// History of changes:\r
28//\r
29// 2009/03/08 - Pete \r
30// - generic cleanup for the Peops release\r
31//\r
32//*************************************************************************// \r
33\r
34\r
35extern BOOL bIsPerformanceCounter;\r
36extern float fFrameRateHz;\r
37extern DWORD dwFrameRateTicks;\r
38extern float fFrameRate;\r
39extern int iFrameLimit;\r
40extern BOOL bUseFrameLimit;\r
41extern BOOL bUseFrameSkip;\r
42extern DWORD dwLaceCnt;\r
43\r
44extern BOOL bInitCap; \r
45extern float fps_skip;\r
46extern float fps_cur;\r
47\r
48\r
49void InitFrameCap(void);\r
50void SetFrameRateConfig(void);\r
51void PCFrameCap(void);\r
52void PCcalcfps(void);\r
53void FrameSkip(void);\r
54void CheckFrameRate(void);\r
55void ReInitFrameCap(void);\r
56void SetAutoFrameCap(void);\r
57#ifndef _WINDOWS\r
58unsigned long timeGetTime();\r
59#endif\r
60\r
61#ifdef __cplusplus\r
62}\r
63#endif\r
64\r
65\r
66#endif\r