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
BoundingBox.h
BPFunctions.cpp VideoCommon: Eliminate static state in Renderer 2017-03-04 16:39:50 +10:00
BPFunctions.h
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
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
CPMemory.cpp
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
Debugger.h
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
FPSCounter.cpp
FPSCounter.h
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
HiresTextures.cpp Unify the way of setting game ID, title ID, revision 2017-03-09 15:34:14 +01:00
HiresTextures.h
ImageWrite.cpp
ImageWrite.h
IndexGenerator.cpp OpcodeDecoding: Convert #defines into enum constants 2017-02-08 00:05:17 -05:00
IndexGenerator.h
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
MainBase.cpp Merge pull request #4618 from Helios747/bounding_box_check 2017-02-06 21:58:19 +01:00
NativeVertexFormat.h
OnScreenDisplay.cpp
OnScreenDisplay.h
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
PerfQueryBase.h
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
PostProcessing.h
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
sfont.inc
ShaderGenCommon.h ShaderGenCommon: Remove unnecessary includes 2017-02-01 12:19:55 -05:00
Statistics.cpp
Statistics.h
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
TextureConversionShader.h
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
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
VertexLoader.h
VertexLoaderARM64.cpp
VertexLoaderARM64.h
VertexLoaderBase.cpp
VertexLoaderBase.h
VertexLoaderManager.cpp VertexManagerBase: Make CreateNativeVertexFormat return a unique_ptr 2017-02-18 03:16:24 -05:00
VertexLoaderManager.h
VertexLoaderUtils.h
VertexLoaderX64.cpp VertexLoaderX64: Avoid unchecked pointer cast. 2016-12-04 13:09:16 +01:00
VertexLoaderX64.h
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
VideoBackendBase.cpp
VideoBackendBase.h CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
VideoCommon.h
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
VideoState.h
XFMemory.cpp
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