dolphin/Source/Core/VideoCommon
degasus bb2fc8ecbb VideoCommon: Cache native vertex formats
We are used to have a 1:1 mapping of GX vertex formats and the native (OGL + D3D) ones, but there are by far more GX ones.
This new cache maps them directly so that we don't flush on GX vertex format changes as long as the native one doesn't change.

The idea is stolen from galop1n.
2014-07-04 14:39:27 +02:00
..
AVIDump.cpp Centralize the logging code into its own folder in Common. 2014-06-25 22:11:42 -04:00
AVIDump.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
BPFunctions.cpp Fix the capitalization of "GameCube" throughout the project. 2014-06-08 11:24:49 +09:00
BPFunctions.h BPStructs: Consistently put the two shared copy args first 2014-05-20 11:28:15 -04:00
BPMemory.cpp BPStructs: Move LoadBPReg here 2014-05-20 11:28:14 -04:00
BPMemory.h Fix a typo in a BP register name (BPMEM_TX_SETLUT_4 -> BPMEM_TX_SETTLUT_4). 2014-06-02 02:26:30 -04:00
BPStructs.cpp Fix the capitalization of "GameCube" throughout the project. 2014-06-08 11:24:49 +09:00
BPStructs.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
CMakeLists.txt Make it so ARMv7 isn't a generic target. 2014-06-07 20:26:31 -05:00
CommandProcessor.cpp Video backends: remove dead code. 2014-06-01 01:56:09 -07:00
CommandProcessor.h Video backends: remove dead code. 2014-06-01 01:56:09 -07:00
ConstantManager.h LightingShader: hard code const variable 2014-06-19 16:46:53 +02:00
CPMemory.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
CPMemory.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
DataReader.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
Debugger.cpp BPMemory: Expose the pixel_format and zformat fields in PE_CONTROL as enumerations. 2014-03-25 23:57:58 +01:00
Debugger.h Kill off some usages of c_str. 2014-03-14 13:51:23 -04:00
DriverDetails.cpp Centralize the logging code into its own folder in Common. 2014-06-25 22:11:42 -04:00
DriverDetails.h Enables usage of GLSL textureSize on Qualcomm v66. 2014-05-05 08:50:13 -05:00
Fifo.cpp Fixes spacing for "for", "while", "switch" and "if" 2014-03-11 00:35:07 +13:00
Fifo.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
FPSCounter.cpp FPS counter cleanup 2014-07-02 20:23:09 -04:00
FPSCounter.h FPS counter cleanup 2014-07-02 20:23:09 -04:00
FramebufferManagerBase.cpp VideoCommon: recreate XFB texture when the XFB size changes. 2014-05-05 11:01:14 -07:00
FramebufferManagerBase.h clang-modernize -use-nullptr 2014-03-09 21:14:26 +01:00
HiresTextures.cpp Fix some warnings. 2014-06-04 01:04:52 +02:00
HiresTextures.h Kill off some usages of c_str. 2014-03-14 13:51:23 -04:00
ImageWrite.cpp Kill off replaceable usages of s[n]printf. 2014-06-18 19:53:38 -04:00
ImageWrite.h Kill off replaceable usages of s[n]printf. 2014-06-18 19:53:38 -04:00
IndexGenerator.cpp Video backends: warn on usage of GL_DRAW_QUADS_2. 2014-05-17 11:55:32 -07:00
IndexGenerator.h Video backends: warn on usage of GL_DRAW_QUADS_2. 2014-05-17 11:55:32 -07:00
LightingShaderGen.h LightingShader: hard code const variable 2014-06-19 16:46:53 +02:00
LookUpTables.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
MainBase.cpp Video backends: remove dead code. 2014-06-01 01:56:09 -07:00
MainBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
NativeVertexFormat.h VideoCommon: Cache native vertex formats 2014-07-04 14:39:27 +02:00
OnScreenDisplay.cpp Kill off some usages of c_str. 2014-03-14 13:51:23 -04:00
OnScreenDisplay.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
OpcodeDecoding.cpp VideoCommon: remove unused stats 2014-06-27 09:35:26 +02:00
OpcodeDecoding.h Opcode decoding: handle missing opcodes 0x88 etc. 2014-05-10 20:33:28 -07:00
PerfQueryBase.cpp clang-modernize -use-nullptr 2014-03-09 21:14:26 +01:00
PerfQueryBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
PixelEngine.cpp Video backends: remove dead code. 2014-06-01 01:56:09 -07:00
PixelEngine.h Video backends: remove dead code. 2014-06-01 01:56:09 -07:00
PixelShaderGen.cpp LightingShader: hard code const variable 2014-06-19 16:46:53 +02:00
PixelShaderGen.h LightingShader: hard code const variable 2014-06-19 16:46:53 +02:00
PixelShaderManager.cpp PixelShader: remove the duplicated ppl constants 2014-06-19 16:33:33 +02:00
PixelShaderManager.h PixelShader: remove the duplicated ppl constants 2014-06-19 16:33:33 +02:00
RenderBase.cpp BPStructs: Consistently put the two shared copy args first 2014-05-20 11:28:15 -04:00
RenderBase.h BPStructs: Consistently put the two shared copy args first 2014-05-20 11:28:15 -04:00
ShaderGenCommon.h LightingShader: hard code const variable 2014-06-19 16:46:53 +02:00
Statistics.cpp Statistics: Reformat stats string 2014-06-27 09:36:50 +02:00
Statistics.h VideoCommon: remove unused stats 2014-06-27 09:35:26 +02:00
stdafx.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
stdafx.h Remove the min/max functions in CommonFuncs. 2014-05-29 21:44:41 -04:00
TextureCacheBase.cpp Kill off replaceable usages of s[n]printf. 2014-06-18 19:53:38 -04:00
TextureCacheBase.h BPMemory: Expose the pixel_format and zformat fields in PE_CONTROL as enumerations. 2014-03-25 23:57:58 +01:00
TextureConversionShader.cpp Fix texture conversion shaders for GLSL ES. 2014-04-22 15:48:26 -05:00
TextureConversionShader.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
TextureDecoder_Generic.cpp Fix the capitalization of "GameCube" throughout the project. 2014-06-08 11:24:49 +09:00
TextureDecoder_x64.cpp Fix the capitalization of "GameCube" throughout the project. 2014-06-08 11:24:49 +09:00
TextureDecoder.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Color.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Color.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
VertexLoader_Normal.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Normal.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Position.cpp clang-modernize -use-nullptr 2014-03-09 21:14:26 +01:00
VertexLoader_Position.h Remove unnecessary Src/ folders 2013-12-31 14:03:19 -05:00
VertexLoader_TextCoord.cpp clang-modernize -use-nullptr 2014-03-09 21:14:26 +01:00
VertexLoader_TextCoord.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader.cpp VideoCommon: Cache native vertex formats 2014-07-04 14:39:27 +02:00
VertexLoader.h Fix the vertexloader on non-x86 targets. 2014-06-13 18:36:54 +00:00
VertexLoaderManager.cpp VideoCommon: Cache native vertex formats 2014-07-04 14:39:27 +02:00
VertexLoaderManager.h VideoCommon: Cache native vertex formats 2014-07-04 14:39:27 +02:00
VertexManagerBase.cpp Fix a few warnings caused by using BitField with non-typesafe functions. 2014-06-11 20:58:40 +02:00
VertexManagerBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexShaderGen.cpp LightingShader: hard code const variable 2014-06-19 16:46:53 +02:00
VertexShaderGen.h LightingShader: hard code const variable 2014-06-19 16:46:53 +02:00
VertexShaderManager.cpp LightingShader: hard code const variable 2014-06-19 16:46:53 +02:00
VertexShaderManager.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VideoBackendBase.cpp clang-modernize -use-nullptr 2014-03-09 21:14:26 +01:00
VideoBackendBase.h VideoCommon: small cleanups. No functional change. 2014-06-16 14:03:29 -07:00
VideoCommon.h VideoCommon: small cleanups. No functional change. 2014-06-16 14:03:29 -07:00
VideoCommon.vcxproj Remove the 32-bit config platform from the VS solution and projects 2014-06-24 22:07:26 -04:00
VideoCommon.vcxproj.filters VideoCommon: small cleanups. No functional change. 2014-06-16 14:03:29 -07:00
VideoConfig.cpp Use only section-based ini reading. 2014-06-16 01:31:23 -04:00
VideoConfig.h VideoCommon: small cleanups. No functional change. 2014-06-16 14:03:29 -07:00
VideoState.cpp Video backends: mass-replace "xfregs" with "xfmem". 2014-05-16 18:58:07 -07:00
VideoState.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
XFMemory.cpp Video backends: mass-replace "xfregs" with "xfmem". 2014-05-16 18:58:07 -07:00
XFMemory.h VideoCommon: use the Light struct in XF memory 2014-06-19 16:33:29 +02:00
XFStructs.cpp PixelShader: remove the duplicated ppl constants 2014-06-19 16:33:33 +02:00
XFStructs.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00