degasus
d173d646de
fix last commit by neobrain
2013-02-25 16:11:24 +01:00
NeoBrainX
73a0bdd379
Build fixing.
2013-02-25 12:42:52 +00:00
NeoBrainX
1141af64f6
TextureCacheBase: Do not assume EFB copies can safely be deleted when we think they're "unused".
...
Fixes issue 6040.
2013-02-25 12:36:50 +00:00
Jordan Woyak
6b2804e296
Possible crashfix for OSX.
2013-02-24 22:29:33 -06:00
degasus
c86b892f95
Revert "remove numTexGens=7 hack. only cg wasn't able to handle more then 8 texcoords"
...
This reverts commit 4653adecf1
.
Also dx9 isn't able to hanlde more than 11 varying registers.
More frustrating is the lightning issue by this commit. I don't know why it happens...
2013-02-24 20:51:44 +01:00
skidau
dc98ce5922
Added the addeo instruction to the JIT tables. Fixes Inkub (WiiWare).
2013-02-24 23:05:12 +11:00
skidau
6b28b3929a
Delayed the interrupts in the EXI Channel.
...
Fixes issue 5580.
2013-02-24 21:32:14 +11:00
skidau
40b65fdc04
Merge aram-dma-fixes (r76a13604ef49b522281af75675f044d59a74e871)
2013-02-24 17:10:33 +11:00
Jordan Woyak
52dacaa3e3
Make the posmtx vertex attribute an int instead of converting to and from a float.
2013-02-23 20:54:30 -06:00
skidau
ae566d6b3c
Merge branch 'aram-dma-fixes' into FIFO-BP
...
# By Pierre Bourdon
# Via Pierre Bourdon
* aram-dma-fixes:
Simulate a small delay on GC Memcard operations
2013-02-24 00:11:11 +11:00
Jonathan Jones
ba979582e2
Makes the "No banner" banner image theme-able. Current "sexy X" banner included as part of "Boomy" theme.
...
Fixes issue 6023.
2013-02-22 15:30:07 -05:00
degasus
0a05fcade4
fix glsl compilation error on intel
2013-02-22 12:19:52 +01:00
degasus
d9adc26332
real Star Fox fix
2013-02-22 12:14:39 +01:00
degasus
242d960781
increase buffer size
...
32M UBO, 16M Vertex, 2M Index
2013-02-22 10:25:38 +01:00
Jordan Woyak
86935ab4fd
forceinline IndexGenerator::WriteTriangle
2013-02-22 03:22:20 -06:00
degasus
e270c8b153
fix Star Fox
2013-02-22 09:54:19 +01:00
Jordan Woyak
d3f1bb93f2
Use DataWrite in a few more places.
2013-02-22 02:19:59 -06:00
Jordan Woyak
db1be085c2
VertexManager cleanup
2013-02-22 01:41:52 -06:00
Jordan Woyak
21bd5be753
Buffer size changes.
2013-02-21 23:12:53 -06:00
skidau
d76ca57837
Fixed a JIT timing bug that prevented Eternal Darkness from booting in Single Core mode.
2013-02-22 15:13:49 +11:00
Jordan Woyak
f16dcfe6f6
Remove logic from IndexGenerator which does not seem to match that of Video Software.
2013-02-21 21:02:49 -06:00
Jordan Woyak
368c78dd5c
IndexGenerator cleanup.
2013-02-21 19:11:07 -06:00
degasus
9332775b68
default upload method for nvidia is buffersubdata
2013-02-21 21:59:40 +01:00
Jordan Woyak
677c6229ad
Experimental VertexLoader cleanup!
2013-02-21 14:41:06 -06:00
Jordan Woyak
a92c93f870
Automate some calculations, with templates!
2013-02-21 13:29:05 -06:00
Jordan Woyak
7987d6babb
Use templates for 8+16 bit indexed versions of SSSE3/SSE4 TextCoord reading.
2013-02-21 12:42:09 -06:00
degasus
bed29f843f
fix spelling
2013-02-21 18:29:17 +01:00
degasus
40e17b4cb8
add option for hacked upload and disable it by default
2013-02-21 18:18:44 +01:00
degasus
d0e8217714
remove intel pixel shader hack
...
did not work correctly and made warnings on dx11
2013-02-21 17:44:56 +01:00
degasus
c7f4d6b9ac
wrapper for s_pCurBufferPointer
2013-02-21 13:45:48 +01:00
degasus
4b4dce1bd9
build fix
2013-02-21 13:00:19 +01:00
degasus
76e6085e31
consistently usage of buffer pointers
2013-02-21 12:36:29 +01:00
degasus
a849bb5242
Merge branch 'vertexloader_cleanup' into vertex-loader-cleanup
...
Conflicts:
Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp
2013-02-21 12:18:50 +01:00
degasus
66d0c1c301
small cleanups of s_pCurBufferPointer
2013-02-21 11:45:29 +01:00
degasus
0d33e20026
bbox: replace s_pCurBufferPointer with locale buffer, so it can be read without read from the writeonly buffer
2013-02-21 11:41:14 +01:00
degasus
7a89faf13f
converting the last vertices again instead of copying from buffer on buffer split
...
for mapping, this buffer must be write only, so we cannot copy anthing.
converting again needs more cpu, but should happen rarely
2013-02-21 11:36:10 +01:00
Jordan Woyak
dc776a19a0
Cleanup VertexLoader's Color functions a bit.
2013-02-21 02:49:17 -06:00
Jordan Woyak
660fc12927
Cleanup Position loader functions.
2013-02-21 02:19:06 -06:00
Jordan Woyak
5efdcef34a
No longer have the signed/unsigned hack I guess.
2013-02-21 00:49:47 -06:00
Jordan Woyak
3938d3713b
Fix what I broke.
2013-02-21 00:40:22 -06:00
Jordan Woyak
5b63472ad7
Templatify Normal Loader functions.
2013-02-21 00:10:06 -06:00
Jordan Woyak
5e78f8a176
Templatify TextCord Loader functions.
2013-02-20 20:43:53 -06:00
Jordan Woyak
8f256237a3
Templatify DataReader a bit.
2013-02-20 20:21:25 -06:00
Jordan Woyak
6a13a4e5ed
Add template "swap" function to CommonFuncs.
2013-02-20 20:20:53 -06:00
Jordan Woyak
e9232280c4
Fix OSX!
2013-02-20 17:35:41 -06:00
Jordan Woyak
f3e91bc10d
Hopefully kill a stupid warning on Windows.
2013-02-20 17:30:34 -06:00
Jordan Woyak
e7c93b8ac3
Minor sampler cache cleanup.
2013-02-20 17:15:10 -06:00
Jordan Woyak
b7fae1febb
Fix my DX11 texture-related failure..
...
Fixes issue 6026. (probably)
2013-02-20 14:18:21 -06:00
skidau
36f2082a5f
Made vertex loading take constant time. Fixes a hang in Gladius.
2013-02-20 23:38:25 +11:00
Jordan Woyak
6e6d8af6dd
Revert "Don't load level 0 twice for 1-level textures in DX11." and fix it properly.
...
All backend TextureCaches now load level 0 in CreateTexture.
This reverts commit 294cb165ba
.
2013-02-20 05:42:22 -06:00
Jordan Woyak
eae20b77a8
Remove some unneeded sampler-related calls in BPStructs.
2013-02-20 02:01:54 -06:00
Jordan Woyak
294cb165ba
Don't load level 0 twice for 1-level textures in DX11.
2013-02-19 22:39:28 -06:00
Jordan Woyak
55c2a01744
Check for sampler object support, just to be nice.
2013-02-19 21:24:08 -06:00
Jordan Woyak
f2647a1216
Implement OGL sampler cache. Allows binding a texture multiple times with different parameters. Also possibly gives a very small speed improvement.
2013-02-19 21:18:53 -06:00
degasus
d93e57ff22
revert b5fe39b8c7
"fix texture parameters"
...
these parameters are really floats. I was just wrong
2013-02-19 22:20:39 +01:00
degasus
b5fe39b8c7
fix texture parameters
2013-02-19 17:28:46 +01:00
degasus
50f4bf114e
Revert "map_orphan_and_risk - next try for upload method"
...
This reverts commit 17747fcfb8
.
On orphaning, some gl drivers do heurisitics where to store the buffer.
As the hack may only work on pinned memory, it would be much less deteministic.
2013-02-19 15:51:48 +01:00
degasus
0f2ee45d96
remove ati workaroung for mipmap creation
...
isn't needed any more by merging mapmap_fixes
2013-02-19 15:40:34 +01:00
skidau
351c741906
Merge branch 'master' into FIFO-BP
...
# By Jordan Woyak (9) and others
* master:
Fixed a buffer overflow in the OpenAL buffer.
TextureCache: Fix D3D backends crashing when a game uses multiple 1x1-sized LODs.
WII_IPC_HLE_Device_FileIO: don't rebuild the filename on every operation.
Some cleanup of CWII_IPC_HLE_Device_FileIO: The real file was never kept open for longer than a single operation so there was no point in dealing with it in DoState. Saving the real path in the savestate was also probably a bad idea. Savestates should be a bit more portable now.
Removing destination on rename when source isn't present doesn't make sense. IOCTL_RENAME_FILE still might not be totally correct.
Change some CNANDContentLoader logic to what was probably intended. Kills some warn logs when opening Dolphin.
Let's not CreateDir an empty string every time CreateFullPath is used, logging an error every time.
Fix a memleak. Probably/maybe improve USBGecko performance.
Remove the core count from the cpu info OSD message. It was often wrong and not rather important.
Use omp_get_num_procs to set the number of OpenMP threads rather than our core count detection.
Bulk send TCP data to the client with the emulated USB Gecko.
Added the ability to reverse the direction of the force feedback by allowing negative range values.
Changes/cleanup to TextureCache::Load and other mipmap related code. The significant change is what is now line 520 of TextureCacheBase.cpp: ((std::max(mipWidth, bsw) * std::max(mipHeight, bsh) * bsdepth) >> 1) to TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat);
2013-02-19 23:19:29 +11:00
degasus
17747fcfb8
map_orphan_and_risk - next try for upload method
...
should work around nvidia600 driver issue which will flush gpu on syncing
also increase buffer size by orphaning
2013-02-19 13:18:48 +01:00
skidau
718a1b5ded
Fixed a buffer overflow in the OpenAL buffer.
2013-02-19 23:18:13 +11:00
degasus
fed574d08b
solve merge conflict
2013-02-18 18:55:42 +01:00
degasus
a629dea4dc
Merge branch 'master' into GLSL-master
...
Conflicts:
CMakeLists.txt
Source/Core/DolphinWX/Dolphin.vcxproj
Source/Core/DolphinWX/Src/GLInterface/WX.cpp
Source/Core/DolphinWX/Src/GLInterface/WX.h
Source/Core/VideoCommon/Src/TextureCacheBase.cpp
Source/Core/VideoCommon/Src/TextureCacheBase.h
Source/Plugins/Plugin_VideoDX11/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoDX11/Src/TextureCache.h
Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoDX9/Src/TextureCache.h
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureCache.h
Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
damn mipmap_fixes ...
2013-02-18 18:49:20 +01:00
NeoBrainX
19ab5bf50d
TextureCache: Fix D3D backends crashing when a game uses multiple 1x1-sized LODs.
2013-02-18 17:14:56 +01:00
NeoBrainX
0f617183a8
Add a possible TODO.
...
Dunno if the hardware behaves like this, but it likely does.
2013-02-18 14:54:24 +00:00
degasus
4653adecf1
remove numTexGens=7 hack. only cg wasn't able to handle more then 8 texcoords
2013-02-17 22:37:00 +01:00
degasus
bef24b5c6b
new format for gl extensions
2013-02-17 21:41:00 +01:00
Jordan Woyak
d0ea94a2aa
WII_IPC_HLE_Device_FileIO: don't rebuild the filename on every operation.
2013-02-17 13:52:04 -06:00
Jordan Woyak
fa9aafeed8
Some cleanup of CWII_IPC_HLE_Device_FileIO:
...
The real file was never kept open for longer than a single operation so there was no point in dealing with it in DoState.
Saving the real path in the savestate was also probably a bad idea. Savestates should be a bit more portable now.
2013-02-17 13:37:01 -06:00
Jordan Woyak
0cdd4434b9
Removing destination on rename when source isn't present doesn't make sense.
...
IOCTL_RENAME_FILE still might not be totally correct.
Fixes issue 5440.
2013-02-17 12:51:12 -06:00
Jordan Woyak
bf4be1d8d1
Change some CNANDContentLoader logic to what was probably intended. Kills some warn logs when opening Dolphin.
2013-02-17 01:57:25 -06:00
Jordan Woyak
3330842505
Let's not CreateDir an empty string every time CreateFullPath is used, logging an error every time.
2013-02-17 01:33:22 -06:00
Jordan Woyak
9ac2fbb0a5
Fix a memleak. Probably/maybe improve USBGecko performance.
2013-02-17 00:19:42 -06:00
Jordan Woyak
206fdde933
Remove the core count from the cpu info OSD message. It was often wrong and not rather important.
2013-02-16 23:48:20 -06:00
Jordan Woyak
537d5ea942
Use omp_get_num_procs to set the number of OpenMP threads rather than our core count detection.
2013-02-16 23:48:20 -06:00
skidau
123035a192
Bulk send TCP data to the client with the emulated USB Gecko.
...
Fixes issue 6006.
2013-02-17 15:27:15 +11:00
skidau
1792a9d27b
Added the ability to reverse the direction of the force feedback by allowing negative range values.
...
Fixes issue 5981.
2013-02-17 15:03:10 +11:00
Jordan Woyak
53aec6c476
Fix OGL perf queries and make them not slow!
2013-02-16 19:30:24 -06:00
skidau
0e2c3f3483
Increased the cycle time of the vertex command. Fixes "Speed Challenge: Jacques Villeneuve's Racing Vision".
2013-02-16 22:54:10 +11:00
skidau
45efced280
Moved the setting of the Finish interrupt signal back to the main thread as it was causing Wii games like Resident Evil 4 (Wii) to hang.
2013-02-16 18:30:20 +11:00
Jordan Woyak
d994e56b60
Changes/cleanup to TextureCache::Load and other mipmap related code.
...
The significant change is what is now line 520 of TextureCacheBase.cpp:
((std::max(mipWidth, bsw) * std::max(mipHeight, bsh) * bsdepth) >> 1)
to
TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat);
Fixes issue 5328.
Fixes issue 5461.
2013-02-15 22:56:29 -06:00
skidau
0c882cca66
Profile stores, fp stores and ps stores only to the fifo write addresses list. This should make the JIT a little faster as it will not be checking for external exceptions unnecessarily.
2013-02-16 13:54:58 +11:00
skidau
9bff8e00c8
Added preliminary support to synchronise the timing of the CPU and GPU threads. A new option has been added to the game properties for this purpose. This option may help with random freezes in Dual Core mode.
...
Fixes Gladius and Baten Kaitos: Eternal Wings and the Lost Ocean
Fixes issue 5150.
2013-02-16 12:51:09 +11:00
skidau
51795d8811
Merge branch 'master' into FIFO-BP
...
# By Jordan Woyak (24) and others
# Via Jordan Woyak (3) and others
* master: (66 commits)
Reduce some DI command delays. Fix DKCR hanging with DSP HLE. My other games continue to work.
Video_Software: Fix ZComploc option breaking stuff.
Video_Software: Fix the ZFreeze option doing nothing.
Video_Software: Toggable zfreeze and early_z support for testing.
Fix header guard and definitions not being set to 1
Add the option to turn on only the EGL interface to use desktop OpenGL with it.
Change the ugly "no banner" banner to the sexy "X" from the website.
Fix a crash in the FifoPlayer dialog.
Use different reply delays for various DI commands. Fixes issue 5983.
Revert "[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary."
Fix some potential issues when blending on EFB formats without alpha. Clean up state transition tables.
Disable play and record buttons if an iso was selected, but is later deselected.
Disable start/play recording buttons when no iso is selected.
Only delay DI and fs IPC replies. Fixes issue 5982.
Fix compilation with SDL2. (based on a patch from matthewharveys) Fixes issue 5971.
"Fix" using SDL from externals.
Clean up SDL includes a bit. Maybe fix an SDL2 problem.
Number "unknown" axes in OSX rather than call them all "unk".
Revert "Only delay DI command replies." Fix "Wii Party" again.
Hopefully make wiimote speaker less crappy.
...
2013-02-16 11:10:03 +11:00
Jordan Woyak
5a3435255b
Reduce some DI command delays. Fix DKCR hanging with DSP HLE. My other games continue to work.
2013-02-15 16:02:38 -06:00
NeoBrainX
6fd96a162f
Video_Software: Fix ZComploc option breaking stuff.
2013-02-15 17:55:16 +01:00
NeoBrainX
fb0102d441
Video_Software: Fix the ZFreeze option doing nothing.
2013-02-15 17:47:29 +01:00
NeoBrainX
183ad0c628
Video_Software: Toggable zfreeze and early_z support for testing.
2013-02-15 17:45:33 +01:00
degasus
334bd52f2c
NaNs handling in pixel shader
2013-02-15 15:46:31 +01:00
degasus
e259343275
fix efb copy shaders
2013-02-15 13:13:45 +01:00
Jordan Woyak
ef90b15f3e
Provide an option to not send speaker data. It can cause rumble lag even when the speaker is muted.
2013-02-15 03:00:31 -06:00
Jordan Woyak
1f20a24a04
Minor changes.
2013-02-14 21:02:41 -06:00
Jordan Woyak
891de52769
Don't need to hang dolphin when searching for wiimote with the refresh button.
...
This code is getting pretty ugly. :/
2013-02-14 19:04:34 -06:00
Jordan Woyak
cda88a8c1e
Random improvements.
2013-02-14 18:43:11 -06:00
Jordan Woyak
306e6b1d80
Turn off continuous scanning by default.
2013-02-14 18:43:11 -06:00
degasus
9f4a616f2e
build fix
2013-02-14 19:04:52 +01:00
degasus
a0ef58418b
workaround for buggy intel windows driver. revert this as soon as there are newer driver
2013-02-14 18:59:45 +01:00
degasus
0325e37bfb
merge glsl headers into one place
2013-02-13 21:34:48 +01:00
Jordan Woyak
e57ff06130
Futile attempts at fixing Windows.
2013-02-13 14:00:15 -06:00
degasus
3392562501
rewrite efb copy shader, copied from dx11
2013-02-13 18:01:06 +01:00
degasus
21b83b436c
create shader cache directoy
2013-02-13 16:50:56 +01:00
degasus
b3675d15dc
enable shader cache again
2013-02-13 16:30:15 +01:00
degasus
398b37f371
fix ValidateShaderIDs
2013-02-13 15:16:32 +01:00
degasus
bbc292c210
merge Vertex and PixelShaderCache into ProgramShaderCache
...
this is the first step, uniform handling is still missing
2013-02-13 13:12:19 +01:00
Jordan Woyak
77381a1af2
Futile attempts at fixing OS X.
2013-02-12 21:37:47 -06:00
Jordan Woyak
7f305ba822
Fix sloppy connection logic.
2013-02-12 18:59:45 -06:00
Jordan Woyak
12674b3164
Possibly improve real wiimotes on Windows.
2013-02-12 17:01:51 -06:00
Ryan Houdek
818a376bd4
Fix header guard and definitions not being set to 1
2013-02-12 14:11:29 -06:00
Jordan Woyak
1e64c38998
Clean up SDL includes a bit. Maybe fix an SDL2 problem.
...
Conflicts:
Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
2013-02-12 14:02:43 -06:00
Jordan Woyak
46f94203b7
Fix compilation with SDL2. (based on a patch from matthewharveys)
...
Fixes issue 5971.
Conflicts:
Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
2013-02-12 14:00:51 -06:00
Jordan Woyak
da53ca8ee3
"Wait for the wiimote to connect"? I think that's a horrible idea.
2013-02-12 00:19:27 -06:00
Jordan Woyak
a6461ca186
Improve wiimote reconnection on changing wiimote sources.
2013-02-11 23:39:04 -06:00
Jordan Woyak
fa10335c55
Make continuous scanning optional.
2013-02-11 17:58:56 -06:00
Jordan Woyak
f3d25f2cb0
OSX buildfix!
2013-02-11 16:07:01 -06:00
Jordan Woyak
0fb7f65e04
Problems on Windows? Just SLEEP twice as long!
2013-02-11 15:58:23 -06:00
Jordan Woyak
c2d2fb8c7c
Try to improve real wiimotes on Windows.
2013-02-11 15:21:58 -06:00
Ryan Houdek
8923f0e13b
Fix header guard and definitions not being set to 1
2013-02-11 15:06:40 -06:00
Jordan Woyak
b8fd5c0c30
Fix Windows for real!
2013-02-11 05:57:55 -06:00
Jordan Woyak
c267be2682
Hopefully fix windows!
2013-02-11 05:30:51 -06:00
Jordan Woyak
7a053d0f07
buildfix!
2013-02-11 03:50:54 -06:00
Jordan Woyak
05ec90488b
Make real wiimotes not so crappy on Windows hopefully.
2013-02-11 03:39:09 -06:00
skidau
f26650e55b
Removed the updating of PC in the Cleanup function. This was causing Metroid Prime to hang.
2013-02-11 08:42:16 +11:00
skidau
17c4fcfd90
Removed the updating of PC in GenQuantizedStores() as the generated code is static.
2013-02-10 18:40:50 +11:00
skidau
0cafc33eda
Moved the token update to the CPU thread.
2013-02-10 18:24:30 +11:00
skidau
056930cac8
Updated PC on a few memory writes that were missed in the FifoBusy branch. Thanks to hk.konpie for the tip.
...
Fixes issue 5993.
2013-02-10 13:33:56 +11:00
Jordan Woyak
1c64b1993d
Change the ugly "no banner" banner to the sexy "X" from the website.
2013-02-09 17:04:41 -06:00
NeoBrainX
6645bd6fc6
Fix a crash in the FifoPlayer dialog.
2013-02-09 12:39:19 +01:00
skidau
5f672baca3
Used Atomic functions to update variables shared between the CPU and GPU threads.
...
Changed the variables from bool to u32 to match the atomic functions.
2013-02-09 17:46:48 +11:00
Jordan Woyak
50c83d614c
More attempts at fixing Windows and OS X.
2013-02-08 21:20:54 -06:00
Jordan Woyak
9bb9286cd3
OSX buildfix!
2013-02-08 16:59:59 -06:00
Jordan Woyak
1f1b4a6992
Hopefully make real wiimotes on OSX less crashy.
2013-02-08 16:54:48 -06:00
Jordan Woyak
a11827cdf0
Use different reply delays for various DI commands.
...
Fixes issue 5983.
2013-02-08 16:27:14 -06:00
Jordan Woyak
1998da867b
OSX fix maybe. (based on jchadwick's patch)
2013-02-08 12:33:45 -06:00
Jordan Woyak
8ce58759e3
Remove some old nonsense.
2013-02-07 23:52:50 -06:00
Jordan Woyak
87bbdbf542
Remove settings stuff that was not actually used anywhere.
2013-02-07 23:23:32 -06:00
Jordan Woyak
026793fa4a
Fixup real wiimote GUI.
2013-02-07 23:17:51 -06:00
Jordan Woyak
3063942dd0
some cleanup
2013-02-07 21:54:23 -06:00
Jordan Woyak
c4df69a342
Merge branch 'master' into real-wiimote-scanning
...
Conflicts:
Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp
Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp
2013-02-07 20:22:06 -06:00
Jordan Woyak
a2ca76ebd9
Buildfix.
2013-02-07 15:16:41 -06:00
Jordan Woyak
57ea09dcc2
Fix BT-less!
2013-02-07 14:46:01 -06:00
NeoBrainX
95d08db46f
Revert "[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary."
...
This reverts commit 6c8a22de24
.
2013-02-07 21:45:06 +01:00
Jordan Woyak
9ecfb5e75d
Buildfix for real!
2013-02-07 14:42:50 -06:00
Jordan Woyak
85f25ded4c
Buildfix!
...
Programming for Windows on Linux is hard, OK?
2013-02-07 14:22:45 -06:00
Jordan Woyak
8f5fb7e6f9
Hopefully buildfix Windows. (thanks for the patch, RachelB)
2013-02-07 14:15:47 -06:00
NeoBrainX
ed0abc9dc5
Merge branch 'mipmap_fixes'.
2013-02-07 20:40:33 +01:00
NeoBrainX
6870c1fdd5
Fix some potential issues when blending on EFB formats without alpha.
...
Clean up state transition tables.
2013-02-07 18:01:24 +01:00
degasus
10567cb23f
always write to uv coords
2013-02-07 13:23:20 +01:00
degasus
f079b04a5d
also check for glsl errors on linking, activation GLSL_DEBUG again (slowdown on shader compilation)
2013-02-07 12:47:41 +01:00
degasus
9987765b1f
build fix
2013-02-07 10:48:42 +01:00
degasus
376a807dea
first try of osx fix, mostly by pauldachz
2013-02-07 10:34:29 +01:00
Rachel Bryk
0ebe35e0ef
Disable play and record buttons if an iso was selected, but is later deselected.
2013-02-07 00:31:57 -05:00
Rachel Bryk
6bc9e7579c
Disable start/play recording buttons when no iso is selected.
2013-02-06 20:56:07 -05:00
degasus
dae1226e1b
workaround for division by zero on fog calculation
2013-02-07 02:21:30 +01:00
Jordan Woyak
9cbfddd788
Only delay DI and fs IPC replies.
...
Fixes issue 5982.
2013-02-06 16:52:51 -06:00
Jordan Woyak
ef9d7fb789
Fix compilation with SDL2. (based on a patch from matthewharveys)
...
Fixes issue 5971.
2013-02-05 21:08:52 -06:00
degasus
e7a8d3f854
check for GL_ARB_sync, it's in ogl 3.2
2013-02-06 01:05:19 +01:00
Jordan Woyak
708fed92c8
Clean up SDL includes a bit. Maybe fix an SDL2 problem.
2013-02-05 15:34:23 -06:00
Jordan Woyak
f506783c37
Number "unknown" axes in OSX rather than call them all "unk".
2013-02-05 13:51:08 -06:00
degasus
ef602fd643
workaround for glGetUniformLocation in efb2ram
2013-02-05 18:22:23 +01:00
degasus
76adc77fa6
bigger buffers
2013-02-05 18:01:27 +01:00
Jordan Woyak
937d9e9007
Revert "Only delay DI command replies."
...
Fix "Wii Party" again.
This reverts commit fb5b5e8b63
.
2013-02-05 02:51:34 -06:00
Jordan Woyak
d0190faded
Hopefully make wiimote speaker less crappy.
2013-02-04 22:11:13 -06:00
Jordan Woyak
bc35764ec2
Fixed issue 5973. (probably)
2013-02-04 21:25:14 -06:00
Jordan Woyak
a455abe00b
Merge branch 'more-ipc-hle-hacks'
...
Fixes issue 5972.
2013-02-04 21:01:46 -06:00
Jordan Woyak
d5ec631337
Make real wiimote speaker not cause massive input delays.
...
Fixes issue 5966.
2013-02-04 20:57:08 -06:00
Jordan Woyak
fb5b5e8b63
Only delay DI command replies.
2013-02-04 19:39:31 -06:00
degasus
1d86dafbe2
evil hack: map the buffer once and use this pointer after unmaping
...
This isn't allowed by gl and may _only_ work, if the driver uses cpu bound buffer.
But it may speed up :-)
2013-02-05 00:53:14 +01:00
Jordan Woyak
2ad30958d6
Stuck an IPC HLE Update call in WII_IPCInterface::Write32.
...
While hacky, this seems to fix various problems without increasing IPC HLE freq to infinity.
Thanks to Aristar for helping test.
Increase IPC command reply delay to 1/100th of a second. (fixes DKCR hanging)
2013-02-04 17:41:10 -06:00
degasus
f677b8cba3
update to glew1.9, win binaries also from official release
2013-02-04 21:11:12 +01:00
degasus
2108529120
also align the size of buffers for pinned memory
2013-02-04 20:48:28 +01:00
skidau
2c8c8db731
Used AtomicStore to write to the signal interrupts.
2013-02-03 23:52:18 +11:00
skidau
03d9cca2fe
Added a script to copy the OpenAL dll's to the main Dolphin folder on new builds.
2013-02-03 19:02:46 +11:00
skidau
9a4e9da7c2
Set the token and finish interrupt signal from the video thread. This fixes the inconsistent state caused by lag from the scheduler. Fixes Rayman 3: Hoodlum Havoc and Shamu's Deep Sea Adventures.
...
Fixes issue 5401.
Fixes issue 5589.
2013-02-03 18:05:46 +11:00
Jordan Woyak
ca46a34dde
Merge branch 'ipc-hle-hacks'
...
Thanks skid_au for testing and helping think of the solution!
Fixes Issue 4608.
Fixes Issue 5050.
Fixes Issue 5103.
2013-02-02 12:54:22 -06:00
Jordan Woyak
e3c6c6dd69
Increase IPC HLE freq a bit for DKCR.
2013-02-02 12:52:12 -06:00
degasus
6e0b0192a8
correct spelling of align
2013-02-02 19:39:26 +01:00
degasus
0c7aa4ff4f
build fix
2013-02-02 19:32:40 +01:00
degasus
6e20af9ee9
align memory, use pinned memory if available
2013-02-02 19:26:29 +01:00
Jordan Woyak
5c08df00b2
Re-increase max ACL queue size to 100. Better than possibly dropping a packet.
...
Reduced IPC update freq some.
Removed some other nonsense.
2013-02-02 03:55:33 -06:00
skidau
867bfaa696
Changed cmdidle to match the isGpuReadingData flag. Fixes the random freezes in The Last Story.
2013-02-02 20:50:40 +11:00
Jordan Woyak
286392af9d
Reduce ACL max queue size back to 10. Increase IPC_HLE freq to 8 KHz to compensate.
2013-02-01 23:44:17 -06:00
Jordan Woyak
15936cb995
Change copy_n to copy and update the save state version because I forgot.
2013-02-01 23:27:49 -06:00
Jordan Woyak
11a4c92325
Remove "Alternate Wiimote Timing" option. It's no longer needed.
...
Also kill some irrelevant comments.
2013-02-01 21:39:01 -06:00
Jordan Woyak
00a1f351e9
Delay IPC replies directly caused by requests by 150th of a second. Fixes everything.
2013-02-01 20:58:17 -06:00
Jordan Woyak
039bf27767
Allow Rhythm Heaven Fever's "Remix 1" to work by disallowing a simultaneous "Ack" and "Reply".
2013-02-01 19:01:47 -06:00
Jordan Woyak
e4588e2dfc
Workaround ACL overflow issues by not dropping packets until buffer reaches size of 100.
...
It seems to work without causing input delays or anything bad.
2013-02-01 19:00:10 -06:00
degasus
f0795bad12
fix glew fix
2013-02-01 17:12:05 +01:00
degasus
cb4cb1713d
workaround older glew versions
2013-02-01 17:09:50 +01:00
degasus
2a1f592d82
first try for pinned memory, complete untested
2013-02-01 17:04:27 +01:00
degasus
3bf4ffe7fa
usable sync of ringbuffer
2013-02-01 16:43:08 +01:00
degasus
3af9840a4c
stream by map and sync
...
but not working perfectly, so disabled
2013-02-01 15:15:25 +01:00
degasus
878bd7f26c
implement streaming by bufferSubData, split upload and allocation in ringbuffer
2013-02-01 12:30:08 +01:00
degasus
30170575c8
create StreamBuffer class for ogl upload
2013-01-31 23:11:53 +01:00
Glenn Rice
f7fa33f2d6
Fix remaining compiler warnings.
2013-01-31 15:29:29 -06:00
degasus
011e326698
remove glIsEnabled(GL_BLEND), we do restore state after it, so it doesn't matter
2013-01-31 13:49:20 +01:00
degasus
4a463f4588
also add glBufferSubData for ubo upload
...
so osx start game, but everything is black
2013-01-31 13:00:15 +01:00
degasus
c05f66bdd0
first try for osx core profile
...
now it doesn't crash, but it still hangs on startup
2013-01-31 12:20:17 +01:00
degasus
01d8c21e1d
don't stream in rasterfont
...
mapping blocks on nvidia workstation, so use glBufferData
2013-01-31 11:30:44 +01:00
Rachel Bryk
e199d21513
Revert "Toggle full screen when double clicking the render window."
...
This reverts commit de27f0bea9
.
2013-01-31 03:54:18 -05:00
Rachel Bryk
de27f0bea9
Toggle full screen when double clicking the render window.
2013-01-31 03:51:29 -05:00
Glenn Rice
0ffdd2607f
Fix the majority of the compiler warnings unearthed by the addition of
...
the new warning flags.
2013-01-29 23:24:51 -06:00
Jordan Woyak
0e04e0c305
Fix some shadowing warnings.
2013-01-29 16:43:22 -06:00
Sonicadvance1
f13a07fb82
Remove this double flush in the idleskipping code.
2013-01-29 21:05:42 +00:00
skidau
2ab1cccbe4
Preset HBeamPos to -1. Fixes NTSC-U N64 VC games.
...
Fixes issue 5950.
2013-01-29 22:43:56 +11:00
Ryan Houdek
afb5be10d9
OSX likes to put unordered_map in the weirdest of places...
2013-01-28 15:36:55 -06:00
Ryan Houdek
fa45403557
Got to love that my server's cmake is half retarded.
2013-01-28 15:32:38 -06:00
Ryan Houdek
d94f3c4155
Stop using std::pair and std::map. Switch over to u64 and std::unordered_map. Provides a very small speed boost.
2013-01-28 15:18:54 -06:00
degasus
c5fa3e0f3d
move RestoreAPIState and ResetAPIState into backends
...
it's a backend specific hack, so it should be here
should give a small speedup in dx11 efb2tex
2013-01-28 18:16:03 +01:00
degasus
fd06342a97
set hint GL_STREAM_READ
...
it's wrong, but so we are guaranteed to get pinned memory.
it's slower for rendering, but faster for mapping.
2013-01-28 13:03:31 +01:00
Ryan Houdek
4fadb65259
Only check shader compilation status in debug or with DEBUG_GLSL defined. invalidate range on bindbufferrange since we don't care about what is in the range. Both give a performance boost for me.
2013-01-26 11:24:24 -06:00
degasus
3a52b37c3b
only create shaders after shadercaches are initialized
2013-01-26 16:33:54 +01:00
Lioncash
efe8c75424
Duplicate condition fix.
...
Thanks j4ck.fr0st
2013-01-25 21:30:29 -05:00
Rachel Bryk
1e006b5b99
Better implementation of revision 2cc1a97a66
. Works with .gcz files now.
2013-01-25 21:28:04 -05:00
Glenn Rice
f660077d06
Remove deprecated method for accessing a gtk widgets window.
...
Fix a debug build compiler warning.
2013-01-25 20:11:17 -06:00
degasus
13e9bb56f8
fix bug when rasterfont disappears sometimes
2013-01-25 20:39:19 +01:00
Rachel Bryk
74a5ad542b
Do not automatically refresh the game list for games that have "Emulation issues" written in their gameini after we open/close the iso properties.
...
Fixes issue 5932.
2013-01-25 13:00:53 -05:00
degasus
41b1128fdd
orphan vbo also with glBufferData
2013-01-25 13:28:05 +01:00
degasus
a526fc5f92
ubo streaming
2013-01-25 13:20:42 +01:00
skidau
1b6240f7f9
Changed cmdidle to be idle on breakpoint.
...
Added low watermark interrupts generated by the gather pipe.
Fixes Gladius from not booting.
Fixes issue 5518.
2013-01-25 20:04:31 +11:00
Rachel Bryk
2cc1a97a66
Properly sort multi-disc games by title.
2013-01-25 03:08:28 -05:00
Ryan Houdek
10418d449f
Removed the need for this temporary variable.
2013-01-24 10:53:37 -06:00
Ryan Houdek
52ead25534
Cleans up EGL. Removes printf output with INFO_LOG and ERROR_LOG
2013-01-24 10:39:38 -06:00
Ryan Houdek
73eb98ed8e
Move swap control to the host specific GLInterface files.
2013-01-24 10:31:08 -06:00
degasus
e0ffdda26e
Merge branch 'immediate-removal' into GLSL-master
...
Conflicts:
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
Source/Plugins/Plugin_VideoSoftware/Src/SWRenderer.cpp
immediate-removal is a new created branch seperated from master but reverted the revert of immediate-removal
so we get less conflicts by merging
2013-01-24 16:58:28 +01:00
degasus
d60cc373d1
Revert "Revert 30dd9c2
e9d00bf
db5f4c8
and bff0fae"
...
This reverts commit d0301ca89d
.
Conflicts:
.gitignore
2013-01-24 16:11:07 +01:00
lioncash
2db0c4270e
Fix a potential memory leak on non-windows systems.
...
Also added a FIXME to BPStructs.cpp and BPMemLoader.cpp
2013-01-24 08:21:08 -05:00
degasus
f69b6b595e
change projection_type to u32
...
Fix issue 5740
thx @ erwan_taf for debuging all the week
2013-01-24 13:10:13 +01:00
Lioncash
fe7e691d77
Revert "mem_fun -> mem_fn."
...
This reverts commit b7d32b0a3d
.
OSX C++ std library in charge of holding back progress (as usual).
2013-01-23 23:38:49 -05:00
Lioncash
b7d32b0a3d
mem_fun -> mem_fn.
...
mem_fun is deprecated in C++11. Also it does everything mem_fun can do, but more conveniently.
2013-01-23 23:29:50 -05:00
skidau
cff8fe8f77
Revert the fix for the random static audio that would sometimes occur in DSP HLE and DSP LLE. The fix caused the music in Fast - Racing League to play random sounds.
...
This reverts commit r7bf72a6c8476798ecbb9cdb13ec3a8f0b9858da6.
Fixes issue 5910.
2013-01-22 21:17:29 +11:00
degasus
d5748ebaef
fix small dx9 slowdown
2013-01-22 10:49:46 +01:00
degasus
6afc30240a
partial revert of 8a6f747408
...
texture_rect isn't in core 3.0, so the long texture function must be used
2013-01-22 00:18:42 +01:00
Sonicadvance1
0ba1794df3
Fix AGL.cpp
2013-01-21 21:48:02 +00:00
degasus
da0ec6618f
always init ogl configs
2013-01-21 18:44:33 +01:00
degasus
cf11f0ea72
clear uniform cache on startup
2013-01-21 15:43:04 +01:00
degasus
ebaaf6d468
glShadeModel is also obsolete
2013-01-21 10:37:16 +01:00
Lioncash
2bae4345c5
Revert "Ctrl+A support in the action replay code editing menu."
...
Guess it wasnt much of a solution as I'd hoped. (considering it seems to work on linux without this).
This reverts commit 0c1ea605d5
.
2013-01-21 00:11:53 -05:00
Lioncash
0c1ea605d5
Ctrl+A support in the action replay code editing menu.
...
Makes adding/editing codes less of a pain in the ass. You don't need to manually highlight everything anymore.
2013-01-20 23:24:56 -05:00
Rachel Bryk
45a7fa293b
Set the default memory card path as relative too.
2013-01-20 19:16:02 -05:00
Rachel Bryk
83237a36e0
Save memory card paths relative to exe directory.
2013-01-20 18:47:59 -05:00
skidau
4cc4abfe25
Preset the HBeam and VBeam to 0 on boot. Fixes Densha de Go Shinkansen EX.
...
Fixes issue 4882.
2013-01-20 16:11:15 +11:00
skidau
0a5f479250
Added a game property to disable the clearing of the data cache. This is needed by one known game, "Rubik's Puzzle Galaxy: Rush".
...
Fixes Violin Paradise.
2013-01-20 13:09:38 +11:00
Jordan Woyak
6ec95d30af
Allow emulated wiimote to be tilted 180 degrees in each direction. (was 90)
...
Fixes issue 3492.
2013-01-19 19:20:04 -06:00
Rachel Bryk
7f8341825b
Remove lttc for lle on thread too.
2013-01-19 17:17:28 -05:00
NeoBrainX
6c0f6ffecf
Fix a dumb regression from revision 4925a28f94
.
2013-01-19 22:40:20 +01:00
NeoBrainX
37af25e03d
Revert my dual-core fix for FifoPlayer. Apparently it breaks more than it fixes.
...
This reverts commit bab9b5d3ce
.
2013-01-19 22:36:05 +01:00
Rachel Bryk
01d393ed6c
Actually remove lttc.
2013-01-19 15:21:00 -05:00
Rachel Bryk
d6cee44be0
Typo fix.
2013-01-19 15:08:29 -05:00
Rachel Bryk
ed1a9480b0
Misc movie fixes.
...
Fix setting memory cards on playback.
Fix saving revision to header.
Herpa derp lets open a file while it's still open in another function, and not even check if it fails to load.
Fix an assumption that wii games are using a wiimote.
2013-01-19 15:02:02 -05:00
Pierre Bourdon
905d38827e
Implement 8 bit loads backpatching
2013-01-19 16:52:13 +01:00