Commit Graph

612 Commits

Author SHA1 Message Date
donkopunchstania c4c5911538 Fixed the way a format was converted from the EFB to ram.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2723 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22 03:25:59 +00:00
Shawn Hoffman 7572e0bf8d remove newlines from OGL logging (they get added by logmanager)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2720 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-21 20:07:56 +00:00
donkopunchstania 6bec794002 Bug fixes with show EFB copy regions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2713 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-21 16:04:44 +00:00
Shawn Hoffman 323676a66b update dsp hle and ogl plugins for the new console window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2709 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 23:45:25 +00:00
hrydgard d046b55d1b Change a bunch of project settings to reduce the flood of warnings you get when building in debug mode. Tweak bootup logging a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2706 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 22:54:59 +00:00
hrydgard aa7fe1edee Fix DEBUG logging (didn't work!). Shuffle around the log levels to make more sense (now NOTICE is the top one and always on), the rest is ERROR, WARNING, INFO, DEBUG. Fix the log levels of a lot of stuff. Use macros instead of numbers for various log level checks.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2700 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 20:52:37 +00:00
hrydgard f126378de6 Don't log when File::Exist fails - that's just obnoxious. fix a const.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2692 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 17:22:55 +00:00
nakeee ad76edd157 Fixed some log messages
Fixed a crash when no game ini exists


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2690 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 15:01:49 +00:00
nakeee ed70ca6d48 few more ogl game.ini options
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2689 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 12:36:38 +00:00
nakeee 623671df7a making section names case insenstive
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2688 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 12:23:05 +00:00
nakeee f22af37320 Trying to make gameini support some gl options
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2687 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 11:51:22 +00:00
nakeee 2d167fa3f0 remove some unused files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2678 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 20:24:08 +00:00
Shawn Hoffman 2301d072a6 nakee's new logmanager. added a console window for windows builds (prints to parent console on non-win32). also fix some random wxw bugs: main window's position is saved when using debugger, disabling windows from the tools menu are saved settings, some other small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2675 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 17:17:58 +00:00
omegadox 4761f7a3f2 small fix with show EFB copy regions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2670 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-17 06:04:57 +00:00
omegadox befcfbde9a ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2666 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-16 07:56:59 +00:00
omegadox 845204c227 Added option "Show EFB Copy Regions" to find out which games are heavy on EFB-Copy. Changed Dst Alpha Pass option to "Disable Dst Alpha Pass".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2665 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-16 07:54:44 +00:00
donkopunchstania 86944b5be2 Disable blending during destination alpha render pass.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2664 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-16 05:24:51 +00:00
donkopunchstania 7ef5e5cd1e Make destination alpha render pass an option.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2663 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-16 05:04:59 +00:00
donkopunchstania 90254bd924 Change destination alpha handling. The blending method introduced in rev 1921 was not the correct way to do it. This way was suggested by hrydgard in October and I should have listened. A simple pixel shader as hrydgard suggested cannot be used because the alpha is not set if the pixel is discarded due to failing depth (after z texture) or alpha (result of tev stages) tests. There is a bit of a performance hit so there should be an option to disable the second render pass which sets the alpha because it is probably not needed most of the time.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2662 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-16 02:47:48 +00:00
omegadox b1e64cb948 fix for force filtering option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2660 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-15 08:32:35 +00:00
hrydgard 7178c8d686 Only use framebuffer_blit for the final screen copy if multisampling is enabled. Should restore some compatibility with terrible laptop gfx cards that got lost with the introduction of MSAA.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2657 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-14 20:36:12 +00:00
hrydgard c70a472522 A fix to D3D NativeVertexFormat. Might not fix much, but should be a step in the right direction. Other misc bits and bobs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2644 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-10 22:51:17 +00:00
omegadox 31580db11d OGL Plugin: added more info to an error message and some warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2640 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-10 13:54:58 +00:00
hrydgard 095ba7bcd6 Reintroduce force filter. I had even forgot to remove the feature, i had only removed the checkbox :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2634 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 20:18:36 +00:00
tmator 9635b50a35 fix main config dir on osx and autodetect ogl version when it build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2630 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 10:43:56 +00:00
LPFaint99 f4ba5b3589 Some scons updates,
windows scons will build if dirs = 
    'Externals/Bochs_disasm',
    'Externals/LZO',
    'Externals/WiiUseSrc/Src', 
    #'Source/Core/Common/Src',
    #'Source/Core/Core/Src',
   # 'Source/Core/DiscIO/Src',
   # 'Source/Core/VideoCommon/Src',
    #'Source/Core/InputCommon/Src',
    'Source/Plugins/Plugin_VideoOGL/Src',
    #'Source/Plugins/Plugin_DSP_HLE/Src',
    'Source/Plugins/Plugin_DSP_LLE/Src',
    'Source/Plugins/Plugin_PadSimple/Src',
    'Source/Plugins/Plugin_PadSimpleEvnt/Src',
   # 'Source/Plugins/Plugin_nJoy_SDL/Src',
    #'Source/Plugins/Plugin_nJoy_Testing/Src',
    #'Source/Plugins/Plugin_Wiimote/Src',
   # 'Source/Core/DolphinWX/Src',
    'Source/Core/DebuggerWX/Src',

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 00:36:59 +00:00
XTra.KrazzY 05d06090fd Minor D3D changes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2625 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 23:19:02 +00:00
hrydgard d60c1b139a remove stupid code that made it impossible to turn of AA
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2624 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 21:55:58 +00:00
hrydgard ab1aad3815 Remove flicker when switching between native and full resolution from the gl config box. Remove a couple of unnecessary framebuffer binds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2623 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 21:42:27 +00:00
hrydgard e0e45019eb UI for multisample antialiasing. NVidia CSAA support added.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2619 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 20:04:40 +00:00
hrydgard c6ffcec991 First version of MSAA code added. No UI yet. No CSAA yet. Doesn't work in Zeldas and Metroids for unknown reason.
Automatic texture invalidation when using copy efb to ram (fixes weird flickery scanner in metroid 2). 

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2617 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 19:19:51 +00:00
nakeee e1d2ff6f3f win32 example
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2607 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 22:12:01 +00:00
omegadox cad0ca3f5d ops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2606 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 21:32:30 +00:00
omegadox dde7f0104c Dumping the efb_tex will not cause crash anymore, but the dumped image is always blank, so commented out since it causes lag anyways.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2605 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 21:31:14 +00:00
Marcus Wanners 49335efa71 My package check patch.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2604 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 21:05:03 +00:00
omegadox 7860ef4532 Make it dump more than multiple files instead of replacing the same file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2595 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 10:05:04 +00:00
omegadox f4d0255751 ops, forgot to change that back. It should be more stable now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2594 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 09:44:19 +00:00
omegadox 9e3db8d1b5 1.] GL Textures dump to User/Dumps/Textures instead of picking a dir 2.] Some code cleanup in OGL plugin 3.] Added new dump feature "Dump EFB Target", its a bit unstable and needs a fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2593 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 09:29:25 +00:00
omegadox 5ce9ffeab7 Projection fix, Projection 1 hack changed to ZTP Bloom hack. That bloom is a bugged because of something else, not because of the projection. The proj hacks happens to makes it show.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2573 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-06 21:56:13 +00:00
Marcus Wanners 3ee3602714 Fixed more compiler warnings, and revised the syntax of the fix of r2567.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2570 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-06 18:02:41 +00:00
Marcus Wanners 3abe591195 Fixed a small bug with the overlaid framerate: If the float fps in the infobar is 60.00, the overlay shows 60. If it is something like 60.04, it shows 61. If it is something like 59.13, it shows 60.
Also deleted Externals/wxWidgets/lib/vc_lib/msw/wx/msw/rcdefs.h, it must have been versioned at some point by accident, causing issue 706.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2567 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-06 15:18:29 +00:00
hrydgard 95bd883c2c fix debug mode build error, shuffle some code around :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2565 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-06 00:03:33 +00:00
hrydgard 75390c55bd GL plugin: VSync option, some renaming, a little bit of MSAA preparations (not there yet)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2563 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 23:11:13 +00:00
nakeee 0708677b53 Added LOGLEVEL support, release will now defined LOGLEVEL 2 (errors and warnings)
LOGGING should not be affected. 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2550 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-04 22:29:03 +00:00
Shawn Hoffman f30410a9a1 fix for issue 679
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2529 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 21:34:18 +00:00
daco65 4cb7f2f490 lets retry that change from omega but this time keep the projection hacks >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2527 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 21:17:16 +00:00
omegadox 56becf28db Revert 2521.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2524 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 19:38:38 +00:00
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
donkopunchstania e004800e68 An alert is displayed once per run if pixel shaders or vertex shaders fail to compile. Resources are cleaned up if shader compilation fails. Tev coords are zeroed in the pixel shader if there are no tex gens.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2493 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 00:57:39 +00:00
nakeee 324abc9a7f fix compile on osx and linux
added  GetPluginDirectory (please check on windows)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 23:21:51 +00:00
XTra.KrazzY d5df9f638b Fixed D3D booting. Now for the VS/PS compilation errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2488 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 23:15:10 +00:00
XTra.KrazzY 3ed65fce0d Fix debug build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2486 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 22:45:19 +00:00
hrydgard ecbfec2a13 THIS BREAKS THE D3D PLUGIN FOR THE NEAR TERM. Resurrect an old patch that moves D3D over to the common shader generator framework. Needs a lot more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2484 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 22:10:38 +00:00
hrydgard 437ebab1a7 Oops, accidentally committed something unfinished too. reverted.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2476 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 19:07:43 +00:00
hrydgard 1a2a320652 Increased render target size to the true EFB height of 528.
This changes fixes the bloom effect in Beyond Good and Evil.
It also makes the AutoScale feature almost mandatory since it looks silly without :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2475 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 19:02:37 +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
hrydgard 4bdb4aa0d1 Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few crash bugs in FileUtil.cpp.
Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 01:26:56 +00:00
XTra.KrazzY d37d71c1b8 Minor OSD on screenshot tinkle.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2454 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 11:45:07 +00:00
Shawn Hoffman 96019edfa1 debug build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 05:30:35 +00:00
XTra.KrazzY c19210b641 Working screenshots for everyone! This may not be the 'best' way to implement it but it's the most compatible, working and least mutually exclusive as possible (works with DC too). More coming soon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2449 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 03:56:34 +00:00
John Peterson 4bcb9b5834 Emulated Wiimote IR pointer: Made it compatible with the new aspect ratio options in the OpenGL plugin. It will now load the same settings that the OpenGL plugin use. So if you change the settings there, you'll have to open the Wiimote configuration window so that the new settings are loaded for it to.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2439 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 00:11:51 +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 e59869e63c OpenGL: Added the black border function to 16:9 to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2419 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 19:19:50 +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
omegadox 8c93e39ddd Linux build fixes and some warning cleanup for GCC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 05:20:52 +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 96827d9996 Introduce JitCommon folder to share things between the two jits.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2396 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 20:29:55 +00:00
John Peterson 366e2ad276 OpenGL: Changed the end of line style for Render.cpp to. I had to change the whole document to CRLF line endings in Visual Studio.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 07:23:34 +00:00
John Peterson 69a35cc60a OpenGL: Added back end of line style for a file. I could not change it back for Render.cpp because it has "inconsistent newlines".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2387 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 07:14:49 +00:00
John Peterson 5ddb28a370 OpenGL Keep Aspect Ratio: Removed the remains of old pictures that are sometimes shown in the bottom black border, if you use this option. So now both the upper and lower border is black.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2386 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 07:12:18 +00:00
LPFaint99 473cd01181 UUpdate svn:eol-style=native ( r1438 ) for Source/*.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2385 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 06:17:57 +00:00
LPFaint99 578c402d2c Update svn:eol-style=native ( r1442 ) for Source/*.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2384 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 06:15:48 +00:00
nakeee cc3073b528 Fixed ogl config on linux, please when you change code, make sure you changed all the ifdef cases
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2380 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:57:56 +00:00
hrydgard 68f5cc1873 Attempt to workaround some stop hangs by using MsgWait instead of Wait. change order of dsp / video shutdown. some comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2379 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:49:42 +00:00
magumagu9 a32e29aaa5 Attempt at fixing Linux build. The OpenGL configuration dialog is
broken, though, so I'm not sure if this is quite right.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2378 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:04:31 +00:00
nakeee 9ec81d4bf0 linux compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2377 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 21:37:36 +00:00
John Peterson 927815bc9b Core Stop and Start: Added alternative separate thread timer/loop based waiting, instead of same thread loop waiting. You can try it with the SETUP_TIMER_WAITING option in Setup.h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2375 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 21:16:12 +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
hrydgard aff0f1fbe3 Consolidate the three implementations of Decode5A3 found in Core into one. Fix some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2364 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:43:25 +00:00
John Peterson 2a94635523 OpenGL: Added option to build without WxWidgets in Windows to, if it has anything to do with the FreeLibrary() hanging. It doesn't seem to do, but now it's easier to compile without it at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2358 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 05:21:54 +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
hrydgard ffa56ed61a fix off by one error in OSD
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2347 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 00:06:15 +00:00
omegadox 2b48640441 small cleanup in OGL/VideoCommon and small fix to ARCodeAddEdit by slink
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2346 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 23:56:10 +00:00
John Peterson b4b94fe594 OpenGL: Fixed the screen size adjustment by moving it to Render::Swap(), where the final version of the picture is placed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2344 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 20:59:30 +00:00
hrydgard 26f951d9d5 delete unused variables, rename some functions - minor stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2339 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:53:26 +00:00
hrydgard 3331a024c0 More cleanup in gl plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2337 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:11:49 +00:00
hrydgard b211200460 Fix potential buffer overflow in OSD
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2336 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:56:43 +00:00
hrydgard fe0be64bd3 Move the message display thing out of Render.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2335 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:53:10 +00:00
hrydgard 731dec6889 delete some junk from gl's main.cpp. fix potential crash if number of resolutions > 100 (hey, it may help someone in 2050 or so when we have 1Mx1M displays)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2334 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:25:43 +00:00
omegadox 228652b070 Some cleanup in OGL plugin and VideoCommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2329 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 02:42:35 +00:00
hrydgard 6cd34b318f The Mega Change Of Doom - or, fixing Stop. Almost. At least it's better than before. However, the OpenGL plugin seems to lose textures a lot between game restarts :P I think the GL plugin needs to do a lot more cleanup.
This change also includes tons of minor code formatting cleanup. Yeah, should've separated it ... sorry :(

Kills the old CPUCompare support. I'll resurrect it if I need it again, right now it mostly clutters the code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:04:52 +00:00
John Peterson f992dae50d OpenGL: It seems like there was a purpose with the separate glViewport() and glScissor() in PE_copy.clear after all. I'll disable the XFB supplement until it works with those functions to.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2320 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 16:50:38 +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 5746ed490c OpenGL: Trying a new function to fix glScissor() and glViewport() when bpmem.copyTexSrcWH is not 640x480. It's only enabled with g_Config.bStretchToFit and without g_Config.bKeepAR to test how it works. Hopefully I have not broken all other modes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2310 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 06:52:01 +00:00
donkopunchstania 14ab646978 fog is done in pixel shader but needs to factor x adjustment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2309 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 04:41:58 +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