Subversion Repository Public Repository

Divide-Framework

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

Changeset 379

Committed by IonutCava on Thu 19 Mar, 2015 17:13:02 +0000

Commit Message:

[Ionut]
- More batching work:
— Implemented a RenderQueue where all draw commands are gathered but only sent to the GPU on a “flush” command. (currently, one flush per render bin pass)
— RenderQueue holds RenderPackage (former NodeRenderData) and tries to batch the draw commands into the previous package if ShaderBuffer and TextureData between the 2 packages is compatible (currently disabled as some ShaderBuffer rendering glitches appear with animated data)
— RenderingComponent looses the “render” member as rendering commands are queued and postDraw calls are delegated to the renderbin pass

Changes

Added /trunk/Source Code/Platform/Video/GFXDeviceDraw.cpp

Modified /trunk/Source Code/Core/Headers/Kernel.h Diff

Modified /trunk/Source Code/Core/Kernel.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/Terrain.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/DVDConverter.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/Sphere3D.h Diff

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

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

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

Modified /trunk/Source Code/Graphs/Components/AnimationComponent.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/Headers/SceneNodeRenderState.h Diff

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

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

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

Modified /trunk/Source Code/Managers/Headers/SceneManager.h Diff

Modified /trunk/Source Code/Managers/SceneManager.cpp Diff

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

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

Modified /trunk/Source Code/Platform/Video/Direct3D/Buffers/ShaderBuffer/d3dConstantBuffer.cpp Diff

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Modified /trunk/Source Code/Scenes/Headers/Scene.h Diff

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

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

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

Modified /trunk/XML/config.xml Diff