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

1219 Commits

Author SHA1 Message Date
Sergey Lipskiy
b4ce5fb842 Fix line width for BufferedDrawer::drawLine. 2017-05-28 22:11:27 +07:00
gizmo98
86d144c2a7 arm neon: change s32 to u32 2017-05-28 20:36:10 +07:00
gizmo98
e52f39aebe arm neon: add gSPLightVertex and gSPLightVertex4 neon version 2017-05-28 20:36:10 +07:00
gizmo98
542d083840 arm neon: Cleanup InverseTransformVectorNormalize
Add a arm asm multivector function of InverseTransformVectorNormalize which
replaces 2x and 4x functions.
2017-05-28 20:36:10 +07:00
Sergey Lipskiy
37772ca51e Add 'EnableCustomSettings' option to mupen64plus config. 2017-05-25 08:47:33 +07:00
Logan McNaughton
eb3c5c0730 Allow mupen64plus to read GLideN64.custom.ini 2017-05-25 08:28:43 +07:00
Aquatakat
16f556e1a5 UI: Adding translation description for Hz 2017-05-23 17:20:39 -06:00
Aquatakat
8df408c0f8 UI: All strings are translatable 2017-05-23 17:06:53 -06:00
Aquatakat
716bcee896 UI: Custom windowed resolution set via combo box 2017-05-20 13:40:45 +07:00
Aquatakat
a4d0796e73 UI: Fullscreen resolution list displays aspect ratio 2017-05-14 18:30:07 +07:00
Logan McNaughton
e32dd5449f Allow using the system's libpng and zlib 2017-05-11 16:19:41 -06:00
Sergey Lipskiy
1e3e06a036 Fix texture cache file name when rom name contains colon, #1477 2017-05-11 14:38:34 +07:00
Sergey Lipskiy
45139a60d5 Correct light vector length calculation for point lighting, #778 2017-05-06 19:49:18 +07:00
Sergey Lipskiy
eae155d741 Update point lighting calculaton according to Gillou68310 recommendations, #778
Point lighting still works incorrect.
2017-05-04 16:07:48 +07:00
Francisco Zurita
b31bb1fe9e Add floating point support to RDRAM to color buffer 2017-04-25 16:51:18 +07:00
Francisco Zurita
2e1baf433c Added floating point support to ColorBufferReader
I consolidated a lot of code that was the same between implementations in
the process, so now the code is common.
2017-04-25 16:51:18 +07:00
Francisco Zurita
4a8ae7e1cf Use floating point frame buffer format for Adreno 500 series GPUs 2017-04-25 16:51:18 +07:00
Aquatakat
38060cc368 UI: Fix duplicate fullscreen refresh rates 2017-04-17 17:38:22 +07:00
Francisco Zurita
f966336648 Don't allow zLUT index below zero when converting floats to UINT16 2017-04-16 20:34:13 -04:00
Sergey Lipskiy
1fe86997fb Hotkeys work only when plugin's window is active (Zilmar-spec build only)
Fixed HD Texture Dump/Edit textures request #1465
2017-04-15 16:13:50 +07:00
Sergey Lipskiy
e9436b7136 FrameBufferList::renderBuffer() : correct Y offset in source buffer.
Fixed screen shake in Lode Runner 3D #301

The game uses weird way to work in interlaced mode.
2017-04-12 15:32:01 +07:00
Sergey Lipskiy
175c733d56 Code cleanup: remove unused variables. 2017-04-12 15:27:24 +07:00
Aquatakat
41f40ed140 UI: New font selection 2017-04-07 14:31:43 +07:00
Sergey Lipskiy
0630a76308 Fix negative viewport, #6 2017-04-05 17:08:00 +07:00
gizmo98
b8a18f57e4 arm neon: add faster versions of InverseTransformVectorNormalize 2x and 4x
2x, opt level -O2
old 0,42 runtime of c function
new 0,36 runtime of c function

4x, opt level -O2
old 0,30 runtime of c function
new 0,23 runtime of c function
2017-04-05 10:40:01 +07:00
gizmo98
abdba2c149 Refactor gSP.lights and gSP.lookat 2017-04-05 10:40:01 +07:00
Logan McNaughton
6c32d5cd8f Texture Cache performance improvements 2017-04-04 08:58:49 -07:00
Logan McNaughton
0b73d5f099 Add xxHash as CRC_OPT 2017-04-04 06:31:11 -06:00
Sergey Lipskiy
5e51b386f1 Make Resident Evil 2 playable. 2017-04-02 12:02:38 +07:00
Sergey Lipskiy
226cd6e4a3 Simplify TextureCache::_loadDepthTexture : do not convert unsigned shorts to floats 2017-04-02 10:41:30 +07:00
Sergey Lipskiy
b92af6ddad Correct condition for max number of lights in gSPNumLights.
Thanks to gizmo98 for pointing on it.
2017-04-01 21:11:37 +07:00
Sergey Lipskiy
51afc1e3b5 Correct DisplayWindowWindows::_readScreen 2017-04-01 19:51:36 +07:00
Sergey Lipskiy
1bf327b67c Read screen shot data only from front buffer. 2017-04-01 10:49:32 +07:00
Logan McNaughton
300134584f Add glFinish 2017-03-30 13:35:05 -06:00
Logan McNaughton
ebcf46e5ad ColorBufferReader performance improvements 2017-03-29 14:34:23 -07:00
Sergey Lipskiy
4f5759ef46 Fix validity check for depth buffer.
Fixed Pokemon Stadium Menu Items Missing (Regression) #1446
2017-03-29 17:01:59 +07:00
Logan McNaughton
cc5f11dec2 Add missing ucode for Animal Forest
Fixes https://github.com/gonetz/GLideN64/issues/1326
2017-03-28 15:10:43 -06:00
Sergey Lipskiy
8a1f7f1067 Revert commit 210c9ea.
Fixed Majora's Mask Flickering #1434
2017-03-28 15:16:42 +07:00
gizmo98
2acc3c7775 arm neon: add multivector versions of InverseTransformVectorNormalize
Arm neon performance is much better if more data can be loaded and
processed.

Four vectors. Opt level -O3
—————————————-
runtime 100% - C function
runtime 99% - Neon function
runtime 56% - Neon 2x function
runtime 36% - Neon 4x function

Four vectors. Opt level -O2
—————————————-
runtime 100% - C function
runtime 71% - Neon function
runtime 43% - Neon 2x function
runtime 30% - Neon 4x function
2017-03-27 14:22:49 +07:00
gizmo98
f907706dae arm neon: remove DotProduct
Compared to C function DotProduct runs slower.
-O0 factor 0,86
-O1 factor 1,60
-O2 factor 1,59
-O3 factor 1,57
Six values and 3x mult/add is not enough workload to fill at least two
quads and hide neon latency.
2017-03-24 18:36:38 +01:00
Sergey Lipskiy
5bfac0a664 Fix HD textures load for MK64, #1341 2017-03-23 22:51:34 +07:00
Sergey Lipskiy
b78c279676 Correct UScreenScale::update() 2017-03-23 15:53:22 +07:00
Sergey Lipskiy
e576e2c0b9 Improve work with threads in NoiseTexture::init() 2017-03-23 15:35:47 +07:00
Sergey Lipskiy
911e5490f1 Remove optimization for noise texture filling introduced by commit 3da71d1f
This optimization reduces noise quality on Windows, e.g. in SM64 or Silicon valley.
2017-03-23 15:35:42 +07:00
gizmo98
8f49d6b3a4 arm neon: move neon files into own folder 2017-03-22 21:15:04 +07:00
gizmo98
04510a287c arm neon: add neon version of RSP_LoadMatrix
Split LoadMatrix versions in different *. cpp files.
RSP_LoadMatrix.cpp = cpp version
RSP_LoadMatrixX86.cpp = x86 asm version
RSP_LoadMatrixNEON.cpp = arm neon intrinsics version
2017-03-22 21:14:49 +07:00
gizmo98
7c628edc58 arm neon: add neon version of gSPTransformVertex 2017-03-22 21:03:34 +07:00
Sergey Lipskiy
8f1031da85 Call _calcTileSizes before TextureParams structure initialization because
_calcTileSizes can change clamp flags.

Fixed #1317 Smash 64 Graphical Inaccuracies
2017-03-22 20:28:00 +07:00
Sergey Lipskiy
a9bb3a46eb Revert "Correct _calcTileSizes."
This reverts commit 6f35e5a237.
2017-03-22 20:19:55 +07:00
Sergey Lipskiy
8413d57fde Remove hack_ZeldaMM from URenderTarget::update().
Fixed Majora's Mask - No geometry visible with N64 depth compare #1431
2017-03-21 22:30:26 +07:00