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
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
Nolan Check
4292962ea2
Changes for OpenGL plugin:
...
- Render targets should not have an alpha channel
- Use correct source rectangle for render-to-texture effects
- Use "GL_INTENSITY8" instead of just "GL_INTENSITY" (makes no difference)
The background of the "Stage Clear" screen in SSBM is now fixed!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3502 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 09:29:28 +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
700742c30c
Small little change and clean up.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3242 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 12:41:56 +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
7986366ff3
Remove a stupid mistake of mine
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3238 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 08:00:54 +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
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
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
death2droid
b4ccf03967
Some changes to the hashing by baby.lueshi
...
You may have to redump textures.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3188 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-09 02:04:04 +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
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
omegadox
6736898486
OpenGL Plugin: code cleanup trying to follow code style wiki and updated copyright date
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2850 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 14:35:49 +00:00
hrydgard
e62b7f35ce
Clean up OpenGL plugin error handling macros. No longer bother with enabling TEXTURE_2D and TEXTURE_RECTANGLE_ARB - they don't apply when using shaders. Change a PanicAlert when looking for valid plugins into a LOG_WARN.
...
Let me know if this breaks anything - it shouldn't.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2726 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22 11:21:44 +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
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
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
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
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
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
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
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
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
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
XTra.KrazzY
acb3d1b23d
New compact texture type for OGL/D3D: IA8
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2233 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-13 14:14:45 +00:00
XTra.KrazzY
e557e090dd
New compact texture type for OGL/D3D: RGB565
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2225 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 22:32:33 +00:00
XTra.KrazzY
d2d097fba5
Committing magumagu9's work on texture decoding transferral to OGL, I added DX9 support. Speed seems to have increased but I'm not sure. See issue 581 for more info.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2222 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:54:08 +00:00
memberTwo.mb2
7f9ce70b33
Fix a bit texture cache WIP for copyEFBToRam at least.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1886 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 13:31:17 +00:00
memberTwo.mb2
acc062a2c1
More work on texture cache. Texture address is most of the time the cacheEntry index (as it was before r1871) to help CopyRenderTargetToTexture (fix it still a TODO). But not when texture format is tlut dependent to fix MP1 perf issue.
...
Fix tlut overrun.
Change TexDecoder_GetSafeTextureHash to fix Pokemon Colosseum and improve speed (we may need to tweak hardcoded value there -> TOTEST).
Few notes too and I let my debug stuff for a while.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1880 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 16:28:33 +00:00
magumagu9
9df221dd73
A few tweaks to fix issues I've been having with Tales of Symphonia in
...
safe texture mode. One, don't hash the palette when it doesn't matter;
including it completely kills performance in the map mode, and I'm
pretty sure it's because the palette points to essentially random
memory. Two, include the address in the hash seed; this helps with an
issue related to the EFB and the main menu. Hopefully, these changes
together don't cause any regressions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1878 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 17:23:05 +00:00
magumagu9
4a325d466d
Attempt to refix the issue solved by r1872 without the performance
...
impact on the safe texture cache. This is kind of messy, but it seems
to work.
(I have a feeling there's something strange going on, but I'm not sure
how to go about investigating it.)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1873 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 05:24:47 +00:00
magumagu9
27fb636451
Flip the hashtable accesses back to always indexing based on the
...
address; there's no particular benefit to indexing based on the hash,
and doing so breaks copy EFB to texture mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1872 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 03:28:57 +00:00
memberTwo.mb2
e8edc685ba
1) fix texture caching issue (ie. MP1 "Main menu" fps drop).
...
2) "fix" Pokemon Coloseum font issue in SafeTextureCache mode. We should kill the unsafe one. TODO: get why it works :p
3) readjust FAKE_GP_WATCHDOG_PERIOD for omega's ZTP to boot in DC.
Too late to split, sorry.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1871 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 23:55:55 +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
hrydgard
8bf3d83107
rename some files
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1695 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:26:18 +00:00
hrydgard
afc87eb5ae
cut dependencies, clean code
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1685 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:24:15 +00:00
hrydgard
6c916151ab
Split out the shader caches into their own files. The goal is to eventually be able to move the "Managers" to VideoCommon.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:23:59 +00:00
hrydgard
fa9f5c44fb
More code movin' .. split Vertex/Pixelshadermngr into xxCache and xxManager.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:43:18 +00:00
nakeee
a7c4697d22
more code cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1622 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 21:02:43 +00:00
hrydgard
f3eda7d85a
GL: Don't create a new texture every time the contents of one is updated. Probably not a noticable speed boost, but still .. it's good to be nice to GL :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1531 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 14:28:41 +00:00