VPS
Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Changeset 863

Committed by IonutCava on Wed 15 Feb, 2017 16:27:26 +0000

Commit Message:

[IonutCava]
- Split Resource class into Resource and CachedResource
— CachedResource is the only resource held in a ResourceCache and loaded from a ResourceDescriptor
— CachedResource is mapped by its creation descriptor’s hash value, instead of the resource name
-— Multiple cached resources can now exist with the same name if the have different properties, for example.

Changes

Added /trunk/Source Code/UnitTests/Engine-Tests/Tests/HashTests.cpp

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/AudioDescriptorLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/Box3DLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/ImpostorLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/LightLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/MaterialLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/MeshLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/ParticleEmitterLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/Quad3DLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/ShaderProgramLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/SkyLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/Sphere3DLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/SubMeshLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/TerrainLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/Text3DLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/TextureLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/TriggerLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/WaterPlaneLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/Headers/Resource.h Diff

Modified /trunk/Source Code/Core/Resources/Headers/ResourceCache.h Diff

Modified /trunk/Source Code/Core/Resources/Headers/ResourceDescriptor.h Diff

Modified /trunk/Source Code/Core/Resources/Headers/ResourceLoader.h Diff

Modified /trunk/Source Code/Core/Resources/Resource.cpp Diff

Modified /trunk/Source Code/Core/Resources/ResourceCache.cpp Diff

Modified /trunk/Source Code/Core/Resources/ResourceDescriptor.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Headers/Impostor.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Impostor.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Particles/Headers/ParticleEmitter.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Particles/ParticleEmitter.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Triggers/Headers/Trigger.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Triggers/Trigger.cpp Diff

Modified /trunk/Source Code/Environment/Sky/Headers/Sky.h Diff

Modified /trunk/Source Code/Environment/Sky/Sky.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/Headers/Terrain.h Diff

Modified /trunk/Source Code/Environment/Terrain/Headers/TerrainDescriptor.h Diff

Modified /trunk/Source Code/Environment/Terrain/Headers/TerrainLoader.h Diff

Modified /trunk/Source Code/Environment/Terrain/Terrain.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/TerrainChunk.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/TerrainLoader.cpp Diff

Modified /trunk/Source Code/Environment/Vegetation/Headers/Vegetation.h Diff

Modified /trunk/Source Code/Environment/Vegetation/Vegetation.cpp Diff

Modified /trunk/Source Code/Environment/Water/Headers/Water.h Diff

Modified /trunk/Source Code/Environment/Water/Water.cpp Diff

Modified /trunk/Source Code/Geometry/Importer/MeshImporter.cpp Diff

Modified /trunk/Source Code/Geometry/Material/Headers/Material.h Diff

Modified /trunk/Source Code/Geometry/Material/Material.cpp Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Mesh.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Object3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Predefined/Box3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Predefined/Quad3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Predefined/Sphere3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Predefined/Text3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/SkinnedSubMesh.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/SubMesh.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Mesh.cpp Diff

Modified /trunk/Source Code/Geometry/Shapes/Object3D.cpp Diff

Modified /trunk/Source Code/Geometry/Shapes/SkinnedSubMesh.cpp Diff

Modified /trunk/Source Code/Geometry/Shapes/SubMesh.cpp Diff

Modified /trunk/Source Code/Graphs/Components/Headers/RenderingComponent.h Diff

Modified /trunk/Source Code/Graphs/Components/RenderingComponent.cpp Diff

Modified /trunk/Source Code/Graphs/Headers/SceneGraphNode.h Diff

Modified /trunk/Source Code/Graphs/Headers/SceneNode.h Diff

Modified /trunk/Source Code/Graphs/SceneGraph.cpp Diff

Modified /trunk/Source Code/Graphs/SceneNode.cpp Diff

Modified /trunk/Source Code/Platform/Audio/Headers/AudioDescriptor.h Diff

Modified /trunk/Source Code/Platform/Video/Buffers/ShaderBuffer/Headers/ShaderBuffer.h Diff

Modified /trunk/Source Code/Platform/Video/Direct3D/Shaders/Headers/d3dShaderProgram.h Diff

Modified /trunk/Source Code/Platform/Video/Direct3D/Shaders/d3dShaderProgram.cpp Diff

Modified /trunk/Source Code/Platform/Video/Direct3D/Textures/Headers/d3dTexture.h Diff

Modified /trunk/Source Code/Platform/Video/Direct3D/Textures/d3dTexture.cpp Diff

Modified /trunk/Source Code/Platform/Video/GFXDeviceDraw.cpp Diff

Modified /trunk/Source Code/Platform/Video/GFXDeviceObjects.cpp Diff

Modified /trunk/Source Code/Platform/Video/Headers/GFXDevice.h Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/Buffers/glBufferImpl.cpp Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/Shaders/Headers/glShaderProgram.h Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/Shaders/glShaderProgram.cpp Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/Textures/Headers/glTexture.h Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/Textures/glTexture.cpp Diff

Modified /trunk/Source Code/Platform/Video/Shaders/Headers/ShaderProgram.h Diff

Modified /trunk/Source Code/Platform/Video/Shaders/ShaderProgram.cpp Diff

Modified /trunk/Source Code/Platform/Video/Textures/Headers/Texture.h Diff

Modified /trunk/Source Code/Platform/Video/Textures/Headers/TextureDescriptor.h Diff

Modified /trunk/Source Code/Platform/Video/Textures/Texture.cpp Diff

Modified /trunk/Source Code/Rendering/Camera/Headers/Camera.h Diff

Modified /trunk/Source Code/Rendering/Camera/Headers/OrbitCamera.h Diff

Modified /trunk/Source Code/Rendering/Lighting/DirectionalLight.cpp Diff

Modified /trunk/Source Code/Rendering/Lighting/Headers/DirectionalLight.h Diff

Modified /trunk/Source Code/Rendering/Lighting/Headers/Light.h Diff

Modified /trunk/Source Code/Rendering/Lighting/Headers/PointLight.h Diff

Modified /trunk/Source Code/Rendering/Lighting/Headers/SpotLight.h Diff

Modified /trunk/Source Code/Rendering/Lighting/Light.cpp Diff

Modified /trunk/Source Code/Rendering/Lighting/PointLight.cpp Diff

Modified /trunk/Source Code/Rendering/Lighting/SpotLight.cpp Diff

Modified /trunk/Source Code/Rendering/RenderPass/Headers/RenderPass.h Diff

Modified /trunk/Source Code/Rendering/RenderPass/RenderPass.cpp Diff

Modified /trunk/Source Code/SceneList.h Diff

Modified /trunk/Source Code/Scenes/Scene.cpp Diff

Modified /trunk/Source Code/Scenes/WarScene/WarScene.cpp Diff

Modified /trunk/Source Code/Utility/XMLParser.cpp Diff

Modified /trunk/VCData/VisualStudioProjects/Divide-Platform-Tests.vcxproj Diff

Modified /trunk/VCData/VisualStudioProjects/Divide-Platform-Tests.vcxproj.filters Diff

Modified /trunk/localisation/enGB.ini Diff