summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureDecoder.cpp
AgeCommit message (Collapse)Author
2009-05-13Possible fix for S3TC Texture Decoding (Grass in ZWW is now properly alpha ↵omegadox
tested), and some code formatting cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3224 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13TextureDecoder now indicates I4 and IA4 texture formats. It also decodes ↵Nolan Check
paletted textures more efficiently. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3213 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11Disable PC-native DXT texturing. Too many problems for now.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3203 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-09A fix by baby.lueshi that fixes the problems with rev 3187death2droid
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3190 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-09Revert r3187 causes games to return lots of errors.death2droid
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3189 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08Use correct width and height for compressed texturesNolan Check
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3187 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-06Add PC-native DXT1 support to VideoCommon and VideoOGL. Thanks to ↵Nolan Check
XTra.KrazzY and death2droid. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3159 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20Assorted cleanup and comments.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2693 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18nakee's new logmanager. added a console window for windows builds (prints to ↵Shawn Hoffman
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-15Fix the nasty black fringes seen around alpha tested DXT textures in some games.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2661 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08Fixed texture overlay, clarified CPMemory STATE_TO_SAVEXTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2614 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02Revert to slightly tweaked version of "old" safe texture hash. Hopefully ↵hrydgard
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-02-23just some minor cleanup (texdecoder, dsoundstream)hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2394 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19Fixed texture overlays. Can I remove the OVERLAY_TEXFMT definition? It just ↵XTra.KrazzY
makes the code look messy. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2306 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14New compact texture type for OGL/D3D: IA4. Thanks for the IA4->IA8 unpacker ↵XTra.KrazzY
hyperiris! Too bad that D3D supports IA4 natively while OGL is a bit buggy (treats LUM4_ALPHA4 as LUM8_ALPHA8). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2238 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-13New compact texture type for OGL/D3D: IA8XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2233 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12Tiny: Unnecessary function removalXTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2226 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12New compact texture type for OGL/D3D: RGB565XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2225 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12Committing magumagu9's work on texture decoding transferral to OGL, I added ↵XTra.KrazzY
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-01-17Don't skip the bottom half of the texture; fixes the text in magumagu9
Gamecube Tales of Symphonia with safe textures on. I haven't looked too carefully at exactly which textures are affected, though. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1900 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16More work on texture cache. Texture address is most of the time the ↵memberTwo.mb2
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-141) fix texture caching issue (ie. MP1 "Main menu" fps drop).memberTwo.mb2
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-14ifdefed the sse3 code just to make surenakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1869 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14Added S-SSE3 implementation of one perf. critical texture decoder, please ↵XTra.KrazzY
notify me if it breaks anything. Thanks. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1868 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14Unconditionally activate SSE code for texture conversion; this should magumagu9
only affect 32-bit non-Windows platforms, and I've tested 32-bit Linux, so I think it's pretty safe. It's a slight performance improvement when it kicks in. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1865 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09TLB hack plus some project changes. I only get a Konami logo though in MGS. ↵hrydgard
Sonic1, plz fix :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1467 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08set svn:eol-style=native for **.cppbushing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1442 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04Better tlut hash for fixing MPs font. Didn't notice any slowdown for now.memberTwo.mb2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1402 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04Fix MP1 & MP2 texture font issue. Not very robust but the general idea is ↵memberTwo.mb2
there :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1401 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04correct TexDecoder_GetTextureSizeInBytes.memberTwo.mb2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1397 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25Improve safe texture cache - now using sparse CRC to identify textures. Far ↵hrydgard
less video glitches - metroid intro looks good. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1298 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27Aligned all vertex components to 4 byte boundaries - maybe ATI likes that? ↵hrydgard
Renamed and reorganized misc things. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@981 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09Yay, commentsSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@818 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09Changed to checking for 32bit linux and I also missed a textureSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@816 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08Made the SSE work with GCC 4.3 and above, may also work with 4.2 and aboveSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@793 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-06reverted r782 for linux only due to sse misalignment with gccmemberTwo.mb2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@784 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05"as is" sse in some cases in TextureDecoder.cppmemberTwo.mb2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@782 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07Add some missing GPL headers, fix building with Platform SDK 6.0, delete ↵hrydgard
unused HTTP code. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@452 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01many warning fixesnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@422 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30New SaveState folder for states. Removed some outdated code. Removed an ↵hrydgard
unnecessary level of indirection for plugin calls. Assorted cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@389 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21SaveState preparations #1 - Annotate all(?) state. (NO SCHEDULE PROMISE!)hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@257 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20Minor speedup in texdecoder. More informative fifo error messages.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@249 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16fix bug in giga's resampler, hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@230 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16Audio system update - HLE plugin submitted, homebrew has sound, and also ↵hrydgard
Mario movies!! (this was very unexpected). This also acts as a frame limiter. Might provide an option to turn it off in the future. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@227 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08Fix windows choppinesshrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@155 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08TextFmt Overlay v4. :pgigaherz
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@151 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08update to the texture format overlay, thanks to giga (see issue 112)Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@150 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06Fix build on linux (grr), minor ABI fix.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@142 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06added overlay that displays texture formats (thanks to gigaherz!)Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@139 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20More GFX plugin cleanup, still no visible changes. hrydgard
New right-click popup menu in game list - allow editing patch files easily. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@31 8ced0084-cf51-0410-be5f-012b33b47a6e