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

2384 Commits

Author SHA1 Message Date
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
Sergey Lipskiy
cb1f6e78e3 FrameBufferList::saveBuffer do not create frame buffer if buffer width is too large. 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
7f9a26b881 Correct height to copy in RDRAMtoColorBuffer::copyFromRDRAM. 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
9a17040010 Rewrite PostProcessor buffer initialization. 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
c53bca1e2e Correct vOffset in FrameBufferList::renderBuffer(). 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
7b3e700eed Fix FrameBufferList::renderBuffer() when MSAA enabled. 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
0775d28065 Remove FrameBuffer::m_scaleY 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
b00a593da0 Correct GraphicsDrawer::copyTexturedRect.
Fixed slide effect in BAR
2017-03-16 18:50:15 +07:00
Sergey Lipskiy
cebca46e0a Do not update viewport for rects in GraphicsDrawer::_updateStates 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
9acffe1adc Correct FrameBufferList::renderBuffer()
Fixed screen shrink effect in Mia Hamm Soccer
2017-03-16 18:50:15 +07:00
Sergey Lipskiy
2e00b0ef5a Correct height in _drawYUVImageToFrameBuffer 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
1191b29ea7 Fix buffer height in ColorBufferToRDRAM::_prepareCopy 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
a4edd92ea7 Fix texture allocation for ColorBufferToRDRAM 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
456459be68 Add FrameBuffer::m_isMainBuffer flag. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
a28ca93ada Rewrite FrameBufferList::_findBuffer 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
811dea1d77 Rewrite viewport for polygons with screen coords. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
5f4d03fe21 Rewrite FrameBufferList::renderBuffer() 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
17eb8696ea Correct FrameBuffer::updateEndAddress()
Solved problem with Top Gear Hyper Bike
2017-03-16 18:50:14 +07:00
Sergey Lipskiy
d4617b309a Code cleanup: remove unused variable in GraphicsDrawer::updateScissor 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
e52ad3d726 Use gSP.viewport for clipping bounds. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
4a2f5f7e7f Rewrite buffer height calculation in ColorBufferToRDRAM 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
dd9be4817b Rewrite buffer height calculation in DepthBufferToRDRAM. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
21aa51fcd5 Reduce VI.height use in DepthBuffer 2017-03-16 18:50:14 +07:00