0ad/source/graphics
wraitii e0d98cd94d Call SetTerrainDirty on CModelAbstract without going through CmpVisualActor
The UnitManager already lists all units, so we do not need to go through
the visual actor of entities to update them. This is faster and
decouples simulation & graphics code slightly.

Further, the simulation does not need to know about texture changes (see
also 410d2e883a), so remove those calls in Atlas.

Differential Revision: https://code.wildfiregames.com/D4455
This was SVN commit r26270.
2022-01-29 08:28:04 +00:00
..
scripting Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
tests Removes unused h_mgr includes. 2021-12-27 11:47:16 +00:00
Camera.cpp Splits CRenderer part about scene to CSceneRenderer. 2022-01-04 13:29:01 +00:00
Camera.h Moves terrain independent code for viewport bounds calculations to camera. 2021-05-01 16:59:42 +00:00
CameraController.cpp Splits CRenderer part about scene to CSceneRenderer. 2022-01-04 13:29:01 +00:00
CameraController.h Removes joystick from camera controller. 2021-03-17 16:28:48 +00:00
Canvas2D.cpp Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
Canvas2D.h Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
CinemaManager.cpp Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
CinemaManager.h Removes unused and outdated includes, replaces some includes by forward declarations. 2021-05-15 17:27:01 +00:00
ColladaManager.cpp Adds collision test for fnv_hash, removes unused include forgotten in b4a33851e6. 2021-11-21 11:59:02 +00:00
ColladaManager.h Removes unused forward declarations of class and struct. 2021-09-08 19:43:01 +00:00
Color.cpp Move SSE.h to a better place. Rename it to simd.h after discussion with @OptimusShepard and @vladislavbelov 2021-02-05 12:40:59 +00:00
Color.h Removes mentions of legacy and unused GL calls, unifies AsFloatArray. 2021-10-11 12:39:01 +00:00
Decal.cpp Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
Decal.h Remove RENDERDATA_UPDATE_COLOR, which is not used, and cleanup. 2022-01-25 16:59:29 +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 Cleanups Font and FontManager a little. 2021-12-10 16:59:32 +00:00
FontManager.cpp Cleanups Font and FontManager a little. 2021-12-10 16:59:32 +00:00
FontManager.h Adds std namespace to shared_ptr usages in graphics. 2021-05-22 19:21:33 +00:00
FontMetrics.cpp Use CStrIntern for font names to reduce lookup cost 2013-10-18 16:15:42 +00:00
FontMetrics.h Adds std namespace to shared_ptr usages in graphics. 2021-05-22 19:21:33 +00:00
GameView.cpp Remove unused variable following 330b570ba8 2022-01-25 18:47:38 +00:00
GameView.h Remove RENDERDATA_UPDATE_COLOR, which is not used, and cleanup. 2022-01-25 16:59:29 +00:00
HeightMipmap.cpp Adds std namespace to shared_ptr usages in graphics. 2021-05-22 19:21:33 +00:00
HeightMipmap.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
HFTracer.cpp Use type_identity to simplify Clamp usage. 2021-04-15 13:01:24 +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
ICameraController.cpp Splits CameraController and adds ICameraController interface 2019-12-21 00:44:18 +00:00
ICameraController.h Splits CameraController and adds ICameraController interface 2019-12-21 00:44:18 +00:00
LightEnv.cpp Combines terrain and units ambient colors into the single color. 2021-01-17 13:10:00 +00:00
LightEnv.h Combines terrain and units ambient colors into the single color. 2021-01-17 13:10:00 +00:00
LOSTexture.cpp Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
LOSTexture.h Fixes comments of CLOSTexture and CTerritoryTexture following 57ba7c4a1c. 2022-01-10 17:58:51 +00:00
MapGenerator.cpp Implement a global task manager using a pool of worker threads 2021-06-03 14:48:38 +00:00
MapGenerator.h Implement a global task manager using a pool of worker threads 2021-06-03 14:48:38 +00:00
MapIO.cpp Fix loading grayscale heightmaps for RM maps. 2021-07-31 17:52:05 +00:00
MapIO.h Increases the maps version to 7 for XML and PMP files. 2021-01-17 02:12:04 +00:00
MapReader.cpp Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
MapReader.h Removes unused forward declarations of class and struct. 2021-09-08 19:43:01 +00:00
MapWriter.cpp Combines terrain and units ambient colors into the single color. 2021-01-17 13:10:00 +00:00
MapWriter.h Removes unused forward declarations of class and struct. 2021-09-08 19:43:01 +00:00
Material.cpp Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
Material.h Adds const to Material and CShaderProgram::Binding methods, removes a redundant variable from ModelRenderer 2020-01-26 21:32:12 +00:00
MaterialManager.cpp Removes deprecated GL alpha test. 2022-01-13 17:50:28 +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 Replace boost::unordered_map, boost::unordered_set with std::unordered_map, std::unordered_set to establish consistency. 2019-11-25 14:30:25 +00:00
MiniMapTexture.cpp Fixes minimap texture scissoring rect following b5d85e279f. Fixes #6382 2022-01-19 17:40:26 +00:00
MiniMapTexture.h Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
MiniPatch.cpp # Handle terrain passability and movement costs in pathfinder. 2010-05-27 23:31:03 +00:00
MiniPatch.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
Model.cpp Move BuildAnimation to CSkeletalAnimMgr / CObjectEntry 2022-01-26 14:55:19 +00:00
Model.h Move BuildAnimation to CSkeletalAnimMgr / CObjectEntry 2022-01-26 14:55:19 +00:00
ModelAbstract.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ModelAbstract.h Remove RENDERDATA_UPDATE_COLOR, which is not used, and cleanup. 2022-01-25 16:59:29 +00:00
ModelDef.cpp Reduces the number of possible allocations for models with multiple UV sets during loading. 2021-09-03 20:11:52 +00:00
ModelDef.h Reduces the number of possible allocations for models with multiple UV sets during loading. 2021-09-03 20:11:52 +00:00
ModelDummy.h Remove RENDERDATA_UPDATE_COLOR, which is not used, and cleanup. 2022-01-25 16:59:29 +00:00
ObjectBase.cpp Fix units changing appearance when switching animation. 2021-07-31 17:55:10 +00:00
ObjectBase.h Removes unused forward declarations of class and struct. 2021-09-08 19:43:01 +00:00
ObjectEntry.cpp Move BuildAnimation to CSkeletalAnimMgr / CObjectEntry 2022-01-26 14:55:19 +00:00
ObjectEntry.h Move BuildAnimation to CSkeletalAnimMgr / CObjectEntry 2022-01-26 14:55:19 +00:00
ObjectManager.cpp Fix hotloading making models disappear. 2021-06-17 07:52:50 +00:00
ObjectManager.h Add an option to reduce the diversity of actor variants 2021-05-31 11:42:46 +00:00
Overlay.cpp Optimise out of frustum rendering of texture overlays. 2019-12-10 23:13:37 +00:00
Overlay.h Removes unused forward declarations of class and struct. 2021-09-08 19:43:01 +00:00
ParticleEmitter.cpp Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
ParticleEmitter.h Remove RENDERDATA_UPDATE_COLOR, which is not used, and cleanup. 2022-01-25 16:59:29 +00:00
ParticleEmitterType.cpp Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
ParticleEmitterType.h Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
ParticleManager.cpp Replace boost::unordered_map, boost::unordered_set with std::unordered_map, std::unordered_set to establish consistency. 2019-11-25 14:30:25 +00:00
ParticleManager.h Fix No-PCH build. 2021-02-21 10:04:39 +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
PreprocessorWrapper.cpp Early return in PreprocessorWrapper in case of failed include resolve. 2021-02-27 17:21:02 +00:00
PreprocessorWrapper.h Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
RenderableObject.h Remove RENDERDATA_UPDATE_COLOR, which is not used, and cleanup. 2022-01-25 16:59:29 +00:00
SColor.h Add GPL header 2009-04-18 17:00:33 +00:00
ShaderDefines.cpp Adds std namespace to shared_ptr usages in graphics. 2021-05-22 19:21:33 +00:00
ShaderDefines.h Adds std namespace to shared_ptr usages in graphics. 2021-05-22 19:21:33 +00:00
ShaderManager.cpp Disables possibility to mix shader types with a single backend. 2022-01-28 06:34:34 +00:00
ShaderManager.h Replaces unclear PreferGLSL by direct renderer backend choice. 2021-12-14 06:34:02 +00:00
ShaderProgram.cpp Uses core GL functions for GLSL shaders. 2022-01-06 11:41:04 +00:00
ShaderProgram.h Removes binding native GLuint textures from public ShaderProgram API. 2021-12-30 16:37:51 +00:00
ShaderProgramPtr.h Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ShaderTechnique.cpp Removes redundant comment about alpha test in shaders forgotten in 5cbd46de94. 2022-01-27 17:32:07 +00:00
ShaderTechnique.h Moves blend state management to DeviceCommandContext. Fixes #6420 2022-01-19 17:28:47 +00:00
ShaderTechniquePtr.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +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 Fix bounding boxes after f73fa05542 2021-05-05 16:20:33 +00:00
SkeletonAnimDef.h Fix bounding boxes after f73fa05542 2021-05-05 16:20:33 +00:00
SkeletonAnimManager.cpp Move BuildAnimation to CSkeletalAnimMgr / CObjectEntry 2022-01-26 14:55:19 +00:00
SkeletonAnimManager.h Move BuildAnimation to CSkeletalAnimMgr / CObjectEntry 2022-01-26 14:55:19 +00:00
SmoothedValue.cpp Moves CSmoothedValue to separate file. 2019-10-01 22:42:54 +00:00
SmoothedValue.h Rework 7ee94f23df 2021-04-16 16:01:30 +00:00
Terrain.cpp Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
Terrain.h Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
TerrainProperties.cpp Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
TerrainProperties.h Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
TerrainTextureEntry.cpp Separates terrain alphamap combining and uploading. 2022-01-07 14:33:54 +00:00
TerrainTextureEntry.h Separates terrain alphamap combining and uploading. 2022-01-07 14:33:54 +00:00
TerrainTextureManager.cpp Separates terrain alphamap combining and uploading. 2022-01-07 14:33:54 +00:00
TerrainTextureManager.h Separates terrain alphamap combining and uploading. 2022-01-07 14:33:54 +00:00
TerritoryBoundary.cpp Move LOS to a los helper header and cleanup Grid.h includes. 2020-06-14 20:39:03 +00:00
TerritoryBoundary.h Optimise HierarchicalPathfinder::Update by speeding up the chunk dirtiness check. 2017-12-10 08:59:43 +00:00
TerritoryTexture.cpp Performs texture uploads via DeviceCommandContext interface. 2022-01-05 14:49:54 +00:00
TerritoryTexture.h Fixes comments of CLOSTexture and CTerritoryTexture following 57ba7c4a1c. 2022-01-10 17:58:51 +00:00
TextRenderer.cpp Draws all characters for a very long text of the same style. 2021-06-08 18:17:10 +00:00
TextRenderer.h Removes complex transform from TextRenderer. 2021-06-02 22:16:09 +00:00
Texture.h Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
TextureConverter.cpp Fix game not closing when compiled with --without-nvtt. 2021-06-10 15:42:38 +00:00
TextureConverter.h Fix game not closing when compiled with --without-nvtt. 2021-06-10 15:42:38 +00:00
TextureManager.cpp Moves default texture to SingleColorTexture following 283f524fcf. 2021-12-23 17:44:24 +00:00
TextureManager.h Implements DrawRect in Canvas2D, removes CConsole background drawing with low level GL calls. 2021-05-29 12:31:14 +00:00
Unit.cpp Fix units changing appearance when switching animation. 2021-07-31 17:55:10 +00:00
Unit.h Removes unused forward declarations of class and struct. 2021-09-08 19:43:01 +00:00
UnitAnimation.cpp Fix initial animation sync. 2021-04-07 08:35:02 +00:00
UnitAnimation.h Fix initial animation sync. 2021-04-07 08:35:02 +00:00
UnitManager.cpp Call SetTerrainDirty on CModelAbstract without going through CmpVisualActor 2022-01-29 08:28:04 +00:00
UnitManager.h Call SetTerrainDirty on CModelAbstract without going through CmpVisualActor 2022-01-29 08:28:04 +00:00