Flutter Engine
The Flutter Engine
Namespaces | Functions
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. More...
 

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 42 of file mock_vulkan.cc.

◆ images

std::array<MockImage, 3> images

Definition at line 41 of file mock_vulkan.cc.