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

3550 Commits

Author SHA1 Message Date
Sergey Lipskiy
cbaece1021 (R): Remove RSPTHREAD code. 2015-05-13 10:10:46 +06:00
Sergey Lipskiy
ef50ef71d2 Refactor: use Types instead of Windows types in CRC 2015-05-13 10:10:45 +06:00
Sergey Lipskiy
c38bd35251 Fix config save-load. 2015-05-13 10:10:45 +06:00
Sergey Lipskiy
306f02911b Rename config file. 2015-05-13 10:10:44 +06:00
Sergey Lipskiy
0a1499caed Fix compilation errors when MUPENPLUSAPI enabled 2015-05-13 10:10:43 +06:00
Sergey Lipskiy
5d81e4f2f3 Implement MupenPlus2.0 API functions 2015-05-13 10:10:43 +06:00
Sergey Lipskiy
85a743adaf Add necessary include files 2015-05-13 10:10:42 +06:00
Sergey Lipskiy
fd3fe0b7b7 Fix DepthBufferToRDRAM::CopyToRDRAM :
return if depth buffer is null
2015-05-13 10:10:41 +06:00
Sergey Lipskiy
c7c36ce54a Correct frame buffer valideness check. 2015-05-13 10:10:41 +06:00
Sergey Lipskiy
4635e24d62 Add g_bIgnoreCFB option.
It is necessary for Zelda Pause Screen, otherwise it will be
replaced by blank data from RDRAM.
2015-05-13 10:10:40 +06:00
Sergey Lipskiy
15e5947503 Correct condition for depth buffer rendering. 2015-05-13 10:10:39 +06:00
Sergey Lipskiy
da3d18d7d8 Fix frame buffer textures delete. 2015-05-13 10:10:38 +06:00
Sergey Lipskiy
bc8eced7bd Move FrameBuffer_CopyToRDRAM to RSP_ProcessDList(). 2015-05-13 10:10:38 +06:00
Sergey Lipskiy
d4953abb91 Fix depth beffer rendering.
Corrected bug with Z calculation in depth_compare_shader.
2015-05-13 10:10:37 +06:00
Sergey Lipskiy
9b8b667fab Implement CopyDepthBuffer to RDRAM. 2015-05-13 10:10:36 +06:00
Sergey Lipskiy
00c12e2d1d Add FBO for depth buffer. 2015-05-13 10:10:36 +06:00
Sergey Lipskiy
8e3e41356a FrameBuffer: Replace pointer to depth texture by pointer to DepthBuffer 2015-05-13 10:10:35 +06:00
Sergey Lipskiy
5070a1aa82 Correct palette load for shadow map. 2015-05-13 10:10:34 +06:00
Sergey Lipskiy
e9b5283339 Correct calls for Combiner_UpdateCombineDepthInfo()
+ cosmetic formatting.
2015-05-13 10:10:34 +06:00
Sergey Lipskiy
f6c2437e18 Remove PolygonStipple related code and its control from the GUI.
Add GUI control for hardware lighting instead.
2015-05-13 10:10:33 +06:00
Sergey Lipskiy
dfb8b0f04b Remove legacy combiners. 2015-05-13 10:10:32 +06:00
Sergey Lipskiy
14f5a92da3 Switch from glActiveTextureARB to glActiveTexture 2015-05-13 10:10:31 +06:00
Sergey Lipskiy
2c5266eef3 Switch from ARB GLSL extension to OGL 2.0 functions. 2015-05-13 10:10:31 +06:00
Sergey Lipskiy
10123b8895 Check that hardware supports ImageTextures. 2015-05-13 10:10:30 +06:00
Sergey Lipskiy
10b790b787 Add VisulStudio 2010 project file. 2015-05-13 10:10:29 +06:00
Sergey Lipskiy
f151ef36ca Add shadow map shader 2015-05-13 10:10:28 +06:00
Sergey Lipskiy
83ee675716 Move shaders to separate .h file 2015-05-13 10:10:28 +06:00
Sergey Lipskiy
179d915c7b Add alpha test shader. 2015-05-13 10:10:27 +06:00
Sergey Lipskiy
898a81ecde Add possibility to switch between float and int depth texture formats 2015-05-13 10:10:26 +06:00
Sergey Lipskiy
9c508f1a9b Change to float format of depth texture 2015-05-13 10:10:25 +06:00
Sergey Lipskiy
c47ab51175 Add depth compare shader to the main program. 2015-05-13 10:10:25 +06:00
Sergey Lipskiy
2801d3745c Add glBindImageTexture and glMemoryBarrier declarations. 2015-05-13 10:10:24 +06:00
Sergey Lipskiy
3d801d66de Fix Linux debug compilation. 2015-05-13 10:10:23 +06:00
Sergey Lipskiy
d68c09c13a Add UpdateDepthInfo. 2015-05-13 10:10:23 +06:00
Sergey Lipskiy
1fc111a5c1 Add GLSL_ClearDepthBuffer() 2015-05-13 10:10:22 +06:00
Sergey Lipskiy
cd81074c9e Add ZLUT initialization. 2015-05-13 10:10:21 +06:00
Sergey Lipskiy
4660e272a0 Add depth compare shader. 2015-05-13 10:10:20 +06:00
Sergey Lipskiy
01073f40b0 Add depth texture to depth buffer. 2015-05-13 10:10:20 +06:00
Sergey Lipskiy
d9ed68199b Put noise calculation in separate pre-compiled shader. 2015-05-13 10:10:19 +06:00
Sergey Lipskiy
df6bab43f6 Put LOD calculation in separate pre-compiled shader. 2015-05-13 10:10:18 +06:00
Sergey Lipskiy
2c5e9050a0 Put light calculation in separate pre-compiled shader.
Shader compile time should decrease.
2015-05-13 10:10:18 +06:00
Sergey Lipskiy
3a0036e81d Update .gitignore 2015-05-13 10:10:17 +06:00
Sergey Lipskiy
55a14d42f0 Fix RDRAMtoFrameBuffer::CopyFromRDRAM - make it working with buffer of any size.
Mario Tennis scoreboard hack is now uses CopyFromRDRAM, so
FrameBufferToRDRAM::CopyAuxBufferToRDRAM became unused and thus removed.
2015-05-13 10:10:17 +06:00
Sergey Lipskiy
9c5b94d1f8 Fix frame buffer texture remove. 2015-05-13 10:10:16 +06:00
Sergey Lipskiy
deea78132c Fix new CachedTexture initialization. 2015-05-13 10:10:15 +06:00
Sergey Lipskiy
3380451e00 Fix texture cache verification. 2015-05-13 10:10:15 +06:00
Sergey Lipskiy
02c1884382 Fix pointer compare in FrameBufferToRDRAM::CopyAuxBufferToRDRAM 2015-05-13 10:10:14 +06:00
Sergey Lipskiy
26ab545b8a Fix FrameBuffer_RenderBuffer to work on Linux. 2015-05-13 10:10:13 +06:00
Sergey Lipskiy
1b9c04ade5 Fix Linux compilation. 2015-05-13 10:10:12 +06:00
Sergey Lipskiy
407edd8ea8 Rewrite LOD calculation using dFdx and dFdy functions to get texture coordinates diff.
Many code became useless and thus removed.
2015-05-13 10:10:12 +06:00