1
0
forked from 0ad/0ad
0ad/source/graphics
wraitii f7aa7ac79e Optimise HierarchicalPathfinder::Update by speeding up the chunk dirtiness check.
By adding a custom function in Grid, the code gets vectorised on both
gcc and clang, resulting in much faster code and faster update times,
sometimes substantially (on giant maps or when few chunks must be
updated).

Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D73
This was SVN commit r20630.
2017-12-10 08:59:43 +00:00
..
scripting Move GameView ScriptFunctions to its JS Interface, refs #4772. 2017-09-11 23:03:27 +00:00
tests Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Camera.cpp Adds a perspective matrix, refracts a matrix projection setup to prepare for an isometric view. 2017-10-29 23:41:59 +00:00
Camera.h Pass CVector3D as const reference in a few places. 2017-05-08 04:04:45 +00:00
CinemaManager.cpp Remove CinemaManager input handler to allow user interaction on other GUI pages like message boxes and possibly few selected hotkeys. 2017-08-12 10:32:07 +00:00
CinemaManager.h Remove CinemaManager input handler to allow user interaction on other GUI pages like message boxes and possibly few selected hotkeys. 2017-08-12 10:32:07 +00:00
ColladaManager.cpp Fix few typos found with the Debian lintian tool. 2017-10-28 22:34:57 +00:00
ColladaManager.h Split skeleton definitions into multiple files, adds hotloading support for skeleton files. Fixes #190. 2013-07-08 20:25:06 +00:00
Color.cpp Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
Color.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
Decal.cpp Fix crash when setting rally point 2013-09-29 14:02:47 +00:00
Decal.h MapReader: Load terrain before entities. 2014-06-01 18:08:11 +00:00
Entity.h Small cleanup, based on a change from one of Philip's old patches 2015-05-16 09:39:27 +00:00
Font.cpp Optimise glyph lookup in text renderer 2013-10-18 15:56:12 +00:00
Font.h Optimise rendering of scrollable text boxes by clipping 2013-10-18 16:05:02 +00:00
FontManager.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
FontManager.h Use CStrIntern for font names to reduce lookup cost 2013-10-18 16:15:42 +00:00
FontMetrics.cpp Use CStrIntern for font names to reduce lookup cost 2013-10-18 16:15:42 +00:00
FontMetrics.h Use CStrIntern for font names to reduce lookup cost 2013-10-18 16:15:42 +00:00
Frustum.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
Frustum.h Optimization of isBoxVisible + cleanup, fixes #3712 2015-12-28 16:27:31 +00:00
GameView.cpp Adds a wireframe mode to the water rendering. 2017-10-30 00:02:29 +00:00
GameView.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
HeightMipmap.cpp Texture system refactoring and cleanup, fixes #2455, patch by IronNerd. 2014-03-13 02:37:05 +00:00
HeightMipmap.h Compute camera height and zoom limits based on smoothed terrain heightmap. Fixes #794, based on patch by Dietger. 2012-04-18 20:39:00 +00:00
HFTracer.cpp Fix non-PCH build. 2014-07-06 16:35:41 +00:00
HFTracer.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
LightEnv.cpp Fixes MSVC warnings of truncation from double to float 2012-10-30 02:03:40 +00:00
LightEnv.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
LOSTexture.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
LOSTexture.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
MapGenerator.cpp Expose the same ReadJSONFile function to simulation, GUI and rmgen. 2017-12-03 23:02:27 +00:00
MapGenerator.h Delete unused SpiderMonkey GarbageCollection ScriptFunctions ForceGC in the AI and GUI context (e9e05f4efc) and MaybeGC in the random mapgen context (942a45372c). 2017-12-03 12:48:21 +00:00
MapIO.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
MapReader.cpp Use only one coordinate system for locations in the rmgen system. 2017-11-01 22:59:27 +00:00
MapReader.h Always delete CMapReader. Patch by Sandarac. Fixes #4154. 2017-08-25 00:37:48 +00:00
MapWriter.cpp Move most cinematic path simulation data and control from the graphics class to the simulation component and solve the hash mimatch in non-visual replay. 2017-04-05 03:59:20 +00:00
MapWriter.h Move most cinematic path simulation data and control from the graphics class to the simulation component and solve the hash mimatch in non-visual replay. 2017-04-05 03:59:20 +00:00
Material.cpp Check when loading an actor that it defines all the texture samplers required by its material. Print out a readable error otherwise. Fixes #1613 (note that this does not check for unnecessary samplers as that is non-trivial and does not lead to graphical glitches). 2015-03-15 11:37:26 +00:00
Material.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
MaterialManager.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
MaterialManager.h ao/parallax/normal/specular/emissive mapping; windy trees; time manager; render queries; conditional defines 2012-08-06 19:10:47 +00:00
MeshManager.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
MeshManager.h Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
MiniPatch.cpp # Handle terrain passability and movement costs in pathfinder. 2010-05-27 23:31:03 +00:00
MiniPatch.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
Model.cpp Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
Model.h Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
ModelAbstract.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ModelAbstract.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ModelDef.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ModelDef.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ObjectBase.cpp Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
ObjectBase.h Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
ObjectEntry.cpp Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
ObjectEntry.h Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
ObjectManager.cpp Replace some functor structs with lambdas, closures or range-based fors. 2015-08-19 03:33:04 +00:00
ObjectManager.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Overlay.cpp Move selection ring OverlayTexture code from CCmpSelectable::UpdateTexturedLineOverlay to the SOverlayTexturedLine struct in graphics/Overlay.cpp and SimRender in simulation2/helpers/Render.cpp. 2017-12-10 00:19:51 +00:00
Overlay.h Move selection ring OverlayTexture code from CCmpSelectable::UpdateTexturedLineOverlay to the SOverlayTexturedLine struct in graphics/Overlay.cpp and SimRender in simulation2/helpers/Render.cpp. 2017-12-10 00:19:51 +00:00
ParticleEmitter.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ParticleEmitter.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ParticleEmitterType.cpp XML validation. Based on patch by historic_bruno. Refs #245. 2015-06-07 21:56:52 +00:00
ParticleEmitterType.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ParticleManager.cpp Added elapsed real time (as opposed to elapsed simulation time) to MT_Interpolate messages. Fixes leftover TODO from #824. Refs #824. 2012-06-06 19:37:03 +00:00
ParticleManager.h Added elapsed real time (as opposed to elapsed simulation time) to MT_Interpolate messages. Fixes leftover TODO from #824. Refs #824. 2012-06-06 19:37:03 +00:00
Patch.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
Patch.h Fix culling for shadows and reflections. 2014-06-25 01:11:10 +00:00
RenderableObject.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
SColor.h Add GPL header 2009-04-18 17:00:33 +00:00
ShaderDefines.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ShaderDefines.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ShaderManager.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ShaderManager.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ShaderProgram.cpp Bump year number of files changed this year in the license headers. 2017-05-01 14:28:22 +00:00
ShaderProgram.h Bump year number of files changed this year in the license headers. 2017-05-01 14:28:22 +00:00
ShaderProgramFFP.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ShaderProgramPtr.h Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ShaderTechnique.cpp 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
ShaderTechnique.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
SkeletonAnim.h Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
SkeletonAnimDef.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
SkeletonAnimDef.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
SkeletonAnimManager.cpp Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
SkeletonAnimManager.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Terrain.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
Terrain.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
TerrainProperties.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
TerrainProperties.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
TerrainTextureEntry.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
TerrainTextureEntry.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
TerrainTextureManager.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
TerrainTextureManager.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
TerritoryBoundary.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
TerritoryBoundary.h Optimise HierarchicalPathfinder::Update by speeding up the chunk dirtiness check. 2017-12-10 08:59:43 +00:00
TerritoryTexture.cpp Stop copying the territory grid when recomputing the texture. 2017-07-30 23:37:05 +00:00
TerritoryTexture.h Optimise HierarchicalPathfinder::Update by speeding up the chunk dirtiness check. 2017-12-10 08:59:43 +00:00
TextRenderer.cpp Use direct gui.scale instead of reciprocal gui.scale 2017-06-14 17:13:44 +00:00
TextRenderer.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Texture.h Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
TextureConverter.cpp XML validation. Based on patch by historic_bruno. Refs #245. 2015-06-07 21:56:52 +00:00
TextureConverter.h Fixes inconsistencies in spelling of colour/color by preferring "color" (only wxWidgets remains with some API that requires "colour"), fixes #1029. 2015-03-15 23:59:48 +00:00
TextureManager.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
TextureManager.h Fixes inconsistencies in spelling of colour/color by preferring "color" (only wxWidgets remains with some API that requires "colour"), fixes #1029. 2015-03-15 23:59:48 +00:00
Unit.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
Unit.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
UnitAnimation.cpp Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
UnitAnimation.h Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by 2016-12-08 23:16:54 +00:00
UnitManager.cpp Adds multiple entity selection to Atlas (including move/delete). Fixes #678. 2012-02-27 05:32:35 +00:00
UnitManager.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00