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

72 Commits

Author SHA1 Message Date
purplemarshmallow
142ad0bc3c code refactoring to support async buffer reads
Copy of color buffers is now always done in gDPFullSync. There are no
known disadvantages only advantages. Quake 2 will run faster
2015-11-09 21:54:07 +06:00
purplemarshmallow
15611a7731 Copy auxiliary buffers at fullsync
Do not use fingerprint
2015-11-09 21:33:13 +06:00
purplemarshmallow
c661ace24e Replace RSP.DList by OGLVideo::getBuffersSwapCount()
RSP.DList does not count the dlists, it counts the buffer swaps.
Thus it is replaced by counter in OGLVideo.
2015-10-17 21:20:50 +06:00
Sergey Lipskiy
2483f03159 Add CopyToRDRAM modes to Config: disable, sync, async.
copyToRDRAM option can take 'async' value.
copyDepthToRDRAM is still sync mode only.
2015-10-09 23:08:21 +06:00
Sergey Lipskiy
16136b04e9 Do not set buffer's height to VI.height if it is zero.
WARNING: potentially dangerous!
2015-09-27 10:54:19 +06:00
Sergey Lipskiy
a365afdf7f Correct buffer height detection in gDPSetColorImage:
don't use viewport height in LLE mode, since LLE does not use viewport.
2015-09-27 10:49:21 +06:00
Sergey Lipskiy
bff19580eb Code refactor: CheckForFrameBufferTexture - use fbList variable instead of calls to frameBufferList() 2015-09-26 22:11:31 +06:00
Sergey Lipskiy
c6988bb963 Fig regression with frame/depth buffer copy in HLE mode caused by commit 77f342f. 2015-08-27 19:39:29 +06:00
purplemarshmallow
77f342fc63 fix depth buffer copy in LLE
in LLE it works well for Star Wars Episode I - Racer but for most games
it does not work correctly
2015-07-25 17:32:21 +06:00
purplemarshmallow
dbfbeb1b13 fix copy color to RDRAM in LLE
fixes #554
2015-07-25 17:32:20 +06:00
Sergey Lipskiy
5f42da74cd Correct min_lod load. 2015-06-17 16:02:09 +06:00
Sergey Lipskiy
27149064e0 Correct load to TMEM functions: wrap tmem address in case of overflow.
Necessary for issue #571
2015-06-17 16:02:06 +06:00
Sergey Lipskiy
48959f0702 Revert "Correct coronas emulation in Perfect Dark."
This reverts commit 36fbcd5eac.

Reverted commits causes issues in CBFD. Need another approach.
2015-06-14 22:57:53 +06:00
Sergey Lipskiy
36fbcd5eac Correct coronas emulation in Perfect Dark.
Fixed issue #563.
2015-06-04 22:17:04 +06:00
Sergey Lipskiy
d46ed98804 Fix wrong set of CHANGED_TEXTURE flag. 2015-05-13 10:22:32 +06:00
Sergey Lipskiy
13d53a0dde Set CHANGED_TILE flag in gDPSetTile.
Fixed Banjo Tooie: certain textures change/shift #499
2015-05-13 10:22:31 +06:00
Sergey Lipskiy
0c886e26c3 Limit depth buffer copy to RDRAM with top and bottom bounds of fillrect command.
Fixed regression issues #436 and #437
Issue #330 with Roadsters is fixed too.
2015-05-13 10:21:52 +06:00
Sergey Lipskiy
b205529aec Revert "Don't copy depth buffer to RDRAM if it was not cleared completly."
This commit causes 2 regressions: #436, #437
Better solution needed.

This reverts commit 8b551549e0ca5ece29c5322cb062e8a9bc11e48e.
2015-05-13 10:21:51 +06:00
Sergey Lipskiy
4d87fb6833 Impelent new fb validity check method:
copy RDRAM content to a buffer and compare by content.
2015-05-13 10:21:50 +06:00
Sergey Lipskiy
94a4f7c411 Code cleanup: remove redundant code in gDPLoadBlock 2015-05-13 10:21:48 +06:00
Sergey Lipskiy
b56ca89553 Code cleanup: remove unused TEXTUREMODE_TEXRECT 2015-05-13 10:21:48 +06:00
Sergey Lipskiy
52d68d1389 Move all sources to src folder. 2015-05-13 10:21:32 +06:00