#include "libANGLE/renderer/vulkan/VulkanSecondaryCommandBuffer.h"
#include "common/debug.h"
#include "libANGLE/renderer/vulkan/ContextVk.h"
#include "libANGLE/renderer/vulkan/vk_utils.h"
namespace rx
{
namespace vk
{
angle::Result VulkanSecondaryCommandBuffer::InitializeCommandPool(Context *context,
SecondaryCommandPool *pool,
uint32_t queueFamilyIndex,
ProtectionType protectionType)
{ … }
angle::Result VulkanSecondaryCommandBuffer::InitializeRenderPassInheritanceInfo(
ContextVk *contextVk,
const Framebuffer &framebuffer,
const RenderPassDesc &renderPassDesc,
VkCommandBufferInheritanceInfo *inheritanceInfoOut,
VkCommandBufferInheritanceRenderingInfo *renderingInfoOut,
gl::DrawBuffersArray<VkFormat> *colorFormatStorageOut)
{ … }
angle::Result VulkanSecondaryCommandBuffer::initialize(Context *context,
SecondaryCommandPool *pool,
bool isRenderPassCommandBuffer,
SecondaryCommandMemoryAllocator *allocator)
{ … }
void VulkanSecondaryCommandBuffer::destroy()
{ … }
angle::Result VulkanSecondaryCommandBuffer::begin(
Context *context,
const VkCommandBufferInheritanceInfo &inheritanceInfo)
{ … }
angle::Result VulkanSecondaryCommandBuffer::end(Context *context)
{ … }
VkResult VulkanSecondaryCommandBuffer::reset()
{ … }
}
}