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

2406 Commits

Author SHA1 Message Date
AmbientMalice
0ad54a8887 Update custom settings for Paper Mario/Mario Story 2017-04-05 12:11:42 +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
Sergey Lipskiy
a118a2e3dc Switch Win32 build to xxHash usage. 2017-04-04 21:02:00 +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
baptiste0602
79dca65a5d Update gliden64_fr.ts 2017-03-25 17:41:49 +01: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
Sergey Lipskiy
6f35e5a237 Correct _calcTileSizes.
Fixed #1317 Smash 64 Graphical Inaccuracies
2017-03-20 21:32:41 +07:00
Logan McNaughton
f28240008c Remove Rush 2049 from ini 2017-03-20 07:46:11 -06:00
Víctor "IlDucci
6982810127 Updating Spanish translation 2017-03-20 11:27:50 +07:00
Sergey Lipskiy
0eeba0ec51 Fix ColorBufferToRDRAM::_prepareCopy for 1x native resolution.
Fixed Original N64 Resolution" breaks Majora's Mask (E) #1396
2017-03-19 20:20:05 +07:00
Sergey Lipskiy
f428234787 Remove cached texture if new texture with the same CRC has different dimensions.
Fixed Aidyn Chronicles menu icons enlarged or text cut #1420

Problem description:
I thought that the same texture must always have the same dimensions.
I was wrong. When Aidyn Chronicles menu opens,
menu textures clamp width or clamp height may change during menu opening animation.
CRC remains the same because texture data not changed.

Solution:
Remove cached texture when expected dimensions differ from actual ones and load texture again.
I hope it is a rare case.
2017-03-19 19:18:07 +07:00
Logan McNaughton
d87ad2c3d6 Disable LOD emulation on GLES2 devices that can't support it 2017-03-18 23:05:10 -06:00
Sergey Lipskiy
7d47207d34 Fix viewport Y for negative scale.
Fixed #1426, regression in eiko st andrews
2017-03-18 23:16:07 +07:00
Sergey Lipskiy
c6feb32931 Revert changes in subscreen hack. 2017-03-18 22:16:53 +07:00
Sergey Lipskiy
bce9698958 Correct FrameBuffer::init 2017-03-18 20:09:10 +07:00
gizmo98
637633ae5d arm asm: add MultMatrix2 without memcpy
Unlike the C function of MultMatrix neon asm writes m0 only after
calculation.
2017-03-18 19:49:33 +07:00
gizmo98
6685810faf arm asm: optimize gSP neon
-use vld1.32 to load four d registers at once
2017-03-18 19:49:33 +07:00
gizmo98
08aba13d33 arm asm: optimize neon
-rewrite InverseTransformVectorNormalize
-reorder instructions to get best throughput
-use vld1.32 and vst1.32 to load four d registers at once
2017-03-18 19:49:33 +07:00
Sergey Lipskiy
25031e0220 Code cleanup: class FrameBuffer => struct FrameBuffer 2017-03-18 19:17:31 +07:00
gizmo98
abf9853ee6 Update german translation 2017-03-18 19:14:23 +07:00
Logan McNaughton
c0d4644a22 Fix GL_ARB_compute_shader statement 2017-03-18 19:14:21 +07:00
Francisco Zurita
1a3a41aacb Fix build error in clang due to mis matched types 2017-03-16 12:57:18 -04:00
Sergey Lipskiy
f3482904f7 Do not mirror screen shot image. 2017-03-16 19:07:53 +07:00
Sergey Lipskiy
4ed6495a21 Fix buffer size check in ColorBufferToRDRAM::_prepareCopy 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
21d64691cf Correct chained buffers detection in FrameBufferList::renderBuffer() 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
cd9567b728 Up shader storage version. 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
291500c312 Correct max_height in ColorBufferToRDRAM::_copy 2017-03-16 18:50:15 +07:00