diff --git a/CMakeLists.txt b/CMakeLists.txt index 93e21fa..0a89ace 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,8 +3,8 @@ project(Gryphn) add_compile_definitions(GN_PLATFORM_LINUX GN_WINDOW_X11 GN_REVEAL_IMPL) -add_subdirectory(src/core/) # build gryphn code -add_subdirectory(src/apis/vulkan/) +add_subdirectory(projects/core/) # build gryphn code +add_subdirectory(projects/apis/vulkan/) add_library(Gryphn INTERFACE) target_link_libraries(Gryphn INTERFACE GryphnCore GryphnVulkanImpl) diff --git a/src/apis/metal/CMakeLists.txt b/projects/apis/metal/CMakeLists.txt similarity index 100% rename from src/apis/metal/CMakeLists.txt rename to projects/apis/metal/CMakeLists.txt diff --git a/src/apis/metal/src/buffer/metal_buffer.h b/projects/apis/metal/src/buffer/metal_buffer.h similarity index 100% rename from src/apis/metal/src/buffer/metal_buffer.h rename to projects/apis/metal/src/buffer/metal_buffer.h diff --git a/src/apis/metal/src/buffer/metal_buffer.m b/projects/apis/metal/src/buffer/metal_buffer.m similarity index 100% rename from src/apis/metal/src/buffer/metal_buffer.m rename to projects/apis/metal/src/buffer/metal_buffer.m diff --git a/src/apis/metal/src/commands/command_buffer/metal_command_buffer.h b/projects/apis/metal/src/commands/command_buffer/metal_command_buffer.h similarity index 100% rename from src/apis/metal/src/commands/command_buffer/metal_command_buffer.h rename to projects/apis/metal/src/commands/command_buffer/metal_command_buffer.h diff --git a/src/apis/metal/src/commands/command_buffer/metal_command_buffer.m b/projects/apis/metal/src/commands/command_buffer/metal_command_buffer.m similarity index 100% rename from src/apis/metal/src/commands/command_buffer/metal_command_buffer.m rename to projects/apis/metal/src/commands/command_buffer/metal_command_buffer.m diff --git a/src/apis/metal/src/commands/command_pool/metal_command_pool.h b/projects/apis/metal/src/commands/command_pool/metal_command_pool.h similarity index 100% rename from src/apis/metal/src/commands/command_pool/metal_command_pool.h rename to projects/apis/metal/src/commands/command_pool/metal_command_pool.h diff --git a/src/apis/metal/src/commands/command_pool/metal_command_pool.m b/projects/apis/metal/src/commands/command_pool/metal_command_pool.m similarity index 100% rename from src/apis/metal/src/commands/command_pool/metal_command_pool.m rename to projects/apis/metal/src/commands/command_pool/metal_command_pool.m diff --git a/src/apis/metal/src/commands/commands/metal_commands.m b/projects/apis/metal/src/commands/commands/metal_commands.m similarity index 100% rename from src/apis/metal/src/commands/commands/metal_commands.m rename to projects/apis/metal/src/commands/commands/metal_commands.m diff --git a/src/apis/metal/src/debugger/metal_debugger.m b/projects/apis/metal/src/debugger/metal_debugger.m similarity index 100% rename from src/apis/metal/src/debugger/metal_debugger.m rename to projects/apis/metal/src/debugger/metal_debugger.m diff --git a/src/apis/metal/src/devices/metal_output_device.m b/projects/apis/metal/src/devices/metal_output_device.m similarity index 100% rename from src/apis/metal/src/devices/metal_output_device.m rename to projects/apis/metal/src/devices/metal_output_device.m diff --git a/src/apis/metal/src/devices/metal_output_devices.h b/projects/apis/metal/src/devices/metal_output_devices.h similarity index 100% rename from src/apis/metal/src/devices/metal_output_devices.h rename to projects/apis/metal/src/devices/metal_output_devices.h diff --git a/src/apis/metal/src/devices/metal_physical_device.m b/projects/apis/metal/src/devices/metal_physical_device.m similarity index 100% rename from src/apis/metal/src/devices/metal_physical_device.m rename to projects/apis/metal/src/devices/metal_physical_device.m diff --git a/src/apis/metal/src/framebuffers/metal_framebuffer.h b/projects/apis/metal/src/framebuffers/metal_framebuffer.h similarity index 100% rename from src/apis/metal/src/framebuffers/metal_framebuffer.h rename to projects/apis/metal/src/framebuffers/metal_framebuffer.h diff --git a/src/apis/metal/src/framebuffers/metal_framebuffer.m b/projects/apis/metal/src/framebuffers/metal_framebuffer.m similarity index 100% rename from src/apis/metal/src/framebuffers/metal_framebuffer.m rename to projects/apis/metal/src/framebuffers/metal_framebuffer.m diff --git a/src/apis/metal/src/instance/metal_instance.h b/projects/apis/metal/src/instance/metal_instance.h similarity index 100% rename from src/apis/metal/src/instance/metal_instance.h rename to projects/apis/metal/src/instance/metal_instance.h diff --git a/src/apis/metal/src/instance/metal_instance.m b/projects/apis/metal/src/instance/metal_instance.m similarity index 100% rename from src/apis/metal/src/instance/metal_instance.m rename to projects/apis/metal/src/instance/metal_instance.m diff --git a/src/apis/metal/src/pipelines/graphics_pipeline/metal_graphics_pipeline.h b/projects/apis/metal/src/pipelines/graphics_pipeline/metal_graphics_pipeline.h similarity index 100% rename from src/apis/metal/src/pipelines/graphics_pipeline/metal_graphics_pipeline.h rename to projects/apis/metal/src/pipelines/graphics_pipeline/metal_graphics_pipeline.h diff --git a/src/apis/metal/src/pipelines/graphics_pipeline/metal_graphics_pipeline.m b/projects/apis/metal/src/pipelines/graphics_pipeline/metal_graphics_pipeline.m similarity index 100% rename from src/apis/metal/src/pipelines/graphics_pipeline/metal_graphics_pipeline.m rename to projects/apis/metal/src/pipelines/graphics_pipeline/metal_graphics_pipeline.m diff --git a/src/apis/metal/src/present/metal_present.m b/projects/apis/metal/src/present/metal_present.m similarity index 100% rename from src/apis/metal/src/present/metal_present.m rename to projects/apis/metal/src/present/metal_present.m diff --git a/src/apis/metal/src/presentation_queue/metal_presentation_queue.h b/projects/apis/metal/src/presentation_queue/metal_presentation_queue.h similarity index 100% rename from src/apis/metal/src/presentation_queue/metal_presentation_queue.h rename to projects/apis/metal/src/presentation_queue/metal_presentation_queue.h diff --git a/src/apis/metal/src/presentation_queue/metal_presentation_queue.m b/projects/apis/metal/src/presentation_queue/metal_presentation_queue.m similarity index 100% rename from src/apis/metal/src/presentation_queue/metal_presentation_queue.m rename to projects/apis/metal/src/presentation_queue/metal_presentation_queue.m diff --git a/src/apis/metal/src/renderpass/metal_render_pass.h b/projects/apis/metal/src/renderpass/metal_render_pass.h similarity index 100% rename from src/apis/metal/src/renderpass/metal_render_pass.h rename to projects/apis/metal/src/renderpass/metal_render_pass.h diff --git a/src/apis/metal/src/renderpass/metal_render_pass.m b/projects/apis/metal/src/renderpass/metal_render_pass.m similarity index 100% rename from src/apis/metal/src/renderpass/metal_render_pass.m rename to projects/apis/metal/src/renderpass/metal_render_pass.m diff --git a/src/apis/metal/src/shader_module/metal_shader_module.h b/projects/apis/metal/src/shader_module/metal_shader_module.h similarity index 100% rename from src/apis/metal/src/shader_module/metal_shader_module.h rename to projects/apis/metal/src/shader_module/metal_shader_module.h diff --git a/src/apis/metal/src/shader_module/metal_shader_module.m b/projects/apis/metal/src/shader_module/metal_shader_module.m similarity index 100% rename from src/apis/metal/src/shader_module/metal_shader_module.m rename to projects/apis/metal/src/shader_module/metal_shader_module.m diff --git a/src/apis/metal/src/submit/metal_submit.m b/projects/apis/metal/src/submit/metal_submit.m similarity index 100% rename from src/apis/metal/src/submit/metal_submit.m rename to projects/apis/metal/src/submit/metal_submit.m diff --git a/src/apis/metal/src/surface/metal_surface.h b/projects/apis/metal/src/surface/metal_surface.h similarity index 100% rename from src/apis/metal/src/surface/metal_surface.h rename to projects/apis/metal/src/surface/metal_surface.h diff --git a/src/apis/metal/src/surface/metal_surface.m b/projects/apis/metal/src/surface/metal_surface.m similarity index 100% rename from src/apis/metal/src/surface/metal_surface.m rename to projects/apis/metal/src/surface/metal_surface.m diff --git a/src/apis/metal/src/sync/fence/metal_fence.h b/projects/apis/metal/src/sync/fence/metal_fence.h similarity index 100% rename from src/apis/metal/src/sync/fence/metal_fence.h rename to projects/apis/metal/src/sync/fence/metal_fence.h diff --git a/src/apis/metal/src/sync/fence/metal_fence.m b/projects/apis/metal/src/sync/fence/metal_fence.m similarity index 100% rename from src/apis/metal/src/sync/fence/metal_fence.m rename to projects/apis/metal/src/sync/fence/metal_fence.m diff --git a/src/apis/metal/src/sync/semaphore/metal_semaphore.h b/projects/apis/metal/src/sync/semaphore/metal_semaphore.h similarity index 100% rename from src/apis/metal/src/sync/semaphore/metal_semaphore.h rename to projects/apis/metal/src/sync/semaphore/metal_semaphore.h diff --git a/src/apis/metal/src/sync/semaphore/metal_semaphore.m b/projects/apis/metal/src/sync/semaphore/metal_semaphore.m similarity index 100% rename from src/apis/metal/src/sync/semaphore/metal_semaphore.m rename to projects/apis/metal/src/sync/semaphore/metal_semaphore.m diff --git a/src/apis/metal/src/texture/metal_texture.h b/projects/apis/metal/src/texture/metal_texture.h similarity index 100% rename from src/apis/metal/src/texture/metal_texture.h rename to projects/apis/metal/src/texture/metal_texture.h diff --git a/src/apis/metal/src/uniforms/metal_uniform.c b/projects/apis/metal/src/uniforms/metal_uniform.c similarity index 100% rename from src/apis/metal/src/uniforms/metal_uniform.c rename to projects/apis/metal/src/uniforms/metal_uniform.c diff --git a/src/apis/metal/src/uniforms/metal_uniform.h b/projects/apis/metal/src/uniforms/metal_uniform.h similarity index 100% rename from src/apis/metal/src/uniforms/metal_uniform.h rename to projects/apis/metal/src/uniforms/metal_uniform.h diff --git a/src/apis/metal/src/uniforms/metal_uniform_pool.c b/projects/apis/metal/src/uniforms/metal_uniform_pool.c similarity index 100% rename from src/apis/metal/src/uniforms/metal_uniform_pool.c rename to projects/apis/metal/src/uniforms/metal_uniform_pool.c diff --git a/src/apis/metal/src/uniforms/metal_uniform_pool.h b/projects/apis/metal/src/uniforms/metal_uniform_pool.h similarity index 100% rename from src/apis/metal/src/uniforms/metal_uniform_pool.h rename to projects/apis/metal/src/uniforms/metal_uniform_pool.h diff --git a/src/apis/vulkan/CMakeLists.txt b/projects/apis/vulkan/CMakeLists.txt similarity index 100% rename from src/apis/vulkan/CMakeLists.txt rename to projects/apis/vulkan/CMakeLists.txt diff --git a/src/apis/vulkan/src/buffers/vulkan_buffer.c b/projects/apis/vulkan/src/buffers/vulkan_buffer.c similarity index 100% rename from src/apis/vulkan/src/buffers/vulkan_buffer.c rename to projects/apis/vulkan/src/buffers/vulkan_buffer.c diff --git a/src/apis/vulkan/src/buffers/vulkan_buffer.h b/projects/apis/vulkan/src/buffers/vulkan_buffer.h similarity index 100% rename from src/apis/vulkan/src/buffers/vulkan_buffer.h rename to projects/apis/vulkan/src/buffers/vulkan_buffer.h diff --git a/src/apis/vulkan/src/commands/command_buffer/vulkan_command_buffer.c b/projects/apis/vulkan/src/commands/command_buffer/vulkan_command_buffer.c similarity index 100% rename from src/apis/vulkan/src/commands/command_buffer/vulkan_command_buffer.c rename to projects/apis/vulkan/src/commands/command_buffer/vulkan_command_buffer.c diff --git a/src/apis/vulkan/src/commands/command_buffer/vulkan_command_buffer.h b/projects/apis/vulkan/src/commands/command_buffer/vulkan_command_buffer.h similarity index 100% rename from src/apis/vulkan/src/commands/command_buffer/vulkan_command_buffer.h rename to projects/apis/vulkan/src/commands/command_buffer/vulkan_command_buffer.h diff --git a/src/apis/vulkan/src/commands/command_pool/vulkan_command_pool.c b/projects/apis/vulkan/src/commands/command_pool/vulkan_command_pool.c similarity index 100% rename from src/apis/vulkan/src/commands/command_pool/vulkan_command_pool.c rename to projects/apis/vulkan/src/commands/command_pool/vulkan_command_pool.c diff --git a/src/apis/vulkan/src/commands/command_pool/vulkan_command_pool.h b/projects/apis/vulkan/src/commands/command_pool/vulkan_command_pool.h similarity index 100% rename from src/apis/vulkan/src/commands/command_pool/vulkan_command_pool.h rename to projects/apis/vulkan/src/commands/command_pool/vulkan_command_pool.h diff --git a/src/apis/vulkan/src/commands/commands/vulkan_commands.c b/projects/apis/vulkan/src/commands/commands/vulkan_commands.c similarity index 100% rename from src/apis/vulkan/src/commands/commands/vulkan_commands.c rename to projects/apis/vulkan/src/commands/commands/vulkan_commands.c diff --git a/src/apis/vulkan/src/debugger/vulkan_debugger.c b/projects/apis/vulkan/src/debugger/vulkan_debugger.c similarity index 100% rename from src/apis/vulkan/src/debugger/vulkan_debugger.c rename to projects/apis/vulkan/src/debugger/vulkan_debugger.c diff --git a/src/apis/vulkan/src/debugger/vulkan_debugger.h b/projects/apis/vulkan/src/debugger/vulkan_debugger.h similarity index 100% rename from src/apis/vulkan/src/debugger/vulkan_debugger.h rename to projects/apis/vulkan/src/debugger/vulkan_debugger.h diff --git a/src/apis/vulkan/src/framebuffers/vulkan_framebuffer.c b/projects/apis/vulkan/src/framebuffers/vulkan_framebuffer.c similarity index 100% rename from src/apis/vulkan/src/framebuffers/vulkan_framebuffer.c rename to projects/apis/vulkan/src/framebuffers/vulkan_framebuffer.c diff --git a/src/apis/vulkan/src/framebuffers/vulkan_framebuffer.h b/projects/apis/vulkan/src/framebuffers/vulkan_framebuffer.h similarity index 100% rename from src/apis/vulkan/src/framebuffers/vulkan_framebuffer.h rename to projects/apis/vulkan/src/framebuffers/vulkan_framebuffer.h diff --git a/src/apis/vulkan/src/instance/vulkan_instance.c b/projects/apis/vulkan/src/instance/vulkan_instance.c similarity index 100% rename from src/apis/vulkan/src/instance/vulkan_instance.c rename to projects/apis/vulkan/src/instance/vulkan_instance.c diff --git a/src/apis/vulkan/src/instance/vulkan_instance.h b/projects/apis/vulkan/src/instance/vulkan_instance.h similarity index 100% rename from src/apis/vulkan/src/instance/vulkan_instance.h rename to projects/apis/vulkan/src/instance/vulkan_instance.h diff --git a/src/apis/vulkan/src/output_device/vulkan_device_extensions.c b/projects/apis/vulkan/src/output_device/vulkan_device_extensions.c similarity index 100% rename from src/apis/vulkan/src/output_device/vulkan_device_extensions.c rename to projects/apis/vulkan/src/output_device/vulkan_device_extensions.c diff --git a/src/apis/vulkan/src/output_device/vulkan_device_extensions.h b/projects/apis/vulkan/src/output_device/vulkan_device_extensions.h similarity index 100% rename from src/apis/vulkan/src/output_device/vulkan_device_extensions.h rename to projects/apis/vulkan/src/output_device/vulkan_device_extensions.h diff --git a/src/apis/vulkan/src/output_device/vulkan_output_device.c b/projects/apis/vulkan/src/output_device/vulkan_output_device.c similarity index 100% rename from src/apis/vulkan/src/output_device/vulkan_output_device.c rename to projects/apis/vulkan/src/output_device/vulkan_output_device.c diff --git a/src/apis/vulkan/src/output_device/vulkan_output_devices.h b/projects/apis/vulkan/src/output_device/vulkan_output_devices.h similarity index 100% rename from src/apis/vulkan/src/output_device/vulkan_output_devices.h rename to projects/apis/vulkan/src/output_device/vulkan_output_devices.h diff --git a/src/apis/vulkan/src/output_device/vulkan_physical_device.c b/projects/apis/vulkan/src/output_device/vulkan_physical_device.c similarity index 100% rename from src/apis/vulkan/src/output_device/vulkan_physical_device.c rename to projects/apis/vulkan/src/output_device/vulkan_physical_device.c diff --git a/src/apis/vulkan/src/output_device/vulkan_physical_device.h b/projects/apis/vulkan/src/output_device/vulkan_physical_device.h similarity index 100% rename from src/apis/vulkan/src/output_device/vulkan_physical_device.h rename to projects/apis/vulkan/src/output_device/vulkan_physical_device.h diff --git a/src/apis/vulkan/src/pipelines/graphics_pipeline/vulkan_graphics_pipeline.c b/projects/apis/vulkan/src/pipelines/graphics_pipeline/vulkan_graphics_pipeline.c similarity index 100% rename from src/apis/vulkan/src/pipelines/graphics_pipeline/vulkan_graphics_pipeline.c rename to projects/apis/vulkan/src/pipelines/graphics_pipeline/vulkan_graphics_pipeline.c diff --git a/src/apis/vulkan/src/pipelines/graphics_pipeline/vulkan_graphics_pipeline.h b/projects/apis/vulkan/src/pipelines/graphics_pipeline/vulkan_graphics_pipeline.h similarity index 100% rename from src/apis/vulkan/src/pipelines/graphics_pipeline/vulkan_graphics_pipeline.h rename to projects/apis/vulkan/src/pipelines/graphics_pipeline/vulkan_graphics_pipeline.h diff --git a/src/apis/vulkan/src/present/vulkan_present.c b/projects/apis/vulkan/src/present/vulkan_present.c similarity index 100% rename from src/apis/vulkan/src/present/vulkan_present.c rename to projects/apis/vulkan/src/present/vulkan_present.c diff --git a/src/apis/vulkan/src/presentation_queue/vulkan_presentation_queue.c b/projects/apis/vulkan/src/presentation_queue/vulkan_presentation_queue.c similarity index 100% rename from src/apis/vulkan/src/presentation_queue/vulkan_presentation_queue.c rename to projects/apis/vulkan/src/presentation_queue/vulkan_presentation_queue.c diff --git a/src/apis/vulkan/src/presentation_queue/vulkan_presentation_queue.h b/projects/apis/vulkan/src/presentation_queue/vulkan_presentation_queue.h similarity index 100% rename from src/apis/vulkan/src/presentation_queue/vulkan_presentation_queue.h rename to projects/apis/vulkan/src/presentation_queue/vulkan_presentation_queue.h diff --git a/src/apis/vulkan/src/presentation_queue/vulkan_swapchain_support.c b/projects/apis/vulkan/src/presentation_queue/vulkan_swapchain_support.c similarity index 100% rename from src/apis/vulkan/src/presentation_queue/vulkan_swapchain_support.c rename to projects/apis/vulkan/src/presentation_queue/vulkan_swapchain_support.c diff --git a/src/apis/vulkan/src/presentation_queue/vulkan_swapchain_support.h b/projects/apis/vulkan/src/presentation_queue/vulkan_swapchain_support.h similarity index 100% rename from src/apis/vulkan/src/presentation_queue/vulkan_swapchain_support.h rename to projects/apis/vulkan/src/presentation_queue/vulkan_swapchain_support.h diff --git a/src/apis/vulkan/src/renderpass/vulkan_render_pass_descriptor.c b/projects/apis/vulkan/src/renderpass/vulkan_render_pass_descriptor.c similarity index 100% rename from src/apis/vulkan/src/renderpass/vulkan_render_pass_descriptor.c rename to projects/apis/vulkan/src/renderpass/vulkan_render_pass_descriptor.c diff --git a/src/apis/vulkan/src/renderpass/vulkan_render_pass_descriptor.h b/projects/apis/vulkan/src/renderpass/vulkan_render_pass_descriptor.h similarity index 100% rename from src/apis/vulkan/src/renderpass/vulkan_render_pass_descriptor.h rename to projects/apis/vulkan/src/renderpass/vulkan_render_pass_descriptor.h diff --git a/src/apis/vulkan/src/shader_module/vulkan_shader_module.c b/projects/apis/vulkan/src/shader_module/vulkan_shader_module.c similarity index 100% rename from src/apis/vulkan/src/shader_module/vulkan_shader_module.c rename to projects/apis/vulkan/src/shader_module/vulkan_shader_module.c diff --git a/src/apis/vulkan/src/shader_module/vulkan_shader_module.h b/projects/apis/vulkan/src/shader_module/vulkan_shader_module.h similarity index 100% rename from src/apis/vulkan/src/shader_module/vulkan_shader_module.h rename to projects/apis/vulkan/src/shader_module/vulkan_shader_module.h diff --git a/src/apis/vulkan/src/submit/vulkan_submit.c b/projects/apis/vulkan/src/submit/vulkan_submit.c similarity index 100% rename from src/apis/vulkan/src/submit/vulkan_submit.c rename to projects/apis/vulkan/src/submit/vulkan_submit.c diff --git a/src/apis/vulkan/src/sync/fence/vulkan_fence.c b/projects/apis/vulkan/src/sync/fence/vulkan_fence.c similarity index 100% rename from src/apis/vulkan/src/sync/fence/vulkan_fence.c rename to projects/apis/vulkan/src/sync/fence/vulkan_fence.c diff --git a/src/apis/vulkan/src/sync/fence/vulkan_fence.h b/projects/apis/vulkan/src/sync/fence/vulkan_fence.h similarity index 100% rename from src/apis/vulkan/src/sync/fence/vulkan_fence.h rename to projects/apis/vulkan/src/sync/fence/vulkan_fence.h diff --git a/src/apis/vulkan/src/sync/semaphore/vulkan_semaphore.c b/projects/apis/vulkan/src/sync/semaphore/vulkan_semaphore.c similarity index 100% rename from src/apis/vulkan/src/sync/semaphore/vulkan_semaphore.c rename to projects/apis/vulkan/src/sync/semaphore/vulkan_semaphore.c diff --git a/src/apis/vulkan/src/sync/semaphore/vulkan_semaphore.h b/projects/apis/vulkan/src/sync/semaphore/vulkan_semaphore.h similarity index 100% rename from src/apis/vulkan/src/sync/semaphore/vulkan_semaphore.h rename to projects/apis/vulkan/src/sync/semaphore/vulkan_semaphore.h diff --git a/src/apis/vulkan/src/textures/vulkan_texture.c b/projects/apis/vulkan/src/textures/vulkan_texture.c similarity index 100% rename from src/apis/vulkan/src/textures/vulkan_texture.c rename to projects/apis/vulkan/src/textures/vulkan_texture.c diff --git a/src/apis/vulkan/src/textures/vulkan_texture.h b/projects/apis/vulkan/src/textures/vulkan_texture.h similarity index 100% rename from src/apis/vulkan/src/textures/vulkan_texture.h rename to projects/apis/vulkan/src/textures/vulkan_texture.h diff --git a/src/apis/vulkan/src/uniforms/vulkan_uniform.c b/projects/apis/vulkan/src/uniforms/vulkan_uniform.c similarity index 100% rename from src/apis/vulkan/src/uniforms/vulkan_uniform.c rename to projects/apis/vulkan/src/uniforms/vulkan_uniform.c diff --git a/src/apis/vulkan/src/uniforms/vulkan_uniform.h b/projects/apis/vulkan/src/uniforms/vulkan_uniform.h similarity index 100% rename from src/apis/vulkan/src/uniforms/vulkan_uniform.h rename to projects/apis/vulkan/src/uniforms/vulkan_uniform.h diff --git a/src/apis/vulkan/src/uniforms/vulkan_uniform_layout.c b/projects/apis/vulkan/src/uniforms/vulkan_uniform_layout.c similarity index 100% rename from src/apis/vulkan/src/uniforms/vulkan_uniform_layout.c rename to projects/apis/vulkan/src/uniforms/vulkan_uniform_layout.c diff --git a/src/apis/vulkan/src/uniforms/vulkan_uniform_layout.h b/projects/apis/vulkan/src/uniforms/vulkan_uniform_layout.h similarity index 100% rename from src/apis/vulkan/src/uniforms/vulkan_uniform_layout.h rename to projects/apis/vulkan/src/uniforms/vulkan_uniform_layout.h diff --git a/src/apis/vulkan/src/uniforms/vulkan_uniform_pool.c b/projects/apis/vulkan/src/uniforms/vulkan_uniform_pool.c similarity index 100% rename from src/apis/vulkan/src/uniforms/vulkan_uniform_pool.c rename to projects/apis/vulkan/src/uniforms/vulkan_uniform_pool.c diff --git a/src/apis/vulkan/src/uniforms/vulkan_uniform_pool.h b/projects/apis/vulkan/src/uniforms/vulkan_uniform_pool.h similarity index 100% rename from src/apis/vulkan/src/uniforms/vulkan_uniform_pool.h rename to projects/apis/vulkan/src/uniforms/vulkan_uniform_pool.h diff --git a/src/apis/vulkan/src/vulkan_surface/vulkan_surface.c b/projects/apis/vulkan/src/vulkan_surface/vulkan_surface.c similarity index 100% rename from src/apis/vulkan/src/vulkan_surface/vulkan_surface.c rename to projects/apis/vulkan/src/vulkan_surface/vulkan_surface.c diff --git a/src/apis/vulkan/src/vulkan_surface/vulkan_surface.h b/projects/apis/vulkan/src/vulkan_surface/vulkan_surface.h similarity index 100% rename from src/apis/vulkan/src/vulkan_surface/vulkan_surface.h rename to projects/apis/vulkan/src/vulkan_surface/vulkan_surface.h diff --git a/src/apis/vulkan/src/vulkan_surface/vulkan_surface.m b/projects/apis/vulkan/src/vulkan_surface/vulkan_surface.m similarity index 100% rename from src/apis/vulkan/src/vulkan_surface/vulkan_surface.m rename to projects/apis/vulkan/src/vulkan_surface/vulkan_surface.m diff --git a/src/core/CMakeLists.txt b/projects/core/CMakeLists.txt similarity index 100% rename from src/core/CMakeLists.txt rename to projects/core/CMakeLists.txt diff --git a/src/core/src/buffers/gryphn_buffer.c b/projects/core/src/buffers/gryphn_buffer.c similarity index 100% rename from src/core/src/buffers/gryphn_buffer.c rename to projects/core/src/buffers/gryphn_buffer.c diff --git a/src/core/src/buffers/gryphn_buffer.h b/projects/core/src/buffers/gryphn_buffer.h similarity index 100% rename from src/core/src/buffers/gryphn_buffer.h rename to projects/core/src/buffers/gryphn_buffer.h diff --git a/src/core/src/command/command_buffer/gryphn_command_buffer.c b/projects/core/src/command/command_buffer/gryphn_command_buffer.c similarity index 100% rename from src/core/src/command/command_buffer/gryphn_command_buffer.c rename to projects/core/src/command/command_buffer/gryphn_command_buffer.c diff --git a/src/core/src/command/command_buffer/gryphn_command_buffer.h b/projects/core/src/command/command_buffer/gryphn_command_buffer.h similarity index 100% rename from src/core/src/command/command_buffer/gryphn_command_buffer.h rename to projects/core/src/command/command_buffer/gryphn_command_buffer.h diff --git a/src/core/src/command/command_pool/gryphn_command_pool.c b/projects/core/src/command/command_pool/gryphn_command_pool.c similarity index 100% rename from src/core/src/command/command_pool/gryphn_command_pool.c rename to projects/core/src/command/command_pool/gryphn_command_pool.c diff --git a/src/core/src/command/command_pool/gryphn_command_pool.h b/projects/core/src/command/command_pool/gryphn_command_pool.h similarity index 100% rename from src/core/src/command/command_pool/gryphn_command_pool.h rename to projects/core/src/command/command_pool/gryphn_command_pool.h diff --git a/src/core/src/command/commands/gryphn_command.c b/projects/core/src/command/commands/gryphn_command.c similarity index 100% rename from src/core/src/command/commands/gryphn_command.c rename to projects/core/src/command/commands/gryphn_command.c diff --git a/src/core/src/command/commands/gryphn_command.h b/projects/core/src/command/commands/gryphn_command.h similarity index 100% rename from src/core/src/command/commands/gryphn_command.h rename to projects/core/src/command/commands/gryphn_command.h diff --git a/src/core/src/debugger/gryphn_debugger.c b/projects/core/src/debugger/gryphn_debugger.c similarity index 100% rename from src/core/src/debugger/gryphn_debugger.c rename to projects/core/src/debugger/gryphn_debugger.c diff --git a/src/core/src/debugger/gryphn_debugger.h b/projects/core/src/debugger/gryphn_debugger.h similarity index 100% rename from src/core/src/debugger/gryphn_debugger.h rename to projects/core/src/debugger/gryphn_debugger.h diff --git a/src/core/src/framebuffer/gryphn_framebuffer.c b/projects/core/src/framebuffer/gryphn_framebuffer.c similarity index 100% rename from src/core/src/framebuffer/gryphn_framebuffer.c rename to projects/core/src/framebuffer/gryphn_framebuffer.c diff --git a/src/core/src/framebuffer/gryphn_framebuffer.h b/projects/core/src/framebuffer/gryphn_framebuffer.h similarity index 100% rename from src/core/src/framebuffer/gryphn_framebuffer.h rename to projects/core/src/framebuffer/gryphn_framebuffer.h diff --git a/src/core/src/gryphn_handles.h b/projects/core/src/gryphn_handles.h similarity index 100% rename from src/core/src/gryphn_handles.h rename to projects/core/src/gryphn_handles.h diff --git a/src/core/src/gryphn_platform_functions.h b/projects/core/src/gryphn_platform_functions.h similarity index 100% rename from src/core/src/gryphn_platform_functions.h rename to projects/core/src/gryphn_platform_functions.h diff --git a/src/core/src/gryphn_rendering_api.h b/projects/core/src/gryphn_rendering_api.h similarity index 100% rename from src/core/src/gryphn_rendering_api.h rename to projects/core/src/gryphn_rendering_api.h diff --git a/src/core/src/gryphn_support.h b/projects/core/src/gryphn_support.h similarity index 100% rename from src/core/src/gryphn_support.h rename to projects/core/src/gryphn_support.h diff --git a/src/core/src/instance/gryphn_instance.c b/projects/core/src/instance/gryphn_instance.c similarity index 100% rename from src/core/src/instance/gryphn_instance.c rename to projects/core/src/instance/gryphn_instance.c diff --git a/src/core/src/instance/gryphn_instance.h b/projects/core/src/instance/gryphn_instance.h similarity index 100% rename from src/core/src/instance/gryphn_instance.h rename to projects/core/src/instance/gryphn_instance.h diff --git a/src/core/src/instance/init/gryphn_dynamic_library.h b/projects/core/src/instance/init/gryphn_dynamic_library.h similarity index 100% rename from src/core/src/instance/init/gryphn_dynamic_library.h rename to projects/core/src/instance/init/gryphn_dynamic_library.h diff --git a/src/core/src/instance/init/gryphn_init.c b/projects/core/src/instance/init/gryphn_init.c similarity index 100% rename from src/core/src/instance/init/gryphn_init.c rename to projects/core/src/instance/init/gryphn_init.c diff --git a/src/core/src/instance/init/gryphn_init.h b/projects/core/src/instance/init/gryphn_init.h similarity index 100% rename from src/core/src/instance/init/gryphn_init.h rename to projects/core/src/instance/init/gryphn_init.h diff --git a/src/core/src/output_device/gryphn_output_device.c b/projects/core/src/output_device/gryphn_output_device.c similarity index 100% rename from src/core/src/output_device/gryphn_output_device.c rename to projects/core/src/output_device/gryphn_output_device.c diff --git a/src/core/src/output_device/gryphn_output_device.h b/projects/core/src/output_device/gryphn_output_device.h similarity index 100% rename from src/core/src/output_device/gryphn_output_device.h rename to projects/core/src/output_device/gryphn_output_device.h diff --git a/src/core/src/output_device/gryphn_physical_output_device.c b/projects/core/src/output_device/gryphn_physical_output_device.c similarity index 100% rename from src/core/src/output_device/gryphn_physical_output_device.c rename to projects/core/src/output_device/gryphn_physical_output_device.c diff --git a/src/core/src/output_device/gryphn_physical_output_device.h b/projects/core/src/output_device/gryphn_physical_output_device.h similarity index 100% rename from src/core/src/output_device/gryphn_physical_output_device.h rename to projects/core/src/output_device/gryphn_physical_output_device.h diff --git a/src/core/src/pipelines/graphics_pipeline/gryphn_graphics_pipeline.c b/projects/core/src/pipelines/graphics_pipeline/gryphn_graphics_pipeline.c similarity index 100% rename from src/core/src/pipelines/graphics_pipeline/gryphn_graphics_pipeline.c rename to projects/core/src/pipelines/graphics_pipeline/gryphn_graphics_pipeline.c diff --git a/src/core/src/pipelines/graphics_pipeline/gryphn_graphics_pipeline.h b/projects/core/src/pipelines/graphics_pipeline/gryphn_graphics_pipeline.h similarity index 100% rename from src/core/src/pipelines/graphics_pipeline/gryphn_graphics_pipeline.h rename to projects/core/src/pipelines/graphics_pipeline/gryphn_graphics_pipeline.h diff --git a/src/core/src/present/gryphn_present.c b/projects/core/src/present/gryphn_present.c similarity index 100% rename from src/core/src/present/gryphn_present.c rename to projects/core/src/present/gryphn_present.c diff --git a/src/core/src/present/gryphn_present.h b/projects/core/src/present/gryphn_present.h similarity index 100% rename from src/core/src/present/gryphn_present.h rename to projects/core/src/present/gryphn_present.h diff --git a/src/core/src/presentation_queue/gryphn_presentation_queue.c b/projects/core/src/presentation_queue/gryphn_presentation_queue.c similarity index 100% rename from src/core/src/presentation_queue/gryphn_presentation_queue.c rename to projects/core/src/presentation_queue/gryphn_presentation_queue.c diff --git a/src/core/src/presentation_queue/gryphn_presentation_queue.h b/projects/core/src/presentation_queue/gryphn_presentation_queue.h similarity index 100% rename from src/core/src/presentation_queue/gryphn_presentation_queue.h rename to projects/core/src/presentation_queue/gryphn_presentation_queue.h diff --git a/src/core/src/renderpass/gryphn_render_pass.h b/projects/core/src/renderpass/gryphn_render_pass.h similarity index 100% rename from src/core/src/renderpass/gryphn_render_pass.h rename to projects/core/src/renderpass/gryphn_render_pass.h diff --git a/src/core/src/renderpass/gryphn_render_pass_descriptor.c b/projects/core/src/renderpass/gryphn_render_pass_descriptor.c similarity index 100% rename from src/core/src/renderpass/gryphn_render_pass_descriptor.c rename to projects/core/src/renderpass/gryphn_render_pass_descriptor.c diff --git a/src/core/src/renderpass/gryphn_render_pass_descriptor.h b/projects/core/src/renderpass/gryphn_render_pass_descriptor.h similarity index 100% rename from src/core/src/renderpass/gryphn_render_pass_descriptor.h rename to projects/core/src/renderpass/gryphn_render_pass_descriptor.h diff --git a/src/core/src/shader_input/gryphn_shader_layout.h b/projects/core/src/shader_input/gryphn_shader_layout.h similarity index 100% rename from src/core/src/shader_input/gryphn_shader_layout.h rename to projects/core/src/shader_input/gryphn_shader_layout.h diff --git a/src/core/src/shader_module/gryphn_shader_module.c b/projects/core/src/shader_module/gryphn_shader_module.c similarity index 100% rename from src/core/src/shader_module/gryphn_shader_module.c rename to projects/core/src/shader_module/gryphn_shader_module.c diff --git a/src/core/src/shader_module/gryphn_shader_module.h b/projects/core/src/shader_module/gryphn_shader_module.h similarity index 100% rename from src/core/src/shader_module/gryphn_shader_module.h rename to projects/core/src/shader_module/gryphn_shader_module.h diff --git a/src/core/src/submit/gryphn_submit.c b/projects/core/src/submit/gryphn_submit.c similarity index 100% rename from src/core/src/submit/gryphn_submit.c rename to projects/core/src/submit/gryphn_submit.c diff --git a/src/core/src/submit/gryphn_submit.h b/projects/core/src/submit/gryphn_submit.h similarity index 100% rename from src/core/src/submit/gryphn_submit.h rename to projects/core/src/submit/gryphn_submit.h diff --git a/src/core/src/sync/fence/gryphn_fence.c b/projects/core/src/sync/fence/gryphn_fence.c similarity index 100% rename from src/core/src/sync/fence/gryphn_fence.c rename to projects/core/src/sync/fence/gryphn_fence.c diff --git a/src/core/src/sync/fence/gryphn_fence.h b/projects/core/src/sync/fence/gryphn_fence.h similarity index 100% rename from src/core/src/sync/fence/gryphn_fence.h rename to projects/core/src/sync/fence/gryphn_fence.h diff --git a/src/core/src/sync/semaphore/gryphn_semaphore.c b/projects/core/src/sync/semaphore/gryphn_semaphore.c similarity index 100% rename from src/core/src/sync/semaphore/gryphn_semaphore.c rename to projects/core/src/sync/semaphore/gryphn_semaphore.c diff --git a/src/core/src/sync/semaphore/gryphn_semaphore.h b/projects/core/src/sync/semaphore/gryphn_semaphore.h similarity index 100% rename from src/core/src/sync/semaphore/gryphn_semaphore.h rename to projects/core/src/sync/semaphore/gryphn_semaphore.h diff --git a/src/core/src/textures/gryphn_texture.c b/projects/core/src/textures/gryphn_texture.c similarity index 100% rename from src/core/src/textures/gryphn_texture.c rename to projects/core/src/textures/gryphn_texture.c diff --git a/src/core/src/textures/gryphn_texture.h b/projects/core/src/textures/gryphn_texture.h similarity index 100% rename from src/core/src/textures/gryphn_texture.h rename to projects/core/src/textures/gryphn_texture.h diff --git a/src/core/src/uniforms/gryphn_uniform.c b/projects/core/src/uniforms/gryphn_uniform.c similarity index 100% rename from src/core/src/uniforms/gryphn_uniform.c rename to projects/core/src/uniforms/gryphn_uniform.c diff --git a/src/core/src/uniforms/gryphn_uniform.h b/projects/core/src/uniforms/gryphn_uniform.h similarity index 100% rename from src/core/src/uniforms/gryphn_uniform.h rename to projects/core/src/uniforms/gryphn_uniform.h diff --git a/src/core/src/uniforms/gryphn_uniform_layout.h b/projects/core/src/uniforms/gryphn_uniform_layout.h similarity index 100% rename from src/core/src/uniforms/gryphn_uniform_layout.h rename to projects/core/src/uniforms/gryphn_uniform_layout.h diff --git a/src/core/src/uniforms/gryphn_uniform_pool.c b/projects/core/src/uniforms/gryphn_uniform_pool.c similarity index 100% rename from src/core/src/uniforms/gryphn_uniform_pool.c rename to projects/core/src/uniforms/gryphn_uniform_pool.c diff --git a/src/core/src/uniforms/gryphn_uniform_pool.h b/projects/core/src/uniforms/gryphn_uniform_pool.h similarity index 100% rename from src/core/src/uniforms/gryphn_uniform_pool.h rename to projects/core/src/uniforms/gryphn_uniform_pool.h diff --git a/src/core/src/window_surface/gryphn_surface.c b/projects/core/src/window_surface/gryphn_surface.c similarity index 100% rename from src/core/src/window_surface/gryphn_surface.c rename to projects/core/src/window_surface/gryphn_surface.c diff --git a/src/core/src/window_surface/gryphn_surface.h b/projects/core/src/window_surface/gryphn_surface.h similarity index 100% rename from src/core/src/window_surface/gryphn_surface.h rename to projects/core/src/window_surface/gryphn_surface.h diff --git a/src/core/src/window_surface/gryphn_surface_create_functions.c b/projects/core/src/window_surface/gryphn_surface_create_functions.c similarity index 100% rename from src/core/src/window_surface/gryphn_surface_create_functions.c rename to projects/core/src/window_surface/gryphn_surface_create_functions.c diff --git a/src/core/src/window_surface/gryphn_surface_create_functions.h b/projects/core/src/window_surface/gryphn_surface_create_functions.h similarity index 100% rename from src/core/src/window_surface/gryphn_surface_create_functions.h rename to projects/core/src/window_surface/gryphn_surface_create_functions.h diff --git a/src/platform/gryphn_platform_include.h b/projects/platform/gryphn_platform_include.h similarity index 100% rename from src/platform/gryphn_platform_include.h rename to projects/platform/gryphn_platform_include.h diff --git a/src/platform/platform_linux/gryphn_platform_linux.c b/projects/platform/platform_linux/gryphn_platform_linux.c similarity index 100% rename from src/platform/platform_linux/gryphn_platform_linux.c rename to projects/platform/platform_linux/gryphn_platform_linux.c diff --git a/src/platform/platform_linux/gryphn_platform_linux.h b/projects/platform/platform_linux/gryphn_platform_linux.h similarity index 100% rename from src/platform/platform_linux/gryphn_platform_linux.h rename to projects/platform/platform_linux/gryphn_platform_linux.h diff --git a/src/platform/platform_macos/gryphn_platform_macos.h b/projects/platform/platform_macos/gryphn_platform_macos.h similarity index 100% rename from src/platform/platform_macos/gryphn_platform_macos.h rename to projects/platform/platform_macos/gryphn_platform_macos.h diff --git a/src/platform/platform_macos/gryphn_platform_macos.m b/projects/platform/platform_macos/gryphn_platform_macos.m similarity index 100% rename from src/platform/platform_macos/gryphn_platform_macos.m rename to projects/platform/platform_macos/gryphn_platform_macos.m diff --git a/src/platform/platform_windows/gryphn_platform_windows.h b/projects/platform/platform_windows/gryphn_platform_windows.h similarity index 100% rename from src/platform/platform_windows/gryphn_platform_windows.h rename to projects/platform/platform_windows/gryphn_platform_windows.h diff --git a/src/apis/metal/depends/SPIRV-Cross b/src/apis/metal/depends/SPIRV-Cross deleted file mode 160000 index 2345c78..0000000 --- a/src/apis/metal/depends/SPIRV-Cross +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2345c781f7fc56e32a84730dd249144655e550cd diff --git a/src/utils b/src/utils deleted file mode 160000 index 4037c1c..0000000 --- a/src/utils +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4037c1cc8c249e0ba4d950652723b959f0ab5f4a