dolphin/Source/Core/VideoCommon/Src
degasus 6cece6b486 VideoCommon: create native texture pool
We often need the same native texture objects for new textures. This commit
try to avoid destroying and creation of this textures by pooling them.

This should be a big performance gain for some efb2ram games as they may
overwrites partially a cached texture (which would be deleted) and afterwards
try to read it.

Creating/destroying sounds like an easy task, but it isn't. eg the nvidia ogl
driver synchonize their threads do avoid use-after-free issues.
2013-11-05 12:21:22 +01:00
..
OpenCL Fix {Read,Write}FileToString. 2013-11-05 00:33:41 +13:00
AVIDump.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
AVIDump.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
BPFunctions.cpp VideoCommon: drop UpdateViewportWithCorrection 2013-10-29 18:55:50 +01:00
BPFunctions.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
BPMemory.cpp ShaderGen: Static inline everything. 2013-08-12 18:30:42 +02:00
BPMemory.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
BPStructs.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
BPStructs.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
CPMemory.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
CPMemory.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
CommandProcessor.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
CommandProcessor.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
ConstantManager.h OGL: update ubo workaround 2013-10-12 20:31:59 +02:00
DLCache.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
DataReader.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
Debugger.cpp Fix {Read,Write}FileToString. 2013-11-05 00:33:41 +13:00
Debugger.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
DriverDetails.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
DriverDetails.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
EmuWindow.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
EmuWindow.h fixed a freeze on emu shutdown in windows build 2011-12-19 15:13:26 -08:00
FPSCounter.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
FPSCounter.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Fifo.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
Fifo.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
FramebufferManagerBase.cpp Formatting cleanup for VideoCommon. 2013-04-24 09:21:54 -04:00
FramebufferManagerBase.h Revert "Made several variables/parameters unsigned in the DX9, DX11 and OGL plugins. They make more sense like this (given their names)." 2013-01-16 15:46:11 -05:00
GenericDLCache.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
GenericTextureDecoder.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
HiresTextures.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
HiresTextures.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
ImageWrite.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
ImageWrite.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
IndexGenerator.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
IndexGenerator.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
LightingShaderGen.h [Android] Tegra 4 'support.' This brings up the OpenGL backend to support Tegra 4 to the point where it will run games but it doesn't have any video output for some reason. This is a large change that doesn't actually change much functionally. Walking through the changes. 2013-10-06 03:12:29 -05:00
LookUpTables.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
MainBase.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
MainBase.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
NativeVertexFormat.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
OnScreenDisplay.cpp [Android] Fix the ability to stop the game and start another. 2013-09-23 01:43:18 -05:00
OnScreenDisplay.h Refactor VideoCommon/OnScreenDisplay. 2013-08-24 02:13:54 +02:00
OpcodeDecoding.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
OpcodeDecoding.h Fix a bunch of random typos in comments and logging. 2013-04-19 09:21:45 -04:00
OpenCL.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
OpenCL.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
PerfQueryBase.cpp Add an option to enable performance queries in gameini files, disable it by default 2013-08-14 23:16:46 +02:00
PerfQueryBase.h Add an option to enable performance queries in gameini files, disable it by default 2013-08-14 23:16:46 +02:00
PixelEngine.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
PixelEngine.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
PixelShaderGen.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
PixelShaderGen.h OGL: update ubo workaround 2013-10-12 20:31:59 +02:00
PixelShaderManager.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
PixelShaderManager.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
RenderBase.cpp Actually, filename really does need to be a parameter because of some random debug thing. 2013-11-02 22:44:27 -04:00
RenderBase.h Actually, filename really does need to be a parameter because of some random debug thing. 2013-11-02 22:44:27 -04:00
ShaderGenCommon.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
Statistics.cpp add new statistics for gpu buffer streaming 2013-05-23 21:07:01 +02:00
Statistics.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
TextureCacheBase.cpp VideoCommon: create native texture pool 2013-11-05 12:21:22 +01:00
TextureCacheBase.h VideoCommon: create native texture pool 2013-11-05 12:21:22 +01:00
TextureConversionShader.cpp ogl: drop all %f from TextureConversionShader 2013-11-04 12:38:55 +01:00
TextureConversionShader.h VideoCommon: keep a copy of the const buffer in VideoCommon 2013-10-12 20:29:56 +02:00
TextureDecoder.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexLoader.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexLoader.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexLoaderManager.cpp Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up. 2013-11-03 20:54:01 -05:00
VertexLoaderManager.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
VertexLoader_Color.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexLoader_Color.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
VertexLoader_Normal.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexLoader_Normal.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexLoader_Position.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexLoader_Position.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
VertexLoader_TextCoord.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexLoader_TextCoord.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
VertexManagerBase.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexManagerBase.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexShaderGen.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexShaderGen.h VideoCommon: remove constants.depthparams[2+3] as they aren't used in the shader at all 2013-10-29 18:55:50 +01:00
VertexShaderManager.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VertexShaderManager.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VideoBackendBase.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VideoBackendBase.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VideoCommon.h ogl: implement useful constant buffer upload 2013-10-12 20:29:56 +02:00
VideoConfig.cpp Remove some now unused VideoConfig settings. 2013-10-06 13:28:46 +02:00
VideoConfig.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VideoState.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
VideoState.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
XFMemory.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
XFMemory.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
XFStructs.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
XFStructs.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
memcpy_amd.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
stdafx.cpp Update to VS2013 and a slew of build-related updates. Notes: 2013-10-26 17:55:38 -07:00
stdafx.h Update to VS2013 and a slew of build-related updates. Notes: 2013-10-26 17:55:38 -07:00
x64DLCache.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
x64TextureDecoder.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00