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

2376 Commits

Author SHA1 Message Date
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
Sergey Lipskiy
952769a671 Always call frameBufferList().setBufferChanged in gDPFillRectangle. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
dd11326115 Rewrite buffer height calculation. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
e6811b4d4f Move gDP.colorImage.height update to FrameBufferList::setBufferChanged. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
c8e6644bd7 Use software render to calculate frame buffer height. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
483212f382 Correct special drawers. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
bca21ed071 Invert y coordinate to align image origin with frame origin. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
6b4ae04f5e Rewrite polygons drawing in N64 depth compare mode.
Fixed #1418: Various regressions since PR2.0 with N64 depth compare enabled
2017-03-16 14:56:20 +07:00
Logan McNaughton
07a84a9973 Add missing GLSL extension 2017-03-14 20:25:27 -06:00