1
0
forked from 0ad/0ad
0ad/source/renderer
wraitii 66fbc23f2c De-singletonify CConfigDB, make hooks RAII.
CConfigDB is no longer a singleton, and its members are no longer
static.
This makes it possible to have several instances of it, useful for
testing of if we ever want to have different config profiles.

Also updates hooks to delete themselves on destruction, to fit a more
natural RAII pattern. Long-lived objects must take care to destroy hooks
before ConfigDB is reset.

Differential Revision: https://code.wildfiregames.com/D3866
This was SVN commit r25326.
2021-04-27 07:45:40 +00:00
..
scripting Refactor all usage of RegisterFunction to ScriptFunction::Register 2021-03-02 20:01:14 +00:00
AlphaMapCalculator.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
AlphaMapCalculator.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
BlendShapes.h fix relics of GPL comment insertion (removing empty description comments and in some cases adding new file descriptions) 2009-05-03 11:47:38 +00:00
DebugRenderer.cpp Removes glBegin from scene rendering, removes GL matrix stack dependency from scene rendering. 2021-04-26 21:11:35 +00:00
DebugRenderer.h Removes glBegin from scene rendering, removes GL matrix stack dependency from scene rendering. 2021-04-26 21:11:35 +00:00
DecalRData.cpp Do not generate render data in case CDecal calculated wrong coordinates. 2021-02-18 21:09:41 +00:00
DecalRData.h Switches decals to VBChunk to reduce the number of state changes. 2021-02-10 23:48:43 +00:00
HWLightingModelRenderer.cpp Removes CPU lighting after no FFP 2021-01-13 21:03:55 +00:00
HWLightingModelRenderer.h Removes CPU lighting after no FFP 2021-01-13 21:03:55 +00:00
InstancingModelRenderer.cpp Removes redundant normalizations for float types. 2021-02-04 20:03:03 +00:00
InstancingModelRenderer.h ao/parallax/normal/specular/emissive mapping; windy trees; time manager; render queries; conditional defines 2012-08-06 19:10:47 +00:00
MikktspaceWrap.cpp Further cleanup of MikkTSpace 2019-05-30 23:03:01 +00:00
MikktspaceWrap.h Further cleanup of MikkTSpace 2019-05-30 23:03:01 +00:00
ModelRenderer.cpp Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
ModelRenderer.h Fix ODR violation for ShaderModelRendererInternals. 2020-08-06 11:33:26 +00:00
ModelVertexRenderer.h Forward-declare CShaderProgramPtr, to avoid pulling in more headers than necessary and to hypothetically reduce build times by a minuscule amount. 2014-07-02 22:36:45 +00:00
OverlayRenderer.cpp Adds line drawing to DebugRenderer. 2021-04-25 20:48:44 +00:00
OverlayRenderer.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ParticleRenderer.cpp Removes low-level GL calls from graphics and geometrics primitives and adds DebugRenderer. 2021-04-15 18:07:01 +00:00
ParticleRenderer.h Forward-declare CShaderProgramPtr, to avoid pulling in more headers than necessary and to hypothetically reduce build times by a minuscule amount. 2014-07-02 22:36:45 +00:00
PatchRData.cpp Adds line drawing to DebugRenderer. 2021-04-25 20:48:44 +00:00
PatchRData.h Separates allocated vertex buffers into groups for data locality. 2021-02-08 22:34:10 +00:00
PostprocManager.cpp Removes useless framebuffer clears by glClear. 2021-03-02 21:20:26 +00:00
PostprocManager.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
Renderer.cpp Fixes missing DrawCameraFrustum argument after 5e12424123. 2021-04-26 21:21:13 +00:00
Renderer.h Removes low-level GL calls from graphics and geometrics primitives and adds DebugRenderer. 2021-04-15 18:07:01 +00:00
RenderingOptions.cpp De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
RenderingOptions.h De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
RenderModifiers.cpp Removes code duplications for binding shadows to shaders. 2021-01-19 19:19:04 +00:00
RenderModifiers.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Scene.cpp Allow empty actor files. 2021-04-09 15:45:31 +00:00
Scene.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ShadowMap.cpp Removes unused debug render from ShadowMap. 2021-04-17 22:16:01 +00:00
ShadowMap.h Cleanups ShadowMap, fixes possibly wrong depth format name for GLES. 2021-03-25 12:09:56 +00:00
SilhouetteRenderer.cpp Rework 7ee94f23df 2021-04-16 16:01:30 +00:00
SilhouetteRenderer.h Rename ps/Overlay(.h|.cpp) to ps/Shapes(.h|.cpp), fixes a TODO located in graphics/Overlay.h. 2015-03-15 18:06:32 +00:00
SkyManager.cpp Partly restores the requested functionality to hide skies removed in 78d4dd0109. 2021-01-17 13:28:37 +00:00
SkyManager.h Fix no pch build. 2021-01-17 15:40:10 +00:00
TerrainOverlay.cpp Removes glBegin from scene rendering, removes GL matrix stack dependency from scene rendering. 2021-04-26 21:11:35 +00:00
TerrainOverlay.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
TerrainRenderer.cpp Adds line drawing to DebugRenderer. 2021-04-25 20:48:44 +00:00
TerrainRenderer.h Removes unused GL texture properties after removed FFP. 2021-01-12 23:18:29 +00:00
TexturedLineRData.cpp Moves Frustum from graphics to maths to more related geometric primitives like bounding ones. 2021-03-29 17:28:13 +00:00
TexturedLineRData.h Optimise out of frustum rendering of texture overlays. 2019-12-10 23:13:37 +00:00
TimeManager.cpp Removes unused header dependencies from CTimeManager. 2021-04-14 22:14:37 +00:00
TimeManager.h Removes unused header dependencies from CTimeManager. 2021-04-14 22:14:37 +00:00
VertexArray.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
VertexArray.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
VertexBuffer.cpp Separates allocated vertex buffers into groups for data locality. 2021-02-08 22:34:10 +00:00
VertexBuffer.h Separates allocated vertex buffers into groups for data locality. 2021-02-08 22:34:10 +00:00
VertexBufferManager.cpp Changes CVertexBufferManager container from std::list to std::vector. 2021-02-08 22:37:44 +00:00
VertexBufferManager.h Changes CVertexBufferManager container from std::list to std::vector. 2021-02-08 22:37:44 +00:00
WaterManager.cpp Removes unused shadow settings forgotten in 12e2428495, removes direct SkipSubmit access. 2021-04-14 20:25:05 +00:00
WaterManager.h Removes useless option for shadows on water 2021-01-15 15:45:39 +00:00