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

727 Commits

Author SHA1 Message Date
Sergey Lipskiy
c7c86b7152 Add API function FindPluginPath()
since plugin's path is different for Mupen64Plus and Zilmar specs emus.
2015-05-13 10:17:36 +06:00
Sergey Lipskiy
e2ddef7520 Switch from legacy GUI to GLideNUI. 2015-05-13 10:17:36 +06:00
Sergey Lipskiy
36bee6f0f7 Implement color selection. 2015-05-13 10:17:35 +06:00
Sergey Lipskiy
e49eff9947 Implement font selection. 2015-05-13 10:17:34 +06:00
Sergey Lipskiy
e2e9416be9 Implement GUI settings save/load. 2015-05-13 10:17:33 +06:00
Sergey Lipskiy
6afd0d922b Move 'aspect' setting from 'video' section to 'frameBufferEmulation'. 2015-05-13 10:17:33 +06:00
Sergey Lipskiy
64d97e72e0 Remove textureBitDepth settings.
Load textures using most relevant format.
2015-05-13 10:17:32 +06:00
Sergey Lipskiy
df0791c054 Add integer representation for font color. 2015-05-13 10:17:31 +06:00
Sergey Lipskiy
59298cd428 Move emulation config options to generalEmulation section. 2015-05-13 10:17:31 +06:00
Sergey Lipskiy
286a9623a0 Remove unused config options. 2015-05-13 10:17:30 +06:00
Sergey Lipskiy
66f696ca40 Update GLideNUI project files. 2015-05-13 10:17:29 +06:00
Sergey Lipskiy
a16c51155d Correct FullScreenResolutions comboBox 2015-05-13 10:17:29 +06:00
Sergey Lipskiy
ddfa583f28 Link GUI library. 2015-05-13 10:17:28 +06:00
Sergey Lipskiy
1ca96fddaf Add GLideNUI library sources. 2015-05-13 10:17:27 +06:00
Sergey Lipskiy
8f69e6cfa9 Rewrite glowShader. 2015-05-13 10:17:27 +06:00
Sergey Lipskiy
501e8a44b0 Fix FBO in DepthBufferToRDRAM. 2015-05-13 10:17:26 +06:00
Sergey Lipskiy
ef60858540 Correct calc_light call. 2015-05-13 10:17:25 +06:00
Sergey Lipskiy
35c213da08 Remove layout(binding = 0) since it is requires version 4.20 2015-05-13 10:17:25 +06:00
Sergey Lipskiy
3b2e64f6ac Open checkShaderCompileStatus() and checkProgramLinkStatus() functions.
Correct PostProcessor shaders precision.
2015-05-13 10:17:24 +06:00
Sergey Lipskiy
42739a2e72 Add config options for Bloom. 2015-05-13 10:17:23 +06:00
Sergey Lipskiy
5af3ed1197 Implement multi-pass bloom post-processing effect. 2015-05-13 10:17:23 +06:00
Sergey Lipskiy
4f1a636c20 Implement PostProcessor class for image post processing effects. 2015-05-13 10:17:22 +06:00
Sergey Lipskiy
9674adcb71 Fix font settings on Linux. 2015-05-13 10:17:21 +06:00
Sergey Lipskiy
8d518d6440 Replace boost::thread by std::thread.
Correct CMakeList.txt for GLideNHQ
2015-05-13 10:17:20 +06:00
Sergey Lipskiy
fca44abb5f Do not create DepthImageTexture when N64DepthCompare option is off. 2015-05-13 10:17:20 +06:00
Sergey Lipskiy
12a2b3741e Change DepthImageTexture texture format from GL_RGBA32F to GL_RG32F
Correct depth_compare() shader: do not calculate N64 z value.
2015-05-13 10:17:19 +06:00
Sergey Lipskiy
6ab92eac4f Move zLUT initialization to DepthBufferList::init(). 2015-05-13 10:17:18 +06:00
Sergey Lipskiy
cd758aed08 Rewrite DepthBufferToRDRAM 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
0197bfa104 Correct depth_compare_shader.
Add primDeltaZ support.
2015-05-13 10:17:16 +06:00
Sergey Lipskiy
54f01961f2 Replace GLES2 define usage by SHADER_PRECISION. 2015-05-13 10:17:15 +06:00
Sergey Lipskiy
f2ab6d9505 Code cleanup: fix idents in GLideNHQ/TxUtil 2015-05-13 10:17:15 +06:00
Sergey Lipskiy
366c389d56 Correct depth_compare shader usage. 2015-05-13 10:17:14 +06:00
Sergey Lipskiy
8acc7adf15 Move #define SHADER_PRECISION from Shaders.h to GLSLCombiner.cpp
Use SHADER_PRECISION instead of GLES2 in Noise_shader.h
Add #version to noise_fragment_shader.
2015-05-13 10:17:13 +06:00
Sergey Lipskiy
784735c3ae Fix compilation with disabled SHADER_PRECISION 2015-05-13 10:17:13 +06:00
Sergey Lipskiy
d24289f5a8 Rebuilt all libs necessary for GLideNHQ with -fPIC flag.
Correct GLideNHQ CMake file to link all libs statically.
2015-05-13 10:17:12 +06:00
Sergey Lipskiy
7c032f887b Correct CMakeLists.txt files:
- GLideNHQ added as subdirectory
- Link Boost with GLideNHQ using exact libs names, not the one provided with ${Boost_LIBRARIES}
2015-05-13 10:17:11 +06:00
Sergey Lipskiy
29a0698437 Enable aspect settings for windowed resolutions. 2015-05-13 10:17:10 +06:00
Sergey Lipskiy
5460cb32f6 Don't allocate frame buffer with zero height. 2015-05-13 10:17:10 +06:00
Sergey Lipskiy
1c6eb7449a Remove special blend mode for Donald Duck because of regression in Roadsters. 2015-05-13 10:17:09 +06:00
Sergey Lipskiy
bee93b776d Fix alpha set in Flat shading made. 2015-05-13 10:17:08 +06:00
Sergey Lipskiy
99b0bc1e59 Fix fb texture offsetS.
Fixed IR scanner in Perfect Dark.
2015-05-13 10:17:08 +06:00
Sergey Lipskiy
5b8986874a Make VI height zero if vStart >= vEnd. 2015-05-13 10:17:07 +06:00
Sergey Lipskiy
626fdf8f2f Fix texture bytes calculation for CheckForFrameBufferTexture in gDPLoadTile.
Fixed last rects of pause screen Banjo Tooie.
2015-05-13 10:17:06 +06:00
Sergey Lipskiy
17f2195801 Remove combiner update from FrameBufferList::attachDepthBuffer().
WEIRD:
If new combiner is created on CombinerInfo::get().update(), it than
works incorrect. Example: pause screen in Banjo Tooie.
!!!
2015-05-13 10:17:06 +06:00
Sergey Lipskiy
3b102d4ebd Fix texture filter usage. 2015-05-13 10:17:05 +06:00
Sergey Lipskiy
3e81c5a835 Enable CFB for Zilmar build. 2015-05-13 10:17:04 +06:00
Sergey Lipskiy
ac5159fe68 Fix RDRAMtoFrameBuffer::CopyFromRDRAM :
restore CHANGED_CPU_FB_WRITE flag after the draw.

Fixed CFB mode.
2015-05-13 10:17:04 +06:00
Sergey Lipskiy
13366a9c02 Set init value for VIInfo::lastOrigin to -1.
0 is valid origin value, so wrong buffer clear may occur.
2015-05-13 10:17:03 +06:00
Sergey Lipskiy
97c43d07c7 Correct VI_UpdateScreen(): avoid multiple calls of VI_UpdateSize(). 2015-05-13 10:17:02 +06:00