1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Sergey Lipskiy
04062925d3 Don't copy depth buffer to RDRAM if it was not cleared completly.
Fixed hangs in Roadsters, issue #330
2015-05-13 10:20:22 +06:00
Sergey Lipskiy
3031883409 Move zLUT initialization to DepthBufferList ctor.
Destruction of zLUT moved to DepthBufferList destructor.
2015-05-13 10:20:12 +06:00
Sergey Lipskiy
34d638a0a3 Don't copy depth buffer if it was not cleared.
Uncleared depth buffer most likely is used as auxilary color buffer.

Fix pause screen in Mickey USA when copy depth to RDRAM is enabled, issue #85.
2015-05-13 10:18:14 +06:00
Sergey Lipskiy
916e083bfa Resolve multisampled depth buufer before using it as texture. 2015-05-13 10:17:59 +06:00
Sergey Lipskiy
6ab92eac4f Move zLUT initialization to DepthBufferList::init(). 2015-05-13 10:17:18 +06:00
Sergey Lipskiy
afe91d47d9 Switch to depth texture 2015-05-13 10:17:17 +06:00
Sergey Lipskiy
3352193632 Depth buffer refactor 2015-05-13 10:12:48 +06:00
Sergey Lipskiy
fbf660d4ec Refactor: Make DepthBufferList singleton. 2015-05-13 10:12:48 +06:00
Sergey Lipskiy
ee57f6ef47 Move frame buffer emulation options to Config. 2015-05-13 10:11:30 +06:00
Sergey Lipskiy
066ebc8b47 Enable DepthBuffer_FindBuffer function. 2015-05-13 10:11:11 +06:00
Sergey Lipskiy
b0f17ef953 Add g_bN64DepthCompare parameter
If it is true, N64 depth compare algorithm is used instead of OpenGL depth buffer.
2015-05-13 10:11:08 +06:00
Sergey Lipskiy
344df93374 Rewrite depth texture clear. 2015-05-13 10:11:07 +06:00
Sergey Lipskiy
32892a2236 Fix #include dependences. 2015-05-13 10:10:47 +06:00
Sergey Lipskiy
00c12e2d1d Add FBO for depth buffer. 2015-05-13 10:10:36 +06:00
Sergey Lipskiy
01073f40b0 Add depth texture to depth buffer. 2015-05-13 10:10:20 +06:00
Sergey Lipskiy
880238250b Fix depth buffer initialization and clean. 2015-05-13 10:09:36 +06:00
Sergey Lipskiy
a07555546e Frame buffer fixes 2015-05-13 10:09:33 +06:00
Sergey Lipskiy
69f27a5d8a Initial project version. Based on glN64-0.4.1-rc2 2015-05-13 10:09:12 +06:00