Commit Graph

209 Commits

Author SHA1 Message Date
XTra.KrazzY c674e6330f Allow for self shutdown from video plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2611 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 23:34:16 +00:00
LPFaint99 3f44ccb75e eol-style native update, small warning fix in EXI_Channel.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2591 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 08:35:01 +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
hrydgard 02a4b49df1 just some compiler warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2562 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 22:35:06 +00:00
Marcus Wanners c0cf641779 Linux compile fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2559 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 15:58:14 +00:00
Marcus Wanners 432ea89b49 Compiler Warnings: Mismatch edition. Also fixed some conversion warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2557 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 15:16:50 +00:00
donkopunchstania cb121dab66 Fix more cases where shader compilation can fail if there are no tex gens.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2556 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 05:10:25 +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
hrydgard 9ef42aefac Revert to slightly tweaked version of "old" safe texture hash. Hopefully fixes issue 636. Does somewhat break pokemon colosseum w/ safe texture hash, but that games works fine with the unsafe texture hash.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2532 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 23:01:18 +00:00
daco65 44ada0c514 i think i forgot something
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2528 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 21:21:42 +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
nakeee 4e9746877e an attempt to clean up the logging a bit
1) The new ERROR, WARN, INFO, DEBUG _LOG macros were used 
	ERROR,   // Bad errors - that still don't deserve a PanicAlert.
	WARNING, // Something is suspicious.
	INFO,    // General information.
	DEBUG,   // Strictly for detailed debugging - might make things slow.
2) Made all LOG macro use into some of the logging level supporting macros
LOG is commented out on linux can someone try it on windows? (it's in Log.h)
3) Added ERROR_lOG next to each panic alert

I hope I helped making the logs a bit more useful/readble



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2510 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 01:49:16 +00:00
hrydgard 7607d6dc6a revert the mess i made in the d3d plugin. Add way to use HLSL directly without going through Cg. Not that the results look much better... i do see shadows of spinning cars in Burnout 2 after clicking around in the dark. Then it crashes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2504 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 12:07:34 +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
XTra.KrazzY 7d4e374c21 forgot a file (I hate it when it happens)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2489 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 23:17:54 +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
Shawn Hoffman 1577dc6893 more build fixin'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2487 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 23:02:46 +00:00
hrydgard 5e06540245 revert a small change that broke gl. i'll find a generic solution later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2485 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 22:35:34 +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 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
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
hrydgard 3b7875bf3f just some minor cleanup (texdecoder, dsoundstream)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2394 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 19:47:58 +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
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
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
XTra.KrazzY 16584c83d1 (Itsy Bitsy) Reindentation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2373 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 18:15:31 +00:00
XTra.KrazzY 0a3f193cbc (Tiny) Collapsing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2372 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 18:13:50 +00:00
John Peterson 42101f0ce6 OpenGL: Added a Setup.h option to avoid another annoying WaitForSingleObject() hanging. WaitForSingleObject() in Fifo_ExitLoop() would hang the thread it was waiting for when it arrived at Callback_PeekMessages(). Can't these waiting loops be replaced by a timer somehow? They are pretty ineffective if they hang the loop they are waiting for all the time.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2359 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 06:47:27 +00:00
XTra.KrazzY 691be5eec4 naming conventions...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2354 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 03:49:50 +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
XTra.KrazzY ca47268669 Vertex Shading / Projection Matrix done right (D3D)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2343 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 17:17:24 +00:00
hrydgard a1685984a0 Forgot to check in this.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2338 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:48:22 +00:00
hrydgard 28cbd0a6ba CPlugin had a non-virtual destructor. This fixes that, plus reindents a bunch of code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2332 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:07:03 +00:00
donkopunchstania 5a66927610 Fog uses depth from z texture if it is available.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2330 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 06:59:44 +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 e6ca85c059 Fix for a single core mode stop-hang. Fix a build error in IL mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2328 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 00:54:52 +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 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
XTra.KrazzY c5aed83513 Fixed texture overlays. Can I remove the OVERLAY_TEXFMT definition? It just makes the code look messy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2306 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 01:24:33 +00:00
XTra.KrazzY 767d54d56f Fixed back the r844 projection hack. If it's called "r844" then it should stay AS IT WAS in r844! :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2299 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:54:30 +00:00
XTra.KrazzY f33997e686 TGA Header Fix in Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2296 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:23:06 +00:00
magumagu9 1e150bccdf Build fix for r2283.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2285 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 02:42:21 +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
hrydgard c49f969563 vertexloader_pos cleanup - remove the branch per vertex. not much of a speedup though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2256 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 14:46:17 +00:00