summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
AgeCommit message (Collapse)Author
2013-06-08Invalidate the texture cache using the GPU thread when the CPU thread makes ↵skidau
a request. Fixes issue 6350.
2013-04-24Formatting cleanup for VideoCommon.Lioncash
Block braces on new lines. Also killed off trailing whitespace and dangling elses. Spaced some things out to make them more readable (only in places where it looked like a bit of a clusterfuck).
2013-04-19Fix a bunch of random typos in comments and logging.lioncash
Also update the comment headers for two functions in GCMemcard.cpp.
2013-04-17New license header introduced for DiscIO, AudioCommon, InputCommon, ↵Lioncash
VideoCommon, and Common projects.
2013-03-19Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon.lioncash
Not planning to touch Core since it's the most actively changed part of the project.
2013-03-06Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/CMakeLists.txt Source/Core/DolphinWX/Src/GLInterface.h Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/VertexManagerBase.cpp Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp Source/Plugins/Plugin_VideoDX9/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj.filters Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/main.cpp
2013-03-01also don't cleanup efb copys on efb2ramdegasus
these may be upscaled and this high res textures would be lost
2013-02-25fix last commit by neobraindegasus
2013-02-25Build fixing.NeoBrainX
2013-02-25TextureCacheBase: Do not assume EFB copies can safely be deleted when we ↵NeoBrainX
think they're "unused". Fixes issue 6040.
2013-02-20Revert "Don't load level 0 twice for 1-level textures in DX11." and fix it ↵Jordan Woyak
properly. All backend TextureCaches now load level 0 in CreateTexture. This reverts commit 294cb165ba3449cc4fd96eabb5272e2984a58eb8.
2013-02-18Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/Dolphin.vcxproj Source/Core/DolphinWX/Src/GLInterface/WX.cpp Source/Core/DolphinWX/Src/GLInterface/WX.h Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/TextureCacheBase.h Source/Plugins/Plugin_VideoDX11/Src/TextureCache.cpp Source/Plugins/Plugin_VideoDX11/Src/TextureCache.h Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp Source/Plugins/Plugin_VideoDX9/Src/TextureCache.h Source/Plugins/Plugin_VideoOGL/Src/Render.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.h Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp damn mipmap_fixes ...
2013-02-18TextureCache: Fix D3D backends crashing when a game uses multiple 1x1-sized ↵NeoBrainX
LODs.
2013-02-15Changes/cleanup to TextureCache::Load and other mipmap related code.Jordan Woyak
The significant change is what is now line 520 of TextureCacheBase.cpp: ((std::max(mipWidth, bsw) * std::max(mipHeight, bsh) * bsdepth) >> 1) to TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat); Fixes issue 5328. Fixes issue 5461.
2013-02-07Merge branch 'mipmap_fixes'.NeoBrainX
2013-01-28move RestoreAPIState and ResetAPIState into backendsdegasus
it's a backend specific hack, so it should be here should give a small speedup in dx11 efb2tex
2013-01-24Merge branch 'immediate-removal' into GLSL-masterdegasus
Conflicts: Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Plugins/Plugin_VideoSoftware/Src/SWRenderer.cpp immediate-removal is a new created branch seperated from master but reverted the revert of immediate-removal so we get less conflicts by merging
2013-01-19add stage parameter for texture load, so ogl can bind to the correct samplerdegasus
2013-01-10VideoCommon: Implement proper RGBA8 texture loading from tmem.NeoBrainX
2013-01-08Fix an issue where an iterator would become invalidated in ↵Lioncash
TextureCache::ClearRenderTargets()
2013-01-08Fix clearing of render targets. We were skipping every other one.Ryan Houdek
2012-12-24TextureCacheBase: Fix a potential bug when using custom textures.NeoBrainX
2012-12-17TextureCacheBase: Delete textures completely instead of just invalidating ↵NeoBrainX
them in ClearRenderTargets. That's what would've been done in the next TCB::Load() call, anyway. Fixes issue 5742. Additionally, change efb copies to specify 1 as the number of mipmaps because that makes more sense than anything else.
2012-10-20[cleanup] TextureCache: Kill the autogen_mipmap parameterNeoBrainX
2012-10-20[cleanup] [bugfix] TextureCacheBase: Cleanup and simplify mipmapping logic. ↵NeoBrainX
Possibly fixes a bug or two.
2012-10-20[optimization] TextureCacheBase: Slightly loosen the requirements for ↵NeoBrainX
reusing mipmapped textures
2012-06-27Add a missing Invalidate() call in ~TextureCache(). Fixes a regression from ↵Pierre Bourdon
8bed27a3d1e3 causing textures to load improperly when a game is run two times in the same Dolphin instance
2012-06-20Fix a small bug.NeoBrainX
2012-06-20Minor cleanup.NeoBrainX
2012-06-20Enable texture format overlay on the fly.NeoBrainX
2012-06-20Enable hires textures even when texture dumping is enabled.NeoBrainX
Remove some deprecated code.
2012-06-20Instead of invalidating texcache whenever the graphics configuration dialog ↵NeoBrainX
gets opened, clean up textures on configuration changes.
2012-06-08Fast mipmaps deserves to die!!NeoBrainX
2012-05-13TextureCacheBase: Remove the texture size limit for custom textures. Only ↵NeoBrainX
the GPU restrictions for maximum texture size remain.
2012-05-13TextureCacheBase: Support loading custom mipmaps.NeoBrainX
2012-05-13TextureCacheBase: Support dumping individual mipmaps.NeoBrainX
2012-05-13TextureCacheBase: Move texture dumping to a helper function.NeoBrainX
2012-05-13TextureCacheBase: Move custom texture loading to a helper functionNeoBrainX
2012-03-20Fix some regressions from r3b38295cbd08.NeoBrainX
2012-02-04TextureCacheBase: Remove a superfluous TODO (texture hashing takes care of ↵NeoBrainX
that stuff)
2012-02-03Implement texture preloadingNeoBrainX
2012-01-31Add license header for TextureCacheBase filesNeoBrainX
2012-01-31TextureCacheBase: Replace the efbcopy_state member variable of texture cache ↵NeoBrainX
entries with a more general "texture type"
2012-01-31TextureCacheBase: Update and improve documentation for EFB copiesNeoBrainX
2012-01-31TextureCacheBase: Remove a redundant variableNeoBrainX
2012-01-31TextureCacheBase: De-uglify hybrid EFB copies (documentation needs updating ↵NeoBrainX
though) TextureCacheBase: Fixed dynamic EFB copies being set to normal textures.
2012-01-31TextureCacheBase: Small bugfixNeoBrainX
Added documentation for hybrid EFB copy stuff
2012-01-31TextureCache: Remove unsafe texture cacheNeoBrainX
2012-01-31TextureCacheBase: Move around stuff, add some TODOsNeoBrainX
2012-01-31TextureCacheBase: More cleanup...NeoBrainX