15#include "VulkanRenderPassAbstract.h"
23#include "InputProvider.h"
29static const char* kTAG =
"renderPass";
31 ((void)__android_log_print(ANDROID_LOG_INFO, kTAG, __VA_ARGS__))
35const bool transientAttachment =
false;
38const bool transientAttachment =
false;
53 this->
input = inputProvider;
54 auto streamsParams = inputProvider->enumerateStreamsParameters();
58 for (
auto a : activation) {
63 std::cout <<
"Nb of Input view: " << streamsParams.size() << std::endl;
64 std::cout <<
"Nb of Activated camera: " <<
inputImage << std::endl;
100 for (
int i = 0; i < (attachmentSize); i++) {
103 commandPoolBuffer, vk::ImageLayout::eDepthStencilAttachmentOptimal, vk::ImageAspectFlagBits::eDepth);
119 vk::CommandPoolCreateInfo commandPoolInfo(vk::CommandPoolCreateFlagBits::eTransient, queueFamilyIndices.
graphicsFamily.value());
File that contain the VulkanContext class to manage Vulkan Instance, Physical device,...
Class that contains helper functions for Vulkan.
file that conthains a class that manages the pipeline for the blending
Contains the class that manages the warping pipeline.
file that contains the VulkanWrapper class that manages the classes related to Vulkan code and ease t...
class that manages tasks related to Vulkan context (Vulkan Instance, Vulkan Physical device,...
vk::Format findDepthFormat()
vk::PhysicalDevice physicalDevice
bool isIndepFromWindowDimension()
QueueFamilyIndices findQueueFamilies(vk::PhysicalDevice device)
vk::Extent2D renderingExtent
void createDepthResources()
void createCommandPoolForBuffer()
std::vector< ImageStruct > depthImages
vk::CommandPool commandPoolBuffer
virtual void init(InputProvider *inputProvider)
VulkanRenderPassAbstract(VulkanContext *context, VulkanWrapper *wraps)
virtual bool isInitialized()
virtual void recordCommandBuffer(vk::CommandBuffer &commandBuffer, int i, std::span< InputProvider::StreamFrameInfo > frameInfos, int view)
virtual void updateBuffer(uint32_t currentImage, bool initAll, std::span< InputProvider::StreamFrameInfo > infos, int view)
Class that manages the classes related to Vulkan code and act as a wrapper around them.
bool isDepthOutputRecquired()
vk::Format getDepthSwapchainFormat(int view=0)
const bool multiviewSetup
std::vector< bool > getCameraActivation()
file that contains the common include for the Vulkan part
Struct to encapsulate the indice of the queues families.
std::optional< uint32_t > graphicsFamily