Commit graph

338 commits

Author SHA1 Message Date
Nolan Check
ade9479005 Display buffer flips are now triggered by the CPU thread through the Video_UpdateXFB function. This is a fairly significant change of behavior, but it improves performance.
Also, render target code is cleaned up. Post-processing shaders now work with multisampling and Real-XFB mode.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3545 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 08:57:53 +00:00
nakeee
6b2855de5e revert last 2 commits
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 09:31:30 +00:00
omegadox
5bcf69cbd6 Forgot to add the source files...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3532 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 07:44:20 +00:00
omegadox
6de0cd1e4b They should be called SU Registers (Setup Unit/Rasterization). BP (Bypass) is really the name of the commands that are passed in.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3531 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 07:40:28 +00:00
omegadox
cfe3f77ccf Some commenting and added some unknown cases to BPStructs, see: http://code.google.com/p/dolphin-emu/issues/detail?id=360#c90
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3530 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 01:46:58 +00:00
Nolan Check
91ec07a049 Remove delay in Fifo when CP/GP distance is 0. It's a bad idea to sleep for a whole MILLISECOND when we only have about 17 milliseconds to complete a frame.
This fixes slowdown in Wind Waker's Deku Tree room in dual-core mode.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3513 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 13:07:55 +00:00
nakeee
75045807a7 linux compile fix, I'm not sure it was right of me to remove the mmsystem include (was it used?) but if it's
for the timer function please put it in Timer.h and not in each seperate file.
(And yes, I have a script that does that).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 06:39:26 +00:00
John Peterson
5c04af50a4 Attempt to calculate actual refresh rate (i.e. a CPU-GPU synced Mhz), no real success. Anybody have any ideas?
Is there no indication from the game when the screen refresh should occur? No, not what I could find, we currently calculate the refresh rate and m_VBeamPos from the CPU ticks progress. That works perfectly if the CPU and GPU is perfectly synced as in the single core and no-idle skipping mode. So I guess it's possible that the game doesn't indicate when the screen should be refreshed, but rather that the hardware calculate that from the CPU ticks progress. That leaves us with a problem in the dual core and idle skipping modes to calculate a CPU-GPU synced CPU ticks progress.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:30:02 +00:00
donkopunchstania
77c7161e7d Add projection hack back. The previous commit helped, but did not fix all the problems. Projection hack values may need to be changed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3428 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 19:36:19 +00:00
donkopunchstania
fcd7fa997b Possible fix for projection hacks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3427 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 17:44:14 +00:00
John Peterson
33a0f0838b Debugging: Added 'insert nop' to menu, added 'show history' code for interpreter mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 05:26:39 +00:00
John Peterson
3b55c26367 OpenGL: Changed the AVIDump framebuffer source to the same as for screenshots
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3374 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 10:16:08 +00:00
Marcus Wanners
4f057ecb0b Compile fix :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 16:33:48 +00:00
Marcus Wanners
475b4afb1f Got rid of warning (see http://code.google.com/p/dolphin-emu/issues/detail?id=360#c92).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3322 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 16:25:53 +00:00
death2droid
254edc3813 Some more modification of texture dumping and loading.
They now use gameID instead of game name for the folders.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3247 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-16 01:21:57 +00:00
death2droid
b6cfaf5653 Added features to hires loading and texture dumping so it now dumps the files into a specific folder like for Mario Party 7 the textures will be dumped into a folder named Mario Party 7.
For texture loading it now only checks the folder with the same name as the game.
Like same as before moddified texture of Mario Party 7 would go in the folder named Mario Party 7 :P


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3241 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 12:28:32 +00:00
death2droid
80e2052372 Make some updated to hires texture loading ect.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3235 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 07:07:24 +00:00
donkopunchstania
14a67bc8bc Changing where depth is read. Trying to use the same depth buffer GL uses when copying depth to a texture. This eliminates some quirky code and gets depth copies working in AA, but may not work on older graphics cards.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3234 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 02:39:55 +00:00
death2droid
d0653aa53a A attempt for a fix for the Zelda TP Bloom hack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3228 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-14 06:28:10 +00:00
omegadox
136dc16f94 Possible fix for S3TC Texture Decoding (Grass in ZWW is now properly alpha tested), and some code formatting cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3224 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 23:37:26 +00:00
death2droid
5cefdb2c4f Small tiny fix to repair some of the hacks.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3216 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 13:32:00 +00:00
death2droid
03b0936fa1 Clean up of OpenGL hacks.
Removed now useless code.
Also fixed a problem with the iso properties.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3215 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 13:28:49 +00:00
Nolan Check
dcad8a779d TextureDecoder now indicates I4 and IA4 texture formats. It also decodes paletted textures more efficiently.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3213 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 02:06:02 +00:00
hrydgard
e7af5a31bd Disable PC-native DXT texturing. Too many problems for now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3203 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 19:04:46 +00:00
death2droid
7011b9c1e4 Newer version OpenGL game hacks by val532.(Has a lot better way of handling specific game hacks)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3196 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 06:40:03 +00:00
death2droid
be45b223bb A fix by baby.lueshi that fixes the problems with rev 3187
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3190 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-09 07:55:30 +00:00
death2droid
8e535bf2c0 Revert r3187 causes games to return lots of errors.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3189 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-09 06:25:03 +00:00
Nolan Check
b277102796 Use correct width and height for compressed textures
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3187 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 23:33:23 +00:00
Shawn Hoffman
79aa90b876 really fix SOIL-related troubles, i think :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3183 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 16:41:08 +00:00
death2droid
1d593069b5 x64 SOIL fix thanks to baby.lueshi
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 13:16:30 +00:00
death2droid
49b527cc6e Fix problem caused by my attempted revert.
Sorry everyone....

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3179 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 12:03:54 +00:00
death2droid
6c09fe5217 Revert some changes again :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3178 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 11:35:47 +00:00
death2droid
08179aa16c Fix windows build problem with SOIL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3177 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 11:20:27 +00:00
nakeee
1e07b26356 Move soil to external, this breaks windows build until deathroi will commit the windows part
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3175 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 09:31:57 +00:00
Shawn Hoffman
9414d02011 add missing file HiresTextures.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3171 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 18:46:07 +00:00
death2droid
14f9d84e60 Forgot to upload some files crucial to SOIL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3169 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 09:32:26 +00:00
death2droid
58058311f4 Fix some problems :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3168 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 08:56:20 +00:00
death2droid
d0304dc997 Add hires texture support to OpenGL
Currently still only dumps files as .tga but supports loading as .png, .bmp,.tga , .dds

This is by  baby.lueshi

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3166 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 07:43:56 +00:00
Nolan Check
3ba23768e8 Add PC-native DXT1 support to VideoCommon and VideoOGL. Thanks to XTra.KrazzY and death2droid.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3159 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-06 02:10:07 +00:00
Shawn Hoffman
c25346773d revert r3060, instead call RecomputeCachedArraybases() once on init.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3065 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 16:40:58 +00:00
Shawn Hoffman
6c29abe2ef fix existenze demo! warning: this may be a bad hack :( paging ector
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3060 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 03:59:32 +00:00
donkopunchstania
93348abc18 Created a free look utility which only works on win32 right now. It lets the user fly around with the mouse and keyboard. Had to add some ugly matrix functions to the math utilities.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3005 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 10:10:45 +00:00
donkopunchstania
66ca49d3b8 revised how texture scaling is handled. it now works correctly when adding output together from indirect stages which use power 2 and non power 2 textures and it is simpler.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2972 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15 03:55:38 +00:00
nakeee
5f862cf297 more scons build fixups
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2960 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 21:30:22 +00:00
hrydgard
f6474b98a8 DSP assembler: Error message improvements.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2956 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 13:12:42 +00:00
donkopunchstania
2b2c2afa3c Did clean up of indirect texture look up and fixed some bugs related to indirect unit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2954 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-11 07:05:57 +00:00
nakeee
e84ec7855a smg projection hack, taken from http://forums.dolphin-emu.com/thread-165-page-3.html
maybe we should just make configurable linear trasnformation hack;)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2949 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-10 10:25:53 +00:00
omegadox
449aa57de3 Some commenting fixes and use INFO_LOG again.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2923 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 01:20:52 +00:00
omegadox
d1c9d2463c More commenting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2921 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 21:17:15 +00:00
omegadox
13ac45db1a More commenting and cleanup and added another BP Function.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2903 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 18:20:28 +00:00
XTra.KrazzY
e3e7c88ff1 Added separate log for DSP LLE.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2901 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 17:12:05 +00:00
omegadox
80d48a08d8 Change "BreakPoint" to "Bypass", YAGD says BP REG is a "Bypass Raster State Register"
Also some cleanup in BPStructs and I think this should be SETTLUT not LOADTLUT, because there is already a LOADTLUT earlier in the reg list.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 16:10:45 +00:00
omegadox
67834f960e Direct3D9 plugin now uses BPFunctions and removed its BPStructs. Some cleanup and commenting in BPStructs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 15:24:40 +00:00
omegadox
1ad5c7c9aa VideoCommon: Fixed a case when in debug build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 20:14:23 +00:00
omegadox
1578e3e195 Recoded and moved BPStucts to VideoCommon. Some cleanup in PixelShaderManager. TODO: Have DX use BPFunctions. Note: Compiling DX plugin will not work atm.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 10:49:19 +00:00
Shawn Hoffman
ec8548dc00 last commit missed AVIDump.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2782 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 21:27:48 +00:00
Marcus Wanners
711f08c29b Added support for dumping avi files (thanks baby.lueshi). Use Microsoft Video 1 codec for starters. Make sure to check the dump rendered frames box in the video plugin settings, or it won't work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2781 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 21:07:16 +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
7d910a5e4a Assorted cleanup and comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2693 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 18:13:31 +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
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
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
hrydgard
b1b2868c8b Fix the nasty black fringes seen around alpha tested DXT textures in some games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2661 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-15 11:34:52 +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
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
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
148934ff99 Fixed texture overlay, clarified CPMemory STATE_TO_SAVE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2614 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08 01:19:33 +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
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