1
0
forked from 0ad/0ad
0ad/source/renderer
wraitii 8ae3c09dc0 Fix renderer crash in GCC 7.5.
The 'arena' allocator does not take memory alignment into account, which
can result in crashes at -O3 with gcc 7.5 (presumably because of SSE
instructions).

This accounts for alignment issues, fixing the issue.
Also do various cleanup in lib/allocators.

Reported by: Bellaz89, Freagarach
Comments by: vladislavbelov
Differential Revision: https://code.wildfiregames.com/D3181
This was SVN commit r24517.
2021-01-06 14:56:17 +00:00
..
scripting Allow registering hooks that trigger on config changes. 2020-11-21 11:57: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
DecalRData.cpp Moves terrain lighting calculation to GPU. 2020-11-04 12:54:17 +00:00
DecalRData.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
HWLightingModelRenderer.cpp Fix ODR violation for ShaderModelRendererInternals. 2020-08-06 11:33:26 +00:00
HWLightingModelRenderer.h Fix ODR violation for ShaderModelRendererInternals. 2020-08-06 11:33:26 +00:00
InstancingModelRenderer.cpp Adds const to Material and CShaderProgram::Binding methods, removes a redundant variable from ModelRenderer 2020-01-26 21:32:12 +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 Fix most of the new vs2017 induced warnings. 2020-11-26 22:28:50 +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 Replaces direct Camera member usage by appropriate method call (m_Orientation > GetOrientation()). 2019-12-14 12:56:47 +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 Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
PatchRData.h Little cleanup of PatchRData by reordering includes and correctly formats some loops. 2020-11-04 15:53:33 +00:00
PostprocManager.cpp Fix 3391542fec: AA / Sharpness not being correctly enabled at the start. 2020-12-03 12:19:44 +00:00
PostprocManager.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
Renderer.cpp Replace DISCARD macro with ignore_result template. 2020-12-15 09:03:44 +00:00
Renderer.h Allow registering hooks that trigger on config changes. 2020-11-21 11:57:14 +00:00
RenderingOptions.cpp Fix rendering options failures following 8a1b3d6769 2020-11-22 11:09:13 +00:00
RenderingOptions.h Fix rendering options failures following 8a1b3d6769 2020-11-22 11:09:13 +00:00
RenderModifiers.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +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 # Initial version of new particle system. 2011-04-03 19:15:15 +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 Moves calculations of bounds for fixed shadows to a separate function. 2020-06-12 20:09:08 +00:00
ShadowMap.h Fix missing ShadowMap headers in previous, da4e601d8f. 2019-08-04 05:58:55 +00:00
SilhouetteRenderer.cpp Removes usages of duplication of Clamp function in gui, ps and renderer. Refs D1763. 2019-09-18 14:44:31 +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 Completely separates fixed and shader paths in sky rendering. 2020-08-09 15:21:06 +00:00
SkyManager.h Removes unused variable. It was introduced in f0615df318, an interface to control 2019-04-02 18:49:12 +00:00
TerrainOverlay.cpp Fixes terrain overlays by removing fixed pipeline dependency. 2020-11-09 18:50:40 +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 Replace DISCARD macro with ignore_result template. 2020-12-15 09:03:44 +00:00
TerrainRenderer.h Fixes terrain overlays by removing fixed pipeline dependency. 2020-11-09 18:50:40 +00:00
TexturedLineRData.cpp Fix most of the new vs2017 induced warnings. 2020-11-26 22:28:50 +00:00
TexturedLineRData.h Optimise out of frustum rendering of texture overlays. 2019-12-10 23:13:37 +00:00
TimeManager.cpp added licensing headers to some of the new files 2012-08-06 21:34:41 +00:00
TimeManager.h End source files with a newline. 2016-11-23 11:27:54 +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 Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
VertexBuffer.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
VertexBufferManager.cpp Fix some format specifiers in debug strings. Reviewed by leper. 2017-09-16 15:28:01 +00:00
VertexBufferManager.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
WaterManager.cpp Fix most of the new vs2017 induced warnings. 2020-11-26 22:28:50 +00:00
WaterManager.h Removes additional depth texture copying and reusing existing refraction depth. 2020-11-11 18:46:52 +00:00