Logan McNaughton
85a8635952
Update to XXH3 for CRC_OPT
2020-03-30 21:16:59 +07:00
Logan
3f55f30ea2
Mask RDRAM address in ProcessRDPList
...
Avoids a crash in Donkey Kong 64 (U) [f2]
2020-03-29 18:12:16 +07:00
Sergey Lipskiy
225f1414dc
Set NoN (no near clipping) flag for all .Rej ucodes.
...
Fixed wrongly clipped polygons in RE2, Ada's locket cutscene, #2152
2020-03-22 14:00:00 +07:00
Sergey Lipskiy
022b375614
RE2 related fixes:
...
* fixed gSPModifyVertex for case when primitive depth enabled
* fixed GraphicsDrawer::isRejected for case when coordinates of vertex set by gSPModifyVertex
* fixed writeDepth() shader for RE2
Fixed various issues mentioned in #2152
2020-03-18 14:50:45 +07:00
Logan
be78f2d324
Fix IPO build on Linux
2020-03-18 11:53:00 +07:00
Sergey Lipskiy
8a9d52b41b
Fix static noise on screens in Space Station Silicon Valley.
...
Problem: the static on the screens is the result of alpha test with a random threshold.
The screens use 2 cycle combiner. First cycle for alpha uses "combined" input.
A value for this input is not set yet in the first cycle, so the result of alpha test is usually wrong.
Solution: replace "combined" input in the first cycle by special "half" input.
Fixed #1764
2020-03-08 23:28:54 +07:00
Sergey Lipskiy
1fdd028bc6
Fix conditions to activate texturedRectDepthBufferCopy.
...
Fixed #2101 Multiplayer camera rotation issue in Conkers Bad Fur Day
2020-03-07 18:27:32 +07:00
Sergey Lipskiy
a28292846c
Remove on_n64DepthCompareCheckBox_toggled
...
Fixed #2185 GLideNUI warning.
2020-03-06 18:51:48 +07:00
fzurita
d053f16bb0
Fix CMake warnings presented by Android Studio
2020-02-26 17:04:05 +07:00
fzurita
0a5216f8e1
Make the hybrid texture filter optional through configuration
2020-02-12 11:51:04 +07:00
Sergey Lipskiy
0692abea4a
Re-implement slower N64 depth compare synchronization method,
...
which requires only core OpenGL 4.2 without shader_interlock extensions.
Fixed N64 depth compare with older AMD GPU.
2020-02-09 19:03:53 +07:00
Logan McNaughton
3d93752b61
Update xxHash
2020-02-06 17:48:13 +07:00
Sergey Lipskiy
495d9f959e
Simplify aTexScale calculation in UClampWrapMirrorTex::update
2020-01-12 19:52:42 +07:00
Sergey Lipskiy
cfa3ded934
Correct tile size calculation.
...
Fixed #2156 Tony Hawk's Pro Skater 3- Missing Characters on Copyright Screen
2020-01-02 20:36:35 +07:00
Sergey Lipskiy
b949958874
Disable ThreadedVideo on MacOsX, see #2159
2020-01-02 16:41:18 +07:00
Sergey Lipskiy
c823047f99
Prevent config dialog from being opened twice.
...
Fixed #2158 Project 64 Crashes if you open GlideN64 Video Settings when they are already open.
2020-01-02 14:44:01 +07:00
Sergey Lipskiy
e676dafb7a
Fix languages names in GUI.
2020-01-02 14:35:24 +07:00
fzurita
de7547727b
Don't generate a new Revision.h file if revision hasn't changed
...
This prevent CMake from forcing a build of everything that depends on
that file.
2019-12-16 14:21:44 +07:00
fzurita
3daf1c0e49
Use a different library name when building for Android
2019-12-16 14:21:44 +07:00
fzurita
cda2dcf2a3
Remove Android makefile and use CMakeLists for Android instead
2019-12-02 18:41:41 +07:00
Sergey Lipskiy
028133bb5c
Correct gDP.loadTile->loadHeight calculation again.
...
Fixed #2143 Yoshi's Story level backgrounds regression
which was broken by b261f34b0
2019-11-30 22:48:23 +07:00
Tim Wanders
80f1d9d021
Fix Log.h
2019-11-30 22:40:00 +07:00
fzurita
44ce554d5f
Fix issues with EGL image public API on GLES 2.0
2019-11-30 15:54:59 +07:00
Sergey Lipskiy
d52d402d76
Do not use hybrid filer for GLES 2.0 due to poor performance.
...
Shader and code simplifications.
2019-11-30 15:54:54 +07:00
Sergey Lipskiy
25b270492e
Revert "Don't use glGetTexLevelParameteriv to determine texture size"
...
This reverts commit b31e510932
.
2019-11-30 15:31:43 +07:00
fzurita
49bdffb954
Fix shader compilation errors with Adreno devices
2019-11-30 15:30:50 +07:00
fzurita
6ac44db414
Don't use glFlushMappedBufferRange in debug mode, the performance
...
penalty is too high
2019-11-29 11:55:57 -05:00
fzurita
b31e510932
Don't use glGetTexLevelParameteriv to determine texture size
2019-11-29 15:56:22 +07:00
fzurita
a2fbea9086
Fix GLSL ES 1.0 compilation error
2019-11-29 15:50:34 +07:00
fzurita
0abaad4aee
Fix shader compilation errors in GLSL 3.0
2019-11-29 15:02:35 +07:00
Sergey Lipskiy
2b5e8786d1
Add support for TEXTUREMODE_BGIMAGE in UClampWrapMirrorTex::update()
...
Fixed #2107 Majora's Mask OnePiece backgrounds broken
Fixed #2141 RE2 corrupt video
2019-11-28 19:13:26 +07:00
Sergey Lipskiy
558c465d02
Debugger fixes.
2019-11-28 19:11:31 +07:00
Francisco Zurita
9c4653a148
Throw an exception if a buffer greater than the ring buffer pool max size is allocated instead of dead locking forever.
2019-11-28 17:33:56 +07:00
Sergey Lipskiy
f918a909c7
Remove opacity check from hybridFilter shader.
2019-11-28 12:31:31 +07:00
Sergey Lipskiy
488d52de16
Use hybrid texture filter to draw frame buffer image on screen.
...
Related to #2088
2019-11-27 19:25:19 +07:00
Sergey Lipskiy
bc05d5f0d8
Make optimization implemented in e0418c3c34
as optional.
...
S. F. Rush looks much better without the optimization.
Fixed #2068 S. F. Rush and Rush 2 - Regressions
2019-11-27 17:32:21 +07:00
Sergey Lipskiy
a8f23045fd
Enable threadedVideo option by default.
...
Fixed #2126 Problem with Project64 1.6.1 when close emulator
2019-11-23 12:55:22 +07:00
Sergey Lipskiy
89bcb61c02
Correct frame buffer usage check.
...
Fixed Pokémon Stadium 2 - Cut off pokémon portraits #2110
2019-11-22 16:23:25 +07:00
Sergey Lipskiy
a01718d2cf
Correct needMirror condition in clampWrapMirror shader.
...
Fixed Blast Corps regression #2113
2019-11-21 17:25:57 +07:00
Sergey Lipskiy
27128fe505
Correct error output in DisplayWindowMupen64plus::_getDisplaySize().
2019-11-20 12:40:53 +07:00
Sergey Lipskiy
517723d308
Up shader storage version.
2019-11-14 11:46:51 +07:00
S2S
49604f0c16
Write wrap function. Cleanup of combiner code.
2019-11-14 11:46:46 +07:00
S2S
a42e34f1b8
Write macros for reading a vector or matrix without hurting performance. Cleanup blender code.
2019-11-14 11:46:32 +07:00
Sergey Lipskiy
9dff907f15
Do not shift texture coordinates for frame buffer textures.
...
Fixed #2112 Conker black line following your shadow
2019-11-12 10:54:56 +07:00
Sergey Lipskiy
09764fead7
Fix TxFileStorage initialization when cache compression disabled.
...
Fixed Textures do not load from uncompressed HTS files #2120
2019-11-04 21:49:48 +07:00
Sergey Lipskiy
f3b83d2c8b
Fix formatting in TxCache.cpp
2019-11-04 19:49:09 +07:00
Sergey Lipskiy
ad85856ee7
Replace printf by LOG.
...
Fixed #2123
2019-11-04 18:27:01 +07:00
fzurita
17b8e34799
Add logging of OpenGL profiling data
2019-11-04 15:03:36 +07:00
fzurita
d7996329c1
Added more GL functions to threaded GL implementation
2019-11-04 14:54:05 +07:00
fzurita
e333dea890
Fix GL errors when using EGL image to read pixel from texture
2019-11-04 14:30:37 +07:00
fzurita
9059bb38d3
Add GL function glDebugMessageCallback and glDebugMessageControl
2019-11-03 23:07:05 +07:00
fzurita
686c7799db
Fix some incorrectly set android makefile options
2019-11-03 23:07:05 +07:00
Sergey Lipskiy
a87f7c4022
Log CoreVideo functions error code.
2019-11-03 23:00:54 +07:00
Sergey Lipskiy
5484972b37
Correct tile size calculation.
...
Fixed regression in Paper Mario caused by commit 5c5c218e4
.
2019-10-28 20:16:24 +07:00
Sergey Lipskiy
2b0e1e64c2
Temporal workaround for crashes in TextureCache::_loadHiresTexture when mip-mapped textures loaded.
...
See #1711 for details.
2019-10-26 18:57:28 +07:00
fzurita
ffaaf1f664
Fix incorrect OpenGL function init in iOS
2019-10-25 11:17:14 +07:00
fzurita
3c875ef3a6
Fix incorrect OpenGL function init in MacOS
2019-10-25 11:17:14 +07:00
Sergey Lipskiy
98d906d4e0
Correct tile height calculation.
...
Fixed Neon Genesis Evangelion glitches #2102
2019-10-16 13:43:50 +07:00
Sergey Lipskiy
0338f27225
Do not shift texture coordinates by 0.5 for point-sampled textures.
...
Attempt to fix texture mapping issue from #2097 .
2019-10-14 14:11:24 +07:00
fzurita
1384584af6
Fix threaded OpenGL lockup when trying to remove invalid buffer
2019-10-14 14:10:08 +07:00
Sergey Lipskiy
b261f34b0d
Fix gDP.loadTile->loadHeight calculation.
...
Fixed Zelda 64 Skybox duplicates #2094 .
2019-10-13 13:03:28 +07:00
Sergey Lipskiy
cffeab2f0f
Fixed backgrounds load in Bakuretsu Muteki Bangaioh (J).
2019-10-12 23:57:10 +07:00
Sergey Lipskiy
5bab3c155f
Fix crashes in Bakuretsu Muteki Bangaioh (J)
2019-10-12 01:03:14 +07:00
fzurita
462dd2a9bc
FIx EGL image compatibility with mali devices
2019-10-05 22:41:33 +07:00
fzurita
4c87af5975
Don't initialize EGL, this is causing issues
2019-10-05 22:41:33 +07:00
fzurita
8cdf5a41d8
Don't crash on failed initialization
2019-10-05 22:41:33 +07:00
Sergey Lipskiy
427004a703
Fix Debugger::_addTriangles
2019-10-03 18:51:26 +07:00
fzurita
4a10c0a7fa
Fix incorrect OpenGL function init in Linux
2019-09-30 21:48:36 -04:00
fzurita
d6ad676436
Fix EGL initialization in applications that don't implment VidExt
2019-09-30 21:48:36 -04:00
fzurita
7861d14060
Fix issue with lack of highp floating numbers in GLSL for GLES 2.0.
2019-09-30 21:48:26 -04:00
fzurita
8817e2c549
Fix logging error
2019-09-29 09:25:04 -04:00
Sergey Lipskiy
62b4389d16
Use TexrectCopyProgram if TexrectColorAndDepthCopyProgram is not awailable.
2019-09-29 16:13:03 +07:00
fzurita
415e63d6d1
Fix shader compilation error in GLES 2.0
2019-09-29 16:08:44 +07:00
fzurita
a42c66e305
Fix android logging
2019-09-29 16:08:44 +07:00
Sergey Lipskiy
9409abd671
Support "Copy depth to main depth buffer" option in GUI.
2019-09-27 19:33:18 +07:00
Sergey Lipskiy
751ddc36a7
Support "EnableCopyDepthToMainDepthBuffer" option in mupen64plus config.
2019-09-27 19:33:18 +07:00
Sergey Lipskiy
86a227308e
Implement copy depth to main depth buffer. It is necessary for correct work of some Reshade shaders.
2019-09-27 19:33:18 +07:00
Sergey Lipskiy
a1faafcc1b
Code refactor: rename TxFileCache to TxFileStorage.
2019-09-27 19:33:18 +07:00
Sergey Lipskiy
0272bb626b
Fix warning.
2019-09-27 19:33:18 +07:00
Aquatakat
7785e305d4
New aliasing tooltip
2019-09-27 19:33:17 +07:00
Aquatakat
6946f730b4
UI refresh: _init() behaviour fixes
...
Changing profiles/toggling the use game settings checkbox works a bit better.
2019-09-27 19:33:17 +07:00
Aquatakat
c18037b92d
Support for file_tex_storage branch
2019-09-27 19:33:17 +07:00
Aquatakat
43bec023e4
UI refresh: option to save settings to profile while per-game settings enabled
...
Also letting Qt decide how tall the window should be.
2019-09-27 19:33:17 +07:00
Aquatakat
c77214f0a7
UI refresh: AA radio button behaviour changes
2019-09-27 19:33:17 +07:00
Aquatakat
95cee96d15
UI refresh: emulation tab condensed vertically
2019-09-27 19:33:17 +07:00
Aquatakat
54b825d957
UI refresh fixes
...
Whoops, it looks like I was working with an old UI and missed some options. I've added them all to the emulation tab.
I think I should find a way to tidy the emulation tab a little in the future.
2019-09-27 19:33:17 +07:00
Aquatakat
03f0fe78c9
UI refresh
2019-09-27 19:33:16 +07:00
Sergey Lipskiy
2fa076c1df
Support new settings in Mupen64plus config
2019-09-27 19:33:16 +07:00
Sergey Lipskiy
b697393cab
File stream implementation of TxCache.
2019-09-27 19:33:16 +07:00
Sergey Lipskiy
dee7065982
Memory cache implementation of TxCache
2019-09-27 19:33:16 +07:00
Sergey Lipskiy
a1a443ca47
TxCache refactor
2019-09-27 19:33:16 +07:00
Sergey Lipskiy
0068a0066b
Fix Debugger::_addTriangles for TRIANGLE_STRIP mode
2019-09-18 15:38:25 +07:00
Sergey Lipskiy
fea37ab6d5
Fix elements cast in Debugger::_addTrianglesByElements
2019-09-18 15:38:22 +07:00
Sergey Lipskiy
34c6cae364
Fix compile errors in opengl_ColorBufferReaderWithEGLImage.cpp
...
Fixed #2083
2019-09-05 18:53:38 +07:00
Sergey Lipskiy
4808179691
Fixed crash in case of wrong FrameBuffer::m_scale initialization.
2019-09-05 18:47:45 +07:00
Sergey Lipskiy
10ec517fe9
Code refactor in GLInfo::init()
2019-08-31 11:05:44 +07:00
Sergey Lipskiy
5c5c218e41
Correct tile size calculation.
...
Fixed text in Zelda debug rom. See bug reported by AriaHiro64 in #1885
2019-08-21 12:39:53 +07:00
Sergey Lipskiy
c28ea61b8f
Fix for texture issues in Stunt Racer, reported by DonelBueno in #1885
...
Stunt Racer uses combiner with two textures for track polygons, but actually loads only T0.
T1 replaced by T0 because of LOD flags in othermode.
This situation was not checked in the main code and ClampWrapMirror shader got wrong parameters,
which lead to the glitches.
2019-08-16 19:10:09 +07:00
Sergey Lipskiy
947fedcbb5
Code cleanup: remove unused getMirrorClamp function.
2019-08-16 17:47:20 +07:00
Sergey Lipskiy
fa2ce3f6e7
Debugger: correct mupen64plus window caption to find in debug mode.
2019-08-16 17:46:34 +07:00