Commit Graph

121 Commits

Author SHA1 Message Date
omegadox 17814912e5 Some cleanup, projection hacks remove, the projections might be correct now. ZTP Bloom works and MP1 Heat Visor works, I tested many games, and good results. Please test more and report back. Also added in fix for Issue 677.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2521 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 13:04:50 +00:00
hrydgard 6dc4194767 OGL plugin: +Autoscale option (attempts to remove borders, even without XFB). Lots of cleanup, especially around aspect ratio and similar stuff. MP2 scanner still broken, wonder when that happened?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2470 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 16:33:59 +00:00
John Peterson caa34ef305 OpenGL: Added crop option for the aspect ratio option, this way you can keep the aspect ratio in the full screen mode with a 5:4 or 16:10 screen, by sacrificing some visibility on the sides
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2429 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-25 05:54:36 +00:00
John Peterson 354f1e5f44 OpenGL: Added keep 16:9 aspect ratio, if anyone is displeased with the stretching to 16:10, and would rather want a letterbox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2418 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 19:16:08 +00:00
nakeee f23b24ae76 Fix config dialog on linux, please test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2399 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 21:38:06 +00:00
hrydgard 769160dfbd Fix crash clearing the texture cache on shutdown.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2374 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 20:21:56 +00:00
John Peterson fc6a7c47d5 Core Stop and Start: Fixed stop and start again by avoiding FreeLibrary() of the OpenGL plugin, and avoiding a crash in its ShutDown() function. You need to use SETUP_FREE_PLUGIN_ON_BOOT to compile with this option that works on my system. Also, I noticed that I don't need the SETUP_AVOID_CHILD_WINDOW_RENDERING_HANG anymore, I can now delete the g_EmuThread without having it hanging in its waiting function.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2356 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 04:24:53 +00:00
John Peterson af461eeb1e OpenGL: Enabled the Keep 4:3 Aspect Ratio option together with the new XFB supplement. I also noticed that there is a problem with the new changes halfway into the menus in Wii Sports (where the graphics almost disappears). I'll try to find what is causing that.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2319 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 15:52:17 +00:00
John Peterson cfcfef9b51 OpenGL:
1. Removed the custom screen size functions again (the ones I added in revision 2310). All games I tried are now full screen so it's probably not needed any more.

2. Disabled my XFB supplements when the real XFB is on, since they are supposed to supplement each other.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2318 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 13:35:43 +00:00
magumagu9 cefa910d92 Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2315 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:49:57 +00:00
John Peterson a1cd6c982e OpenGL GUI: Disabled render to separate window options when we are not using that option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2312 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 11:28:55 +00:00
John Peterson bdd02fb1b6 OpenGL GUI: Made the resolution wxComboBox() read only, it's better if they don't accept custom values.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2311 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 10:29:53 +00:00
John Peterson 8bffec52dc OpenGL: Forgot one change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2308 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 03:00:08 +00:00
John Peterson 14b6cadf46 OpenGL: Added option to adjust the screen size and position. I need this to calibrate the Wiimote.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2307 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 02:58:29 +00:00
omegadox 7a276e687e Added more overlay stats options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2268 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 20:49:59 +00:00
Shawn Hoffman 7b7cfa940e remove stuff from ogl debugger that did nothing. (copied from dsp hle a while ago)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2111 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:33:59 +00:00
John Peterson c53797dc5b OpenGL config: Added tooltips
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1939 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 21:18:43 +00:00
Shawn Hoffman 1ba2708bbd put the handy items on the first page of ConfigMain. Fix for plugins not loading on first boot. We should figure out how to get a pointer to the main app (see OGL main.cpp line 118)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 16:36:43 +00:00
omegadox ebb23a74fe Some organization of the OGL plugin Config window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1863 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 20:50:51 +00:00
omegadox d9511addf3 some small changes to OGL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1856 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-12 15:00:00 +00:00
donkopunchstania d6e8c1f5d0 added an option to copy textures from the EFB to system memory. this is slower but shouldn't cause the compatibility issues the previous method of copying them directly to a GL texture has. the new method can be tested by disabling "copy EFB to texture" in the hacks section. the new method still needs some tweaks.
fixed some off-by-one errors in the EFB to texture copy and the scissor box. also fixed a couple asserts I was getting in the volume directory stuff.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1853 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 22:25:57 +00:00
John Peterson 3a3fd721d1 OpenGL: Readded hide cursor option for non-Windows builds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1778 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 23:00:07 +00:00
John Peterson eb2ce16a6c Interface and general: Fixed the hangings and crashes that would occur from repeated Start and Stop, added optional toolbar themes, made the fullscreen mode in the OpenGL plugin more user friendly for Windows users
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1770 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 21:53:41 +00:00
nakeee 347da362f1 some more gstest work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1616 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 23:13:39 +00:00
nakeee d640dec401 more code clean up
gltest compiles on linux, not working yet


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1615 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 22:18:52 +00:00
nakeee c0b5aaa995 Added not implemeted rendering backend chosing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1568 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 22:09:33 +00:00
Shawn Hoffman 4a5d9ded94 namespace-ified ActionReplay, and made ISOProperties use the existing AR code. bonus: encrypted arcodes are saved as unencrypted codes just by closing the isoproperties dialog. also added ARCodeAddEdit, but once again, it only views entries atm. some misc wxw cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1560 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 04:14:24 +00:00
bushing 901fe7c00f set svn:eol-style=native for Plugins/**.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1441 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:25:12 +00:00
bushing 30c883bcfc set svn:eol-style=native for **.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:46:09 +00:00
nakeee e4c6493130 dded wxT()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1346 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 15:13:33 +00:00
hrydgard c541f3c335 Aniso filter setting working in GL, some code moving around, spelling fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1341 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:15:34 +00:00
hrydgard 06aeab0414 Added an option for "Safe texture cache". Prevents Metroid Prime 1 from caching but can cause texture glitches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1291 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 20:04:51 +00:00
XTra.KrazzY af9c6ec6ce Fixed the disable EFB hot-key setting in OGL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1250 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:40:20 +00:00
magumagu9 eab369321c Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1248 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:11:26 +00:00
John Peterson f0596fee55 Added Copy EFB hotkey to OpenGL plugin (to be able to easily switch back and forth during emulation). Added Unlimited JIT cache option to debugger. It may fix the Zelda TP crashes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1243 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:46:12 +00:00
omegadox 601f65f071 Added projection hacks back and a "default: breal" on the switch-case of "event.getId()"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1230 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 19:44:41 +00:00
John Peterson be6a6215c9 Calibrated emulated Wiimote aiming in widescreen mode. Added config menu to Wiimote. Added hide cursor option to OpenGL plugin. Added custom Wii settings and moved SYSCONF to User/Config (it will be copied by the game to Wii/shared2/sys when a game is run). Made the DSP and Video debugging windowses run on the same dll instance as the main instance.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1188 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 20:09:13 +00:00
Shawn Hoffman e3f9886c72 GUI updates: filesystemviewer is now ISOproperties, beginning of gameconfig (gameini) editing. Some misc cleanup here and there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1126 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 18:39:09 +00:00
Shawn Hoffman 70837bb034 replace m_VtxDesc.Tex7Coord that I missed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1119 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 04:50:39 +00:00
Shawn Hoffman b6b61f0a9f changed ConfigMain and ogl config.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1067 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 09:56:25 +00:00
Sonicadvance1 712a391cb8 Removed the Projection Hacks since the Original Projection was correct, I never ment to commit those projection changes anyway ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1063 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 01:38:20 +00:00
omegadox 46f0dd8f78 Added more render control options, wireframe option works, added more hacks.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@988 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 08:14:17 +00:00
omegadox f1db84a999 OpenGL config window re-organization.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@972 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 13:35:34 +00:00
omegadox 309c50d26f Added "Hacks" tab to OGL plugin config window and the hack option "Invert Depth". Use hacks to figure out some graphics bugs like the logo in ZWW is not a glDepth problem as I would figured it was. These hacks should be temp until the problem has been solved correctly. Also more hacks can help us figure out graphics problems we do not understand faster.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@971 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 12:03:12 +00:00
nakeee 3b4d8a47b3 Config is now one dir up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@944 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-23 09:11:26 +00:00
hrydgard 4b2c7310b7 Move more stuff out of Globals.h in gl plugin. Changed gl plugin precompiled header to a new stdafx.h, you may have to Build->Clean after updating to this rev.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@940 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 21:23:40 +00:00
donkopunchstania bbbe898839 added option to use XFB in GL, but XFB support still needs work. modified viewport to include scissor offset.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@879 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 14:07:03 +00:00
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
Shawn Hoffman d11f42c329 improved the new way of doing aboutboxes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@789 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 19:17:15 +00:00
daco65 22b2b36711 Removed the about from all the plugins and dolphin config screen. then added the about on some plugins config screens and renamed the wiimote_test.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@787 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 18:05:56 +00:00
Shawn Hoffman 0400d044ec some small adjustments to the ogl and padsimple wxw code. Really need to find a way to get keyboard input after clicking a wxButton...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@640 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 14:18:55 +00:00
Shawn Hoffman 38ff37539d updated gui a little bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@488 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-09 23:34:13 +00:00
Shawn Hoffman 8f7c509a13 windows x64 build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@467 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 17:11:52 +00:00
Shawn Hoffman e84721b13b fix for fullscreen for both video plugins in windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@243 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 08:01:27 +00:00
Sonicadvance1 4faa685def Fix for the Config Dialog in GL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@239 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 20:22:12 +00:00
Shawn Hoffman 06e1add86c getting ready for AA
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@238 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 19:35:23 +00:00
Shawn Hoffman 8e443bad3e update to the texture format overlay, thanks to giga (see issue 112)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@150 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 10:23:17 +00:00
Shawn Hoffman f46c64c02f fixed(ogl): resolution detection on widnows, configdlg.cpp compile problems on non-windows, and fixed the recently broked texfmtoverlay ... >_<
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@145 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-07 02:49:56 +00:00
tmator 89cb286812 Some osx build fix for OGL plugin. Not working ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@143 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 21:07:31 +00:00
Shawn Hoffman 9dc48651a7 windows: added resolutions and made the window sizing a bit better. linux: #include fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@141 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 09:48:54 +00:00
Shawn Hoffman a44e94a594 added overlay that displays texture formats (thanks to gigaherz!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@139 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 01:08:02 +00:00
Shawn Hoffman 491a9205b6 more changes to the ogl config gui (replaced everything with sizers)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@137 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-05 21:05:12 +00:00
Shawn Hoffman 9a377ac874 teeny fix for non-windows builds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@136 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-05 09:53:42 +00:00
Shawn Hoffman 8ff50f3155 code beautification and the like for OGL config gui
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@132 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-05 08:49:27 +00:00
Sonicadvance1 1a504ff031 Fix compile bugs in Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@131 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-04 22:42:04 +00:00
Sonicadvance1 dd793a11ef GL plugin now dumps textures in correct format, you can enable texture dumping in the settings but you have to set the directory in the ini file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@130 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-04 21:29:56 +00:00
Sonicadvance1 3e479c7c8f Tons of changes to OpenGL plugin, Not entirely tested in Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@101 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 04:23:43 +00:00
fires.gc 2f308cf77a minor improvements (mostly debugger)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@82 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 13:40:07 +00:00
fires.gc ea1bf8c51a minor bug fixes for opengl plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@67 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 16:20:12 +00:00
Sonicadvance1 aae00ef799 Linux/All: Changes to OpenGL plugin config window, effects all platforms. Removed nasty Tomaha default font. Compiles now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@65 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 16:04:58 +00:00
fires.gc 375b0052e3 restructured opengl plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@63 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 15:20:36 +00:00