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

1498 Commits

Author SHA1 Message Date
purplemarshmallow
b080e86189 [ini] correct settings for Donkey Kong 64 2015-12-14 19:31:04 +01:00
Sergey Lipskiy
aeda4bf410 Add "buffer swap mode" option to GUI. 2015-12-14 21:47:54 +06:00
Sergey Lipskiy
2f4abc2bd9 Rename BufferSwapMode::bsOnVIUpdate to bsOnVerticalInterrupt. 2015-12-14 21:39:09 +06:00
Sergey Lipskiy
7ccb417a29 Remove detectCFB config option. 2015-12-14 21:39:08 +06:00
Sergey Lipskiy
305efd3b47 Correct #define CALL in GLideNUI.h 2015-12-14 21:39:07 +06:00
Sergey Lipskiy
e62e665903 Correct GLideNUI project file to add c++11 support. 2015-12-14 21:39:07 +06:00
Sergey Lipskiy
550999133f Add config option frameBufferEmulation.bufferSwapMode
Remove hack_VIUpdateOnCIChange

Default buffer swap mode is swap buffer on each VI_UpdateScreen() call.
This mode need no hacks for correct buffer update, but it causes gfx overheads.
2015-12-14 21:39:06 +06:00
purplemarshmallow
1466e162f3 remove detectCFB hack
if there is no buffer RDRAM content is displayed. If there's an invalid
buffer the buffer is removed and then RDRAM content is displayed. No
game needs the detectCFB hack anymore. This fixes the transitions in BIO
F.R.E.A.K.S #562 and also #362
2015-12-14 21:39:05 +06:00
Sergey Lipskiy
28d4993968 Fix typo in DepthBuffer.h 2015-11-22 14:28:51 +06:00
Sergey Lipskiy
868b708f71 Force update shader after load from storage.
Fixed Shader Storage Breaks Fog (Ocarina of Time) #775
2015-11-21 22:16:41 +06:00
Sergey Lipskiy
f7ee508c94 Fix texrect texture coordinates calculation for negative dsdx or dtdy.
Fixed 2D in Rocket robot on wheels, #471
2015-11-19 22:57:45 +06:00
purplemarshmallow
84611502c6 copy only modified pixels to RDRAM
0 is used as test color. If pixels are 0 they are not copied. This fixes
the crash in Donkey Kong 64 (E) issue #355
2015-11-19 22:46:08 +06:00
purplemarshmallow
2b95cc4037 fix copying 32bit framebuffers to RDRAM
this fixes issue #348
2015-11-17 16:59:12 +06:00
Sergey Lipskiy
5b4455288b Do not use local freetype installation on Linux. 2015-11-17 16:25:35 +06:00
Sergey Lipskiy
93f659c8af Correct _cutHeight() function.
Fixed detectCFB causes crash in Pokemon Stadium 2 #548
2015-11-15 15:26:03 +06:00
purplemarshmallow
65dda8058e add settings for Pokemon Snap
hack_VIUpdateOnCIChange to fix depth problems and flickering
copyToRDRAM=1 (fb sync) for correct pictures
2015-11-14 14:31:33 +06:00
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
dc3da06a68 as suggested by gonetz buffers are now also copied after the buffer changed in SetColorImage command
now the copy auxiliary option also works if a buffer is used in the
current frame
2015-11-09 21:35:11 +06:00
purplemarshmallow
15611a7731 Copy auxiliary buffers at fullsync
Do not use fingerprint
2015-11-09 21:33:13 +06:00
purplemarshmallow
a8aebe4936 auxiliary buffers are rendered in native resulution if copyAuxiliary option is enabled
This improves quality. No more need to scale down
2015-11-09 21:24:22 +06:00
purplemarshmallow
393e7a6a26 Add support copying auxiliary buffers in mupen64plus settings 2015-11-09 21:14:24 +06:00
purplemarshmallow
d8bc38e26d make CopyToRDRAM compatible with auxiliary buffers 2015-11-09 21:14:24 +06:00
Sergey Lipskiy
1c017ebcb4 Merge pull request #780 from purplemarshmallow/17
remove VI width calculation
2015-11-03 21:28:36 +06:00
Sergey Lipskiy
c926c8cc8d Merge pull request #784 from Gillou68310/force_gamma_correction
Added an option to force gamma correction level
2015-11-02 16:01:57 +06:00
Gillou68310
0b6e4068dc Added an option to force gamma correction level 2015-11-02 10:27:10 +01:00
Sergey Lipskiy
d205b02c2e Merge pull request #782 from gizmo98/getRevision.sh-executable
Make getRevision.sh executable
2015-11-01 17:54:05 +06:00
gizmo98
e36d80bc1c Make getRevision.sh executable 2015-10-31 15:14:10 +00:00
purplemarshmallow
af8f9bbe55 remove VI width calculation
I see no reason why this is needed. REG.VI_WIDTH always has the correct
width. This fixes the pole position minigame in namco museum and the gb
tower in Pokemon Stadium 2 #529. This fixes transition effects in Body
Harvest  #650. This fixes problems with the copy auxiliary option in
Body Harvest and Mario Tennis
2015-10-30 23:47:14 +01:00
Sergey Lipskiy
34fa719a61 Merge pull request #766 from purplemarshmallow/14
add async fb settings
2015-10-19 20:43:56 +06:00
purplemarshmallow
02644151ca add async fb settings
async mode is now default
2015-10-17 18:20:59 +02: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
9a6272c2c3 Merge pull request #757 from sergiobenrocha2/master
Missing -ldl (dlsym).
2015-10-16 23:52:01 +06:00
Sergey Lipskiy
4cea4bf292 Remove unused uTexMask uniform from TextureBlock. 2015-10-13 09:31:22 +06:00
sergiobenrocha2
e772e6ea56 Missing -ldl (dlsym). 2015-10-12 20:01:22 -03:00
Sergey Lipskiy
495e0c7b90 Merge pull request #756 from lioncash/gbi
GBI: Minor cleanup
2015-10-12 20:32:25 +06:00
Sergey Lipskiy
98f5c05ccc Revert "Add check that glGetProgramBinary is available."
Revert wrong and useless change.

This reverts commit 42243d2620.
2015-10-12 20:11:59 +06:00
Sergey Lipskiy
0afa5c4c57 Merge pull request #755 from lioncash/framebuffer
Framebuffer/DepthBuffer: Minor initializer list changes
2015-10-11 22:25:25 +06:00
Sergey Lipskiy
42243d2620 Add check that glGetProgramBinary is available. 2015-10-11 21:58:06 +06:00
Sergey Lipskiy
df0093de43 Up ShaderStorageFormatVersion because of changes in vertex shader. 2015-10-11 21:32:17 +06:00
Sergey Lipskiy
b626e97b40 Rename CombinersCacheFormatVersion constant to ShaderStorageFormatVersion. 2015-10-11 21:28:42 +06:00
Sergey Lipskiy
c6d37ca273 Fix texture coordinates calculation for frame buffer textures:
if texture coordinate wrapping is enabled, manually wrap texture offset by texture mask.

Fixed issue #734
2015-10-11 21:23:21 +06:00
Sergey Lipskiy
a1fb1f2e32 Revert "Don't wrap fb texture coordinates when clamp is on."
This solution is wrong. It causes regression in Mario Tennis, #734

This reverts commit 586af36bfa.
2015-10-11 21:23:14 +06:00
Lioncash
b6c18d2565 FrameBuffer/DepthBuffer: Add missing class members to constructor initializer lists 2015-10-10 14:05:18 -04:00
Lioncash
c98dd06b95 GBI: Move command flushing to a private function
Gets rid of redundancy
2015-10-10 13:40:49 -04:00
Lioncash
b3d0fc9113 GBI: Replace _isDigit with isdigit 2015-10-10 13:34:47 -04:00
Lioncash
b5213567f4 GBI: Move initial microcode search to its own function 2015-10-10 13:32:17 -04:00
Lioncash
41a9969087 FrameBuffer: Correct initialization list order 2015-10-10 12:34:23 -04:00
Sergey Lipskiy
a978fa83ba Fix "Error: selected processor does not support ARM mode `rev16 r3,r3'" 2015-10-10 14:39:50 +06:00
Sergey Lipskiy
7303ce4286 Ask for numBinaryFormats only if GL_NUM_PROGRAM_BINARY_FORMATS defined.
Fixed compilation for GL ES 2.
2015-10-10 14:20:02 +06:00
Sergey Lipskiy
9cff8d2674 Add support for async buffer copy mode in GUI.
copyFrameCheckBox replaced by by radio buttons.
Tooltip text corrected.
2015-10-09 23:08:31 +06:00