Commit Graph

1110 Commits

Author SHA1 Message Date
XTra.KrazzY 79e14b4077 Getting closer towards a working D3D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2638 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 23:24:53 +00:00
hrydgard 375c732f11 d3d: saner size of vbuffer. probably doesn't fix anything noticable.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2636 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 22:39:00 +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 ac11915892 Added "Overlay Projection Stats" to D3D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2626 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 23:46:47 +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
fires.gc a9c79e4c5c switched UCode for wiimenu to AX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2622 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 21:12:02 +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 bdb41dfe2f fix an error message in d3d plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2618 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 19:36:00 +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
XTra.KrazzY c7a45ecf95 D3D scissoring, skip texture stages and some warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2616 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 18:45:39 +00:00
XTra.KrazzY 530bf463d7 not-much-of-a-performance-increasing fix for shader compile errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2613 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 00:58:11 +00:00
XTra.KrazzY eab121ea31 Made "Show shader compilation errors" work in D3D. Some games actually work behind the curtain of shader compilation errors!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2612 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 23:58:04 +00:00
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
XTra.KrazzY 044637218e Give the vertex/pixel shader caches and managers a proper Init/Shutdown
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2610 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 23:20:14 +00:00
XTra.KrazzY 0feedec14c Migrated BPStructs to D3D, major progress, half of the stuff actually works!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2609 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 23:01:58 +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
XTra.KrazzY 6e9cc44d20 Oops, committed something I didn't want to commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2602 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 18:08:34 +00:00
XTra.KrazzY 7419475959 One step closer to fixing D3D. Now textures are set properly.
Still, memory leak exists for some unknown reason (we don't allocate more pages and we release every texture)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2601 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 18:05:29 +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
LPFaint99 f0431631a8 fix some gcc warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2590 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 08:07:11 +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
XTra.KrazzY b414b018cd Experimental D3D step: Fixed overlay consistency by returning immediately from UpdateViewport. Screen progress: Can see Nintendo-size red rectangle on white background in Zelda: Collector's Edition.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2571 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-06 18:13:33 +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
XTra.KrazzY 658679876e Fixed DX9 window close shutdown.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2569 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-06 17:01:27 +00:00
XTra.KrazzY e8556a5391 Migrated a stop-fixing patch to DX9. Stopping works!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2568 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-06 16:47:04 +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
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
Marcus Wanners 0b6bf51c9a Fixed a few compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2555 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 02:11:37 +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
nakeee cee711bd5e Missed one zero
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2525 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 20:30:04 +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 d419d3fc29 More log cleanup. Commented the old macros in Log.h, uncomment it if there are any problems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2520 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 11:43:38 +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