Commit graph

1742 commits

Author SHA1 Message Date
hrydgard
29808cdde2 OpenGL: commit rodolfoosvaldobogado's (what a name!) speedup patches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4322 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26 12:39:12 +00:00
Sonicadvance1
804b9e99f8 Add CoreAudio Backend, still needs a bit of work. Will cleanup AudioCommon.cpp, and finish off CoreAudioStream.cpp if I ever get running games working in Snow Leopard. Interpreter seems to run in to a spinlock, dunno why yet, and Jit just crashes out. Core problems is probably something I won't be able to fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4316 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 21:35:06 +00:00
nakeee
578fc8d54a Fix compile on linux
and add png version of the flag and platform xpms


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4315 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 21:00:24 +00:00
XTra.KrazzY
ebfceb16b9 Some leftover work from unfinished DX9 Access EFB. In DSP HLE, 0x0004,7,b,c are almost done, all that's left to do is resample from 0x50 to _Size.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4313 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 13:52:45 +00:00
rice1964
194d44d08e D3D, back off the buffer flipping change by r4303. It works for certain games (Zack & wiki, Rayman3, etc), but seems to break other games (Metroid prime 1 complete black) and features (frame skipping).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4306 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-20 13:00:25 +00:00
rice1964
f9d1354c29 D3D: code clean up, nothing special.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4305 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-20 05:04:45 +00:00
rice1964
81e7ce9ad2 D3D: get rid of flickering in various games by changing way and time to flip backbuffer to frontbuffer. Also added some debugging messages. ZTP intro seems to be additionally 10%+ faster now, maybe only for me in windows mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4303 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-20 03:29:43 +00:00
hrydgard
7a8f6bdd6d D3D various: "Safe texture cache" option, texture replace instead of destroy/create when possible, a commented out "optimization" that didn't speed things up (use DrawPrimitive instead of DrawIndexedPrimitive when possible), reduce code duplication in Flush(), don't periodically clean out the shader caches since it's not really beneficial - shaders are cheap to keep. some code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4302 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-19 13:14:55 +00:00
hrydgard
dae1a68bfc D3D: minor vs constant-setting optimization, remove a stupid memcpy that doesn't do anything, don't see much benefit though :/ At least the PIX logs will be cleaner.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4301 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-19 10:46:25 +00:00
Sonicadvance1
0d9543030b Missed some stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4300 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 20:04:54 +00:00
Sonicadvance1
ced92d8544 Fix compiling in Snow Leopard, the Update stuff in the Video plugin shouldn't be in the GUI since it breaks nowx builds, wasn't sure where to put it, but Render.cpp seemed like the best place. Fixed wiiuse.c, and the SConscripts needed updating for Snow Leopard. Building 32bit in Snow Leopard is apparently broken. and Running 64bit in Snow Leopard seems to fail. Haven't tracked this down yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4299 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 19:56:49 +00:00
rice1964
2bd989d4c8 D3D: More not very interesting debugger fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4298 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 03:12:32 +00:00
rice1964
8b4839a4f4 D3D: some changes about debugger, not useful for anyone else, and should not affact anything. So not very interesting, just get ready to do some debugging.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4297 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 02:03:56 +00:00
XTra.KrazzY
47a1d2da9c DSP HLE: External ops oops (thanks, lordmark)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4294 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 00:12:10 +00:00
XTra.KrazzY
eb8ddbf3e5 A basic, un-resampled version of Zelda UCode cases 0x4,7,b,c. These are used a lot in Pikmin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4293 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 22:53:36 +00:00
XTra.KrazzY
0ebb7376c8 More WaveTable (ucode case 0x4,0x7,0xb,0xc) work (thanks for noticing they're the same, LordMark!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4292 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 12:09:10 +00:00
LPFaint99
dbf68d9b0d PadSimple: move DInput init to new function OnShow (called every time dialog is shown instead of just once in the constructor)
fixes issue 1341.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4291 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 08:17:31 +00:00
LPFaint99
8beeaff896 WIIMENU:move call to filemon to verify that std::string(null) is not called
fixes issue 1421.
D3D: fullscreen use 640x480 if ini setting is invalid
Externals/Memcard Manager: fix build since change to lib files for wx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4290 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 05:57:38 +00:00
LPFaint99
43021a8a1e D3D: actually use the resolution setting for fullscreen mode
(really dumb mistake of mine, due to lack of sleep :p)
fixes issue 1426.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4289 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 05:07:16 +00:00
hrydgard
2eece4c2f4 D3D: Fix render states on reset (resize). Add detection of INTZ texture format (undocumented, but both nVidia and AMD aupport it). Not sure if we'll actually use it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4286 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16 20:12:14 +00:00
rice1964
f7e15ec7f2 Fix some shader problems caused by my previous commits to reduce API calls (back screen after a while in Zelda WW intro, maybe also in other games).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4283 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16 05:31:19 +00:00
hrydgard
20922cf3f0 D3D: More reset fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4282 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:49:15 +00:00
hrydgard
3117bde5fb just code indentation
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4280 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:25:34 +00:00
hrydgard
ef6e574ea1 D3D: Handle device resets (resizes) a little bit better .. not quite there yet. some random cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4279 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:05:31 +00:00
hrydgard
e0baa817e4 D3D: Switch color render target to a texture. Should not have any visible effects - if this causes slowdown compared to the previous revision right before this one, let me know in the comments. This is a prerequisite to do postprocessing, and also things like copy-efb-to-ram.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4278 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 20:18:25 +00:00
hrydgard
dc4f712f74 D3D: Save some video RAM by turning off the "default" Z buffer (we create our own). probably doesn't matter on most video cards..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4277 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 19:53:22 +00:00
hrydgard
adbfea0a09 Unbreak the D3D plugin in case of bad/old resolution settings in the .ini file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4275 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 18:00:16 +00:00
LPFaint99
ca7a5b36dc only load gameini settings if they exist
change D3D to use char[] for resolution settings in ini
warning fixes for FrameAui.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4273 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 08:13:45 +00:00
Shawn Hoffman
65b6b15c6e normalize wiimote logging: no more crazy newlines, plugin logs to...wiimote plugin log, ipc wiimote stuff logs to...WII_IPC_WIIMOTE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4270 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 02:12:55 +00:00
Shawn Hoffman
a08c801256 psyjoe's patch to shader compilation. ector/some "shader person" check this please :) looks reasonable to me though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4267 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-14 06:25:00 +00:00
hrydgard
c7431401be D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros Melee. misc tiny things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4265 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 21:18:04 +00:00
hrydgard
2dc3f2c762 D3D: Unbreak frameskipping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4264 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 19:13:07 +00:00
hrydgard
a7c70ddb66 D3D: Eliminate black borders, add 4:3 and 16:9 settings, and the widescreen hack. Unfortunately this temporarily breaks MSAA (in d3d only) until I have time to fix it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4263 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 17:46:33 +00:00
hrydgard
5911abc600 debug mode compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4262 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 15:03:21 +00:00
hrydgard
73d2b3e968 more uninteresting cleanup, fixed a minor race condition when toggling efb copy mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4261 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 10:18:01 +00:00
hrydgard
2d93c654f0 Rename Config.cpp/h to VideoConfig.cpp/h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4260 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 09:23:30 +00:00
hrydgard
512053fa5e Kill some horribly ugly hackery :( It's just not right to pass entire IniFile objects across DLLs. Only POD (plain-old-data, like int, float, char, char[] etc) are safe to pass across DLL boundaries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4257 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 08:54:46 +00:00
hrydgard
700f2ff694 Lots of code and warning cleanup. OGL/D3D: Moved to a shared config class in VideoCommon. This lets VideoCommon code read the config without ugly hacks. Fixed various config race conditions by keeping a copy (g_ActiveConfig) of the g_Config struct which is updated once per frame.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4256 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 08:21:35 +00:00
hrydgard
52ea8a0fd1 D3D supports setting multiple shader constants at once, so let's add support for that. Very tiny speedup. Also remove the annoying black window in the background when configuring D3D before starting a game. Also make sure to write all values when converting normals - might help the cpu's write gather cache.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4255 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-12 15:00:08 +00:00
rice1964
e1a0f8884a D3D: Projection hack feature. Have also moved related functions and constant definitions from OGL to VideoCommon, will clean up the code better if it works for D3D.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4252 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 05:50:02 +00:00
rice1964
5ffb48c33b D3D, enables the EFBCopyDisable option.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4251 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 05:18:45 +00:00
rice1964
f46aab0d3f D3d: safeTextureCache fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4250 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 05:05:00 +00:00
rice1964
f0d1278eff D3D: load game ini options, to be used later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4249 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 04:47:49 +00:00
Shawn Hoffman
39465e5fd8 lib dxerr9 -> dxerr as of august09 dx sdk
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4246 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-10 05:51:18 +00:00
rice1964
891aa44dd0 OGL: API call reduction. Again, I don't see much a difference on my 9800GT, maybe make some games running faster.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4245 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-10 05:02:31 +00:00
rice1964
c046c27815 D3D: Minor bug fix and some code cleanup for DirectX API call reduction.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4244 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-10 03:36:32 +00:00
death2droid
b3194e596e Fix win32 build and remove a warning from sln.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4243 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 23:19:24 +00:00
hrydgard
987a6185e6 Linux: Alsa backend for the audio plugins. Didn't succeed in reducing latency though, but hopefully will work better than libao - shouldn't hang weirdly at underruns, I hope, like libao does.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4240 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 21:26:33 +00:00
nakeee
e0dfe17ca4 OGL:
Kill not working sdl backend
remove some wxgl code
change defined a bit so resolution detection can be done right with wxgl 
and X11


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4239 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 20:47:11 +00:00
nakeee
bc6323ea0e removed the failed gltest code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4238 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 19:52:45 +00:00