Flutter Engine
 
Loading...
Searching...
No Matches
mock_vulkan.cc File Reference
#include "impeller/renderer/backend/vulkan/test/mock_vulkan.h"
#include <cstdint>
#include <cstring>
#include <utility>
#include <vector>
#include "impeller/base/thread_safety.h"
#include "impeller/renderer/backend/vulkan/vk.h"
#include "third_party/swiftshader/include/vulkan/vulkan_core.h"
#include "vulkan/vulkan.hpp"
#include "vulkan/vulkan_core.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::testing
 

Functions

std::shared_ptr< std::vector< std::string > > impeller::testing::GetMockVulkanFunctions (VkDevice device)
 
void impeller::testing::SetSwapchainImageSize (ISize size)
 Override the image size returned by all swapchain images.
 
std::vector< VkImageMemoryBarrier > & impeller::testing::GetImageMemoryBarriers (VkCommandBuffer buffer)
 

Variable Documentation

◆ called_functions_

std::shared_ptr<std::vector<std::string> > called_functions_

Definition at line 27 of file mock_vulkan.cc.

◆ current_image

size_t current_image = 0

Definition at line 43 of file mock_vulkan.cc.

◆ image_memory_barriers_

std::vector<VkImageMemoryBarrier> image_memory_barriers_

Definition at line 28 of file mock_vulkan.cc.

◆ images