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

3346 Commits

Author SHA1 Message Date
Rosalie Wanders
5f1803ab29 Introduce pluginNameWithRevision 2020-11-19 16:50:32 +07:00
S2S
bb05409c16 Disable clamping for special textures 2020-11-16 10:40:47 +07:00
fzurita
e89f5fedcc Fix build error and warning with Android 2020-11-16 10:39:10 +07:00
Sergey Lipskiy
78c89fbbfd Fix some of PVS-Studio warnings. 2020-11-14 20:00:19 +07:00
Sergey Lipskiy
46c65776a0 Code refactor and cleanup:
* type cast fixes
* signed/unsigned fixes
* code formatting fixes
* class members initialization fixes
2020-11-14 16:54:28 +07:00
Sergey Lipskiy
ddd93673d8 Fixed some undefined behaviour errors found in #2364 2020-11-14 16:50:50 +07:00
gizmo98
ec02cc722f Spread bayer matrix
Multiplay matrix values with 2.0f so values are better spread between
1.0 and 0.0.
2020-11-13 10:08:04 +07:00
gizmo98
93ddc890e2 Use angrylion's magic square matrix
We use a precalculated matrix for float color values. It’s angrylion’s
matrix divided bei 16.0f * 2.0f.
2020-11-13 10:08:04 +07:00
Sergey Lipskiy
039581d882 Remove 'branches:' section from appveyor.yml 2020-11-12 15:15:06 +07:00
fzurita
9aec59056f Fix some shader compilation issues 2020-11-11 13:34:45 +07:00
S2S
ff62e3cf18 Cleanup blending code
Abstract extension specific code to fragment shader header
2020-11-11 13:34:45 +07:00
fzurita
f01405bc75 Implement N64 blending using framebuffer fetch extensions 2020-11-11 13:34:45 +07:00
fzurita
d509758b6f Disable dual source blending for Adreno, it causes GPU driver crashes 2020-11-11 13:34:45 +07:00
fzurita
1b70d5b145 Fix shader compilation errors with Adreno GPUs with hybrid filter 2020-11-11 13:34:45 +07:00
Sergey Lipskiy
e81022ad71 Correct _calculateCRC:
tile tmem address can be set to a value greater than 512, that is above TMEM size.
It should be used with proper mask for tileTmemInBytes calculation.

Fixed #2360 Castlevania 64 Crash
2020-11-10 15:41:35 +07:00
IlDucci
a11a0208c9 Updating Spanish translation with the latest changes. 2020-11-09 14:22:03 +07:00
Jj0YzL5nvJ
d51ced969e Ugly script for power users and practical folk, lazy ones too 2020-11-09 14:10:00 +07:00
Sergey Lipskiy
b6e030c8b8 [Code cleanup] Fix spaces. 2020-10-31 15:40:03 +07:00
gizmo98
e5d59a6394 Use angrylion's bayer matrix
https://github.com/gonetz/GLideN64/issues/2359

We use a precalculated matrix for float color values. It’s angrylion’s
matrix divided bei 16.0f.
https://github.com/project64/angrylion-rdp/blob/093754a4a53437925824317a
b22ce6a56748fe14/n64video.cpp#L2509
2020-10-31 13:55:10 +07:00
purplemarshmallow
909cf172b9 correct "remove hack_texrect_shade_alpha"
fix regression  #2369
2020-10-31 12:18:57 +07:00
Logan
c1b4d447a7 Add some CMake directories to the .gitignore 2020-10-29 16:57:02 +07:00
gizmo98
4981503bfc Code refactor: add vi status constants 2020-10-29 16:55:37 +07:00
Logan
cf7b3c84ce Protect against addressing nullptr 2020-10-29 16:51:27 +07:00
fzurita
c7144d0775 Fix issues with EGL image with Intel GPUs 2020-10-18 12:23:45 +07:00
Logan
73f891b055 copyDepthToRDRAM=0 for Pokemon Stadium 2020-10-12 13:27:17 +07:00
Logan McNaughton
42c196c30a Update xxHash to 0.8.0 2020-10-12 13:25:53 +07:00
S2S
5fa66762b3 Define STVEC in an Intel friendly way. 2020-10-12 12:58:14 +07:00
Jj0YzL5nvJ
b5a6b3b1e2 Avoid problem with spaces 2020-10-12 12:56:14 +07:00
Rosalie Wanders
b200b33b84 DisplayWindow: introduce _restart()
DisplayWindowMupen64plus: m_resize{Width,Height} moved from _resizeWindow() to _restart()
2020-10-08 16:13:24 +07:00
purplemarshmallow
9a69fe8e58 remove hack_texrect_shade_alpha 2020-10-08 15:57:35 +07:00
Rosalie Wanders
00dac336f8 GLideNUI: detect application instance dynamically 2020-10-02 17:08:31 +07:00
Rosalie Wanders
4f5a763666 getRevision: silence error if Revision.h doesn't exist 2020-10-01 18:09:20 +07:00
Rosalie Wanders
80ecddd574 GLideNUI: Fix sprintf deprecation warning 2020-10-01 18:06:44 +07:00
Sergey Lipskiy
3dfa0e7622 [Code cleanup] Fix code formatting in mupen64plus_DisplayWindow.cpp in accordance with the rest of the code. 2020-10-01 18:05:24 +07:00
Rosalie Wanders
3179b37e8a Fix _resizeWindow for M64P_GLIDENUI 2020-10-01 18:00:30 +07:00
Rosalie Wanders
859af888c4 [travis] fix warnings and remove deploy 2020-10-01 17:55:42 +07:00
Rosalie Wanders
ed00993642 [travis] enable MUPENPLUSAPI_GLIDENUI for linux 2020-09-23 14:45:14 +07:00
Rosalie Wanders
1f5f9874d9 Correctly implement FindPluginPath for Windows 2020-09-19 21:53:24 +07:00
Rosalie Wanders
229a6bc788 Correctly implement FindPluginPath for Linux 2020-09-16 19:05:17 +07:00
Rosalie Wanders
366ff85de3 Allow GLideNUI to work with mupen64plus
* Update the mupen64plus API headers
  * Add the new video extension functions in the opengl wrappers
  * Pull new headers from upsteam mupen64plus-core

* Modify CMakeLists.txt
  * Add GLideNUI source files
  * Expose new MUPENPLUSAPI_GLIDENUI option
    * This allows you to compile GLideN64 for mupen64plus with GLideNUI
    * NOTE that this only works with front-ends which call PluginConfig

* Move src/windows/Config_windows.cpp to src/GLideNUI/Config_GLideNUI.cpp
  * This makes more sense because it's not windows-exclusive anymore

* Add src/GLideNUI/fullscreenresolutions_mupen64plus.cpp
  * This allows GLideNUI to enumerate the fullscreen refresh rates and resolutions

* Modify src/Graphics/OpenGLContext/mupen64plus/mupen64plus_DisplayWindow.cpp
  * This modification allows mupen64plus with GLideNUI to use the selected fullscreen resolution and refresh rates

* Expose a new PluginConfig function which calls Config_DoConfig()
  * NOTE that this only works with front-ends which call this function
  * NOTE that this technically breaks the mupen spec
2020-09-16 19:02:46 +07:00
Sergey Lipskiy
35567da2ad Modifications for mip-mapped textures load.
Treat specail case for Southern Swamp grass texture, Zelda MM, #2315
2020-09-16 18:50:55 +07:00
Sergey Lipskiy
1e915af002 Correct gDPTextureRectangle:
use ceil(lry) instead of max(lry, uly + 1.0f)
It fixes the issue with zero height rectangles,
which often contain a garbage, see #2157
2020-09-16 18:49:53 +07:00
Sergey Lipskiy
15cbdc6593 [Code refactor] Remove redundant code. 2020-08-31 11:53:50 +07:00
Sergey Lipskiy
76d72f77b7 [Code refactor] Correct TextureCache::_load:
add RAII holder for texture data.
2020-08-31 11:53:41 +07:00
oddMLan
1111a7636c Add missing settings to Zilmar-spec from Mupen-spec
This allow testing these settings more easily with a Zilmar-spec emulator by just editing the ini
2020-08-14 17:29:04 +07:00
oddMLan
38fd50414f Fix downscaling aliasing caused by 2f5280c 2020-08-14 17:29:04 +07:00
oddMLan
d7d68c4667 GLideN64.sln: Add TinyXML++ and ts2lang projects
This will allow seamless translation from .ts to .Lang files compatible with the WTL GUI
2020-07-17 21:44:08 +07:00
oddMLan
97c8c0db78 Add /translations/wtl to gitignore
.Lang files for GLideNUI-wtl will always be generated on compilation time
2020-07-17 21:44:08 +07:00
oddMLan
e808510b86 [GLideNUI-wtl] Always use internal English strings (ignore gliden64_en.Lang) 2020-07-17 21:44:08 +07:00
oddMLan
1f4912469a [GLideNUI-wtl] Update Language class 2020-07-17 21:44:08 +07:00