dolphin/Source/Core/VideoCommon
degasus ca8d9e2215 TextureCache: Don't lock freed rendertargets for one frame.
New Super Mario Bros on PAL still renders at 60 fps, but skips every 5th XFB copy.
So our detection of "per frame" fails, and we require twice the amound of texture objects.
But our pool frees unused textures after 3 frames, so half of them needs to be reallocated
every few frames.

This commit removes the lock for render targets. It was introduced to not update a texture
while it is still in use. But render targets aren't updated while rendering, so this
lock isn't needed. Non-rendertarget textures however aren't as dynamic, so the lock should
have no performance update.
2017-03-22 23:28:42 +01:00
..
AsyncRequests.cpp VideoCommon: Eliminate static state in Renderer 2017-03-04 16:39:50 +10:00
AsyncRequests.h specify custom brace style to fix unions 2017-01-05 12:55:13 +01:00
AVIDump.cpp Appease linter. 2017-03-05 17:29:46 -08:00
AVIDump.h AVIDump: Rename CloseFile to CloseVideoFile 2017-01-29 22:05:12 -05:00
BoundingBox.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
BoundingBox.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
BPFunctions.cpp VideoCommon: Eliminate static state in Renderer 2017-03-04 16:39:50 +10:00
BPFunctions.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
BPMemory.cpp BPMemory: Eliminate union type punning 2017-01-23 16:05:32 -05:00
BPMemory.h BPMemory: Add const specifier to member functions where applicable 2017-01-23 16:07:03 -05:00
BPStructs.cpp Merge pull request #4935 from Armada651/depth-range-fix 2017-03-10 18:05:52 +01:00
BPStructs.h VideoCommon: Header cleanup 2016-01-17 20:11:45 -05:00
CMakeLists.txt CMakeLists: Normalize whitespace 2017-03-01 14:53:23 -05:00
CommandProcessor.cpp CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
CommandProcessor.h CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
ConstantManager.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
CPMemory.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
CPMemory.h specify custom brace style to fix unions 2017-01-05 12:55:13 +01:00
DataReader.h Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
Debugger.cpp Further fixes to the formatting change. WX sucks. 2016-06-24 12:16:10 +02:00
Debugger.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
DriverDetails.cpp Disable pinned memory for AMD mesa drivers 2017-02-26 10:49:28 -05:00
DriverDetails.h DriverDetails: Make the bug identifiers humanly readable. 2016-10-31 15:02:08 +01:00
Fifo.cpp Remove special condition for auto dual core determinism 2017-02-01 15:43:47 +01:00
Fifo.h Remove Frameskip 2016-10-08 11:49:51 -05:00
FPSCounter.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
FPSCounter.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
FramebufferManagerBase.cpp VideoCommon: Fix crash at startup with virtual XFB enabled 2017-03-09 23:39:48 +10:00
FramebufferManagerBase.h VideoCommon: Fix crash at startup with virtual XFB enabled 2017-03-09 23:39:48 +10:00
GeometryShaderGen.cpp ShaderGenCommon: Remove unnecessary includes 2017-02-01 12:19:55 -05:00
GeometryShaderGen.h ShaderGenCommon: Remove unnecessary includes 2017-02-01 12:19:55 -05:00
GeometryShaderManager.cpp ShaderManagers: Use aggregate initialization for some variables. 2016-12-10 17:33:51 -05:00
GeometryShaderManager.h VideoBackends: Merge Initialize and Shutdown functions. 2016-06-26 12:34:59 +02:00
HiresTextures.cpp Unify the way of setting game ID, title ID, revision 2017-03-09 15:34:14 +01:00
HiresTextures.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
ImageWrite.cpp ImageWriter: Don't use inplace alpha truncation. 2016-10-08 12:02:49 +02:00
ImageWrite.h ImageWriter: Don't use inplace alpha truncation. 2016-10-08 12:02:49 +02:00
IndexGenerator.cpp OpcodeDecoding: Convert #defines into enum constants 2017-02-08 00:05:17 -05:00
IndexGenerator.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
LightingShaderGen.cpp ShaderGenCommon: Remove unnecessary includes 2017-02-01 12:19:55 -05:00
LightingShaderGen.h LightingShaderGen: Remove unnecessary includes 2017-02-01 01:06:00 -05:00
LookUpTables.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
MainBase.cpp Merge pull request #4618 from Helios747/bounding_box_check 2017-02-06 21:58:19 +01:00
NativeVertexFormat.h Shader UID change: Only store the two bits of components we need. 2016-06-26 16:13:19 +12:00
OnScreenDisplay.cpp Revert "Merge pull request #4286 from shuffle2/Aestek-clean-osd" 2016-10-15 12:44:37 +02:00
OnScreenDisplay.h Revert "Merge pull request #4286 from shuffle2/Aestek-clean-osd" 2016-10-15 12:44:37 +02:00
OpcodeDecoding.cpp CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
OpcodeDecoding.h OpcodeDecoding: Convert #defines into enum constants 2017-02-08 00:05:17 -05:00
PerfQueryBase.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
PerfQueryBase.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
PixelEngine.cpp PixelEngine: Use a DirectRead for the token. 2017-01-27 07:49:47 +01:00
PixelEngine.h PixelEngine: Move enum constants into the PixelEngine namespace 2017-02-28 07:01:50 -05:00
PixelShaderGen.cpp videoconfig: add BBoxPreferStencilImplementation 2017-03-15 17:41:33 -07:00
PixelShaderGen.h VideoCommon: Make dst_alpha state implicit. 2017-01-04 20:02:31 +01:00
PixelShaderManager.cpp VideoCommon: Move last EFB scale handling to CalculateTargetSize 2017-03-04 16:53:07 +10:00
PixelShaderManager.h VideoCommon: Move last EFB scale handling to CalculateTargetSize 2017-03-04 16:53:07 +10:00
PostProcessing.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
PostProcessing.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
RenderBase.cpp OGL: Remove support for NV_depth_buffer_float. 2017-03-14 01:02:13 +01:00
RenderBase.h Merge pull request #4935 from Armada651/depth-range-fix 2017-03-10 18:05:52 +01:00
RenderState.cpp BlendState: Use masking as a fastpath for the logic op NO_OP. 2017-01-06 14:01:39 +01:00
RenderState.h VideoCommon: Assembly blending state in a shared state object. 2017-01-06 14:01:36 +01:00
SamplerCommon.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
sfont.inc
ShaderGenCommon.h ShaderGenCommon: Remove unnecessary includes 2017-02-01 12:19:55 -05:00
Statistics.cpp VideoCommon: Make API_TYPE an enum class 2016-07-29 19:20:16 -04:00
Statistics.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
TextureCacheBase.cpp TextureCache: Don't lock freed rendertargets for one frame. 2017-03-22 23:28:42 +01:00
TextureCacheBase.h TextureCache: Add a dirty bit for partial updates on overlapping EFB copies. 2016-12-27 17:26:04 +01:00
TextureConversionShader.cpp VideoCommon: Add APIType entry for Vulkan 2016-10-01 01:09:11 +10:00
TextureConversionShader.h VideoCommon: Make API_TYPE an enum class 2016-07-29 19:20:16 -04:00
TextureDecoder_Common.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
TextureDecoder_Generic.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
TextureDecoder_Util.h TextureDecoder: Deduplicate some utility code 2017-01-15 20:23:26 +11:00
TextureDecoder_x64.cpp Merge pull request #4548 from stenzek/gcc-sse 2017-03-13 14:28:01 +01:00
TextureDecoder.h TextureDecoder: Deduplicate some utility code 2017-01-15 20:23:26 +11:00
VertexLoader_Color.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_Color.h VideoCommon: Header cleanup 2016-01-17 20:11:45 -05:00
VertexLoader_Normal.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_Normal.h Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_Position.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_Position.h Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_TextCoord.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_TextCoord.h Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader.cpp VertexLoaderJit: Fix out-of-bounds access for zfreeze. 2016-09-17 16:47:12 +02:00
VertexLoader.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VertexLoaderARM64.cpp Merge pull request #4210 from degasus/arm 2016-09-27 18:45:14 +02:00
VertexLoaderARM64.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VertexLoaderBase.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VertexLoaderBase.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VertexLoaderManager.cpp VertexManagerBase: Make CreateNativeVertexFormat return a unique_ptr 2017-02-18 03:16:24 -05:00
VertexLoaderManager.h Remove Frameskip 2016-10-08 11:49:51 -05:00
VertexLoaderUtils.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VertexLoaderX64.cpp VertexLoaderX64: Avoid unchecked pointer cast. 2016-12-04 13:09:16 +01:00
VertexLoaderX64.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VertexManagerBase.cpp OpcodeDecoding: Convert #defines into enum constants 2017-02-08 00:05:17 -05:00
VertexManagerBase.h VertexManagerBase: Make CreateNativeVertexFormat return a unique_ptr 2017-02-18 03:16:24 -05:00
VertexShaderGen.cpp VertexShaderGen: Correct for negative viewport dimensions. 2017-03-16 12:34:19 +01:00
VertexShaderGen.h VertexShaderGen: Remove the need for an extra UID. 2017-01-13 14:01:17 +01:00
VertexShaderManager.cpp Merge pull request #4935 from Armada651/depth-range-fix 2017-03-10 18:05:52 +01:00
VertexShaderManager.h VideoBackends: Merge Initialize and Shutdown functions. 2016-06-26 12:34:59 +02:00
VideoBackendBase.cpp Don't build Vulkan video backend on macOS 2016-10-06 16:53:55 -07:00
VideoBackendBase.h CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
VideoCommon.h VideoCommon: Add APIType entry for Vulkan 2016-10-01 01:09:11 +10:00
VideoCommon.vcxproj VideoCommon: Assembly blending state in a shared state object. 2017-01-06 14:01:36 +01:00
VideoCommon.vcxproj.filters TextureDecoder: Deduplicate some utility code 2017-01-15 20:23:26 +11:00
VideoConfig.cpp videoconfig: add BBoxPreferStencilImplementation 2017-03-15 17:41:33 -07:00
VideoConfig.h videoconfig: add BBoxPreferStencilImplementation 2017-03-15 17:41:33 -07:00
VideoState.cpp VertexManagerBase: Get rid of static behavior 2016-08-21 23:30:38 -04:00
VideoState.h VideoBackends: Merge Initialize and Shutdown functions. 2016-06-26 12:34:59 +02:00
XFMemory.cpp VideoCommon: Header cleanup 2016-01-17 20:11:45 -05:00
XFMemory.h specify custom brace style to fix unions 2017-01-05 12:55:13 +01:00
XFStructs.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
XFStructs.h