Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement VMA usage and update APIs to reflect the simplification. #588

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5338005
Master Skywalker, there are too many of them! What are we going to do…
RubyNova Jul 2, 2023
c34b345
Merge branch 'main' into feature/rendering-abstraction-v2
RubyNova Jul 2, 2023
0031769
Why did ECS header revert? lol
RubyNova Jul 2, 2023
3c2ef34
[NOT COMPILING] Circular include hell here I am. :)
RubyNova Jul 5, 2023
578e7fc
fix: inline functions are no bueno
FiniteReality Jul 5, 2023
ee59d5b
Begin new Graphics surface for memory allocator.
RubyNova Jul 13, 2023
a72e936
Update GraphicsMemoryAllocator.hpp to have correct method signatures.
RubyNova Sep 17, 2023
4324d3a
Design basic API surface for new memory allocator code.
RubyNova Sep 17, 2023
38d2fe3
clang-format can't make its mind up.
RubyNova Sep 17, 2023
d41edd8
Design new createinfo-based APIs for graphics resources. Why is clang…
RubyNova Sep 17, 2023
ab3341e
Add missing file.
RubyNova Sep 17, 2023
16e357d
Update VulkanGraphicsMemoryAllocator header.
RubyNova Sep 17, 2023
a1559b1
Add MORE missing file changes.
RubyNova Sep 17, 2023
e00bcd4
Add basic template files for VulkanMemoryAllocator.
RubyNova Sep 17, 2023
3a2cacc
Begin adding buffer allocation code using VMA.
RubyNova Sep 18, 2023
f5703ce
VSCode please l2save.
RubyNova Sep 18, 2023
251a33d
Add placeholder headers. Move logic in memory allocator code to corre…
RubyNova Sep 19, 2023
072d511
Add missing include.
RubyNova Sep 19, 2023
47fb9a9
Add GraphicsResource APIs.
RubyNova Sep 23, 2023
343db91
Update GraphicsBuffer APIs to use new allocator APIs.
RubyNova Oct 1, 2023
72e23d6
Add support for VulkanGraphicsTexture.
RubyNova Oct 8, 2023
7e76246
Add the beginnings of cmdlist APIs. Add new memory region APIs.
RubyNova Dec 11, 2023
89ae289
This is a mess.
RubyNova May 27, 2024
5a545c1
part one of template update for rendering APIs.
RubyNova Jun 5, 2024
829c390
ALL of the templates.
RubyNova Jun 6, 2024
3b7f1aa
Add missing files.
RubyNova Jun 6, 2024
d5a39f7
[NOT COMPILING] Fix headers and some source files. TODO: Fix remainde…
RubyNova Jul 30, 2024
e39c6d8
Template-ification is basically all done now. Back to VMA work probably.
RubyNova Sep 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ endif()
#
add_subdirectory(thirdparty)
add_subdirectory(resources)
add_subdirectory(graphics)
add_subdirectory(Graphics)
add_subdirectory(audio)
add_subdirectory(src)

Expand Down
39 changes: 12 additions & 27 deletions graphics/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
add_library(NovelRT-Graphics STATIC
GraphicsMemoryBlock.cpp
GraphicsMemoryBlockCollection.cpp
GraphicsPipeline.cpp
GraphicsPipelineInput.cpp
GraphicsPipelineInputElement.cpp
GraphicsPipelineResource.cpp
GraphicsPipelineSignature.cpp
GraphicsResourceManager.cpp
ShaderProgram.cpp
Vulkan/VulkanGraphicsAdapter.cpp
Vulkan/VulkanGraphicsAdapterSelector.cpp
Vulkan/VulkanGraphicsBackendTraits.cpp
Vulkan/VulkanGraphicsBuffer.cpp
Vulkan/VulkanGraphicsContext.cpp
Vulkan/VulkanGraphicsDevice.cpp
Vulkan/VulkanGraphicsFence.cpp
Vulkan/VulkanGraphicsMemoryAllocator.cpp
Vulkan/VulkanGraphicsMemoryBlock.cpp
Vulkan/VulkanGraphicsMemoryBlockCollection.cpp
Vulkan/VulkanGraphicsPipeline.cpp
Vulkan/VulkanGraphicsPipelineSignature.cpp
Vulkan/VulkanGraphicsPluginProvider.cpp
Vulkan/VulkanGraphicsResource.cpp
Vulkan/VulkanGraphicsResourceMemoryRegion.cpp
Vulkan/VulkanGraphicsProvider.cpp
Vulkan/VulkanGraphicsSurfaceContext.cpp
Vulkan/VulkanGraphicsTexture.cpp
Expand All @@ -32,20 +27,19 @@ target_sources(NovelRT-Graphics
TYPE HEADERS
BASE_DIRS include
FILES
include/NovelRT/Graphics/Graphics.hpp
include/NovelRT/Graphics/GraphicsAdapter.hpp
include/NovelRT/Graphics/GraphicsBackendTraits.hpp
include/NovelRT/Graphics/GraphicsBuffer.hpp
include/NovelRT/Graphics/GraphicsCmdList.hpp
include/NovelRT/Graphics/GraphicsBufferCreateInfo.hpp
include/NovelRT/Graphics/GraphicsBufferKind.hpp
include/NovelRT/Graphics/GraphicsCmdList.hpp
include/NovelRT/Graphics/GraphicsContext.hpp
include/NovelRT/Graphics/GraphicsDescriptorSet.hpp
include/NovelRT/Graphics/GraphicsDevice.hpp
include/NovelRT/Graphics/GraphicsDeviceObject.hpp
include/NovelRT/Graphics/GraphicsFence.hpp
include/NovelRT/Graphics/GraphicsMemoryAllocator.hpp
include/NovelRT/Graphics/GraphicsMemoryAllocatorSettings.hpp
include/NovelRT/Graphics/GraphicsMemoryBlock.hpp
include/NovelRT/Graphics/GraphicsMemoryBlockCollection.hpp
include/NovelRT/Graphics/GraphicsMemoryBudget.hpp
include/NovelRT/Graphics/GraphicsMemoryRegion.hpp
include/NovelRT/Graphics/GraphicsMemoryRegionAllocationFlags.hpp
include/NovelRT/Graphics/GraphicsPipeline.hpp
include/NovelRT/Graphics/GraphicsPipelineBlendFactor.hpp
Expand All @@ -55,31 +49,25 @@ target_sources(NovelRT-Graphics
include/NovelRT/Graphics/GraphicsPipelineResource.hpp
include/NovelRT/Graphics/GraphicsPipelineResourceKind.hpp
include/NovelRT/Graphics/GraphicsPipelineSignature.hpp
include/NovelRT/Graphics/GraphicsPrimitive.hpp
include/NovelRT/Graphics/GraphicsProvider.hpp
include/NovelRT/Graphics/GraphicsResource.hpp
include/NovelRT/Graphics/GraphicsResourceMemoryRegion.hpp
include/NovelRT/Graphics/GraphicsResourceAccess.hpp
include/NovelRT/Graphics/GraphicsResourceManager.hpp
include/NovelRT/Graphics/GraphicsSurfaceContext.hpp
include/NovelRT/Graphics/GraphicsSurfaceKind.hpp
include/NovelRT/Graphics/GraphicsTexture.hpp
include/NovelRT/Graphics/GraphicsTextureAddressMode.hpp
include/NovelRT/Graphics/GraphicsTextureAddressMode.hpp
include/NovelRT/Graphics/GraphicsTextureKind.hpp
include/NovelRT/Graphics/IGraphicsAdapterSelector.hpp
include/NovelRT/Graphics/IGraphicsMemoryRegionCollection.hpp
include/NovelRT/Graphics/IGraphicsSurface.hpp
include/NovelRT/Graphics/RGBAColour.hpp
include/NovelRT/Graphics/ShaderProgram.hpp
include/NovelRT/Graphics/ShaderProgramKind.hpp
include/NovelRT/Graphics/ShaderProgramVisibility.hpp
include/NovelRT/Graphics/TexelFormat.hpp
include/NovelRT/Graphics/D3D12/Graphics.D3D12.hpp
include/NovelRT/Graphics/D3D12/Utilities/Graphics.D3D12.Utilities.hpp
include/NovelRT/Graphics/D3D12/Utilities/PipelineBlendFactor.hpp
include/NovelRT/Graphics/Metal/Graphics.Metal.hpp
include/NovelRT/Graphics/Metal/Utilities/Graphics.Metal.Utilities.hpp
include/NovelRT/Graphics/Metal/Utilities/PipelineBlendFactor.hpp
include/NovelRT/Graphics/Vulkan/Graphics.Vulkan.hpp
include/NovelRT/Graphics/Vulkan/QueueFamilyIndices.hpp
include/NovelRT/Graphics/Vulkan/SwapChainSupportDetails.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsAdapter.hpp
Expand All @@ -89,18 +77,15 @@ target_sources(NovelRT-Graphics
include/NovelRT/Graphics/Vulkan/VulkanGraphicsDevice.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsFence.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsMemoryAllocator.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsMemoryBlock.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsMemoryBlockCollection.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsPipeline.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsPipelineSignature.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsPluginProvider.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsPrimitive.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsProvider.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsResource.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsResourceMemoryRegion.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsSurfaceContext.hpp
include/NovelRT/Graphics/Vulkan/VulkanGraphicsTexture.hpp
include/NovelRT/Graphics/Vulkan/VulkanShaderProgram.hpp
include/NovelRT/Graphics/Vulkan/Utilities/BufferUsageKind.hpp
include/NovelRT/Graphics/Vulkan/Utilities/Graphics.Vulkan.Utilities.hpp
include/NovelRT/Graphics/Vulkan/Utilities/PipelineBlendFactor.hpp
include/NovelRT/Graphics/Vulkan/Utilities/Support.hpp
include/NovelRT/Graphics/Vulkan/Utilities/Texel.hpp
Expand Down
24 changes: 0 additions & 24 deletions graphics/GraphicsMemoryBlock.cpp

This file was deleted.

Loading