dolphin/Source/Plugins/Plugin_VideoDX9/Src
John Peterson d4f8f0d3ae Added the StretchToFit option to the config menu in the OpenGL plugin. This fixes the blackness in SSBM. I also added a keep aspect ratio option, it will keep your aspect ratio at 4:3, but then SSBM will have the blackness problem again. You find the options under the Enhancements window in the OpenGL configuration.
I also added a wx debugging window for the OpenGL plugin. I connected it to the old console window that was in the plugin. Other than that it doesn't do anything at the moment but it could be useful to show all the current important information and parameter statuses and so on.

Again there's a problem with wx windows collisions.  Show() can't be used because then DLL_PROCESS_DETACH is called immediately after the window is opened, and if we open it with ShowModal() before we have loaded a game the main video window will be blocked. And we can't pass on any variables from a DllDebugger() that is called when Dolphin is started because the dll is reloaded and lose all variables sometime before a game is loaded. So we can't auto open the window that way. So I made the debugging window open as a game is loaded if it is enabled in the ini, the downside is that the ini setting will open the window even if we are not opening Dolphin with the -d flag. However, this will only affect people that have used the debugger at least once so in my opinion this is the most convenient solution. But feel free to come up with a better solution. Preferably some solution to how to use Show() and preventing DLL_PROCESS_DETACH to be called.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@812 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 18:47:53 +00:00
..
W32Util Removed "INT" typedef: it was not used in any plugin spec. It was used DX9 video plugin, but for arguments where MSDN lists a plain "int", so I replaced "INT" by "int" to make things clearer. 2008-09-03 00:27:24 +00:00
bmp_io.cpp Initial megacommit. 2008-07-12 17:40:22 +00:00
bmp_io.h Initial megacommit. 2008-07-12 17:40:22 +00:00
BPStructs.cpp Added point size emulation to DX9 2008-09-20 15:04:02 +00:00
BPStructs.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
CPStructs.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
CPStructs.h New SaveState folder for states. Removed some outdated code. Removed an unnecessary level of indirection for plugin calls. Assorted cleanup. 2008-08-30 19:19:40 +00:00
D3DBase.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DBase.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DPostprocess.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DPostprocess.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DShader.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DShader.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DTexture.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DTexture.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DUtil.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
D3DUtil.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
DecodedVArray.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
DecodedVArray.h Moved components' perks computation to the DecodedVArray in DX9. Performance boost. Working on OGL version 2008-10-04 21:47:56 +00:00
DLCompiler.cpp Initial megacommit. 2008-07-12 17:40:22 +00:00
DLCompiler.h Initial megacommit. 2008-07-12 17:40:22 +00:00
DlgSettings.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
DlgSettings.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
EmuWindow.cpp Disable screen saver in the gfx plugin window management too. 2008-09-28 17:47:44 +00:00
EmuWindow.h added an option to render directx video plugin inside the main frame 2008-07-17 09:18:03 +00:00
Globals.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
Globals.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
IndexGenerator.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
IndexGenerator.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
main.cpp Added the StretchToFit option to the config menu in the OpenGL plugin. This fixes the blackness in SSBM. I also added a keep aspect ratio option, it will keep your aspect ratio at 4:3, but then SSBM will have the blackness problem again. You find the options under the Enhancements window in the OpenGL configuration. 2008-10-09 18:47:53 +00:00
main.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
OpcodeDecoding.cpp Bunch of fix for DC mode (Metroid starts now,etc.). Look stable now but need to be seriously tested. CriticalSection shouldn't be needed anymore. TODO: linux and fix that High/LowWaterMark problem (CPU waste is time waiting for an empty fifo for now) 2008-10-07 21:39:50 +00:00
OpcodeReaders.cpp Initial megacommit. 2008-07-12 17:40:22 +00:00
OpcodeReaders.h Initial megacommit. 2008-07-12 17:40:22 +00:00
PixelShader.cpp Fixed DX9's 16 and 24 bit comparisons. 2008-09-21 10:21:37 +00:00
PixelShader.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
Render.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
Render.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
resource.h added overlay that displays texture formats (thanks to gigaherz!) 2008-08-06 01:08:02 +00:00
resource.rc update to the texture format overlay, thanks to giga (see issue 112) 2008-08-08 10:23:17 +00:00
RGBAFloat.h Initial megacommit. 2008-07-12 17:40:22 +00:00
ShaderManager.cpp BIOS sets video mode from emulator configuration. Fixed iteration in DX VShaderCache::Cleanup. 2008-09-23 20:55:01 +00:00
ShaderManager.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
stdafx.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
stdafx.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
TextureCache.cpp fix for small memory leaks 2008-09-17 08:40:52 +00:00
TextureCache.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
TransformEngine.cpp Chests on LoZ:WW are now texture mapped correctly (as should many other weirdnesses) in DX9. 2008-10-04 22:47:28 +00:00
TransformEngine.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
Utils.cpp fix 64-bit build too on Platform SDK 6.0, fix project file. 2008-09-07 11:07:55 +00:00
Utils.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
Vec3.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
VertexHandler.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
VertexHandler.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
VertexLoader.cpp Moved components' perks computation to the DecodedVArray in DX9. Performance boost. Working on OGL version 2008-10-04 21:47:56 +00:00
VertexLoader.h DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up. 2008-10-03 22:05:28 +00:00
VertexLoader_Color.h DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up. 2008-10-03 22:05:28 +00:00
VertexLoader_MtxIndex.h DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up. 2008-10-03 22:05:28 +00:00
VertexLoader_Normal.cpp DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up. 2008-10-03 22:05:28 +00:00
VertexLoader_Normal.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
VertexLoader_Position.h DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up. 2008-10-03 22:05:28 +00:00
VertexLoader_TextCoord.h DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up. 2008-10-03 22:05:28 +00:00
VertexShader.cpp Chests on LoZ:WW are now texture mapped correctly (as should many other weirdnesses) in DX9. 2008-10-04 22:47:28 +00:00
VertexShader.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
XFStructs.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
XFStructs.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00