mock_swapchain

package
v0.0.0-...-0931f86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package mock_swapchain is a generated GoMock package.

Package mock_swapchain is a generated GoMock package.

Package mock_swapchain is a generated GoMock package.

Package mock_swapchain is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type MockDriver

type MockDriver struct {
	// contains filtered or unexported fields
}

MockDriver is a mock of Driver interface.

func NewMockDriver

func NewMockDriver(ctrl *gomock.Controller) *MockDriver

NewMockDriver creates a new mock instance.

func (*MockDriver) EXPECT

func (m *MockDriver) EXPECT() *MockDriverMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDriver) VkAcquireNextImage2KHR

func (m *MockDriver) VkAcquireNextImage2KHR(device driver.VkDevice, pAcquireInfo *khr_swapchain_driver.VkAcquireNextImageInfoKHR, pImageIndex *driver.Uint32) (common.VkResult, error)

VkAcquireNextImage2KHR mocks base method.

func (*MockDriver) VkAcquireNextImageKHR

func (m *MockDriver) VkAcquireNextImageKHR(device driver.VkDevice, swapchain khr_swapchain_driver.VkSwapchainKHR, timeout driver.Uint64, semaphore driver.VkSemaphore, fence driver.VkFence, pImageIndex *driver.Uint32) (common.VkResult, error)

VkAcquireNextImageKHR mocks base method.

func (*MockDriver) VkCreateSwapchainKHR

VkCreateSwapchainKHR mocks base method.

func (*MockDriver) VkDestroySwapchainKHR

func (m *MockDriver) VkDestroySwapchainKHR(device driver.VkDevice, swapchain khr_swapchain_driver.VkSwapchainKHR, pAllocator *driver.VkAllocationCallbacks)

VkDestroySwapchainKHR mocks base method.

func (*MockDriver) VkGetDeviceGroupPresentCapabilitiesKHR

func (m *MockDriver) VkGetDeviceGroupPresentCapabilitiesKHR(device driver.VkDevice, pDeviceGroupPresentCapabilities *khr_swapchain_driver.VkDeviceGroupPresentCapabilitiesKHR) (common.VkResult, error)

VkGetDeviceGroupPresentCapabilitiesKHR mocks base method.

func (*MockDriver) VkGetDeviceGroupSurfacePresentModesKHR

func (m *MockDriver) VkGetDeviceGroupSurfacePresentModesKHR(device driver.VkDevice, surface khr_surface_driver.VkSurfaceKHR, pModes *khr_swapchain_driver.VkDeviceGroupPresentModeFlagsKHR) (common.VkResult, error)

VkGetDeviceGroupSurfacePresentModesKHR mocks base method.

func (*MockDriver) VkGetPhysicalDevicePresentRectanglesKHR

func (m *MockDriver) VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice driver.VkPhysicalDevice, surface khr_surface_driver.VkSurfaceKHR, pRectCount *driver.Uint32, pRects *driver.VkRect2D) (common.VkResult, error)

VkGetPhysicalDevicePresentRectanglesKHR mocks base method.

func (*MockDriver) VkGetSwapchainImagesKHR

func (m *MockDriver) VkGetSwapchainImagesKHR(device driver.VkDevice, swapchain khr_swapchain_driver.VkSwapchainKHR, pSwapchainImageCount *driver.Uint32, pSwapchainImages *driver.VkImage) (common.VkResult, error)

VkGetSwapchainImagesKHR mocks base method.

func (*MockDriver) VkQueuePresentKHR

func (m *MockDriver) VkQueuePresentKHR(queue driver.VkQueue, pPresentInfo *khr_swapchain_driver.VkPresentInfoKHR) (common.VkResult, error)

VkQueuePresentKHR mocks base method.

type MockDriverMockRecorder

type MockDriverMockRecorder struct {
	// contains filtered or unexported fields
}

MockDriverMockRecorder is the mock recorder for MockDriver.

func (*MockDriverMockRecorder) VkAcquireNextImage2KHR

func (mr *MockDriverMockRecorder) VkAcquireNextImage2KHR(device, pAcquireInfo, pImageIndex interface{}) *gomock.Call

VkAcquireNextImage2KHR indicates an expected call of VkAcquireNextImage2KHR.

func (*MockDriverMockRecorder) VkAcquireNextImageKHR

func (mr *MockDriverMockRecorder) VkAcquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex interface{}) *gomock.Call

VkAcquireNextImageKHR indicates an expected call of VkAcquireNextImageKHR.

func (*MockDriverMockRecorder) VkCreateSwapchainKHR

func (mr *MockDriverMockRecorder) VkCreateSwapchainKHR(device, pCreateInfo, pAllocator, pSwapchain interface{}) *gomock.Call

VkCreateSwapchainKHR indicates an expected call of VkCreateSwapchainKHR.

func (*MockDriverMockRecorder) VkDestroySwapchainKHR

func (mr *MockDriverMockRecorder) VkDestroySwapchainKHR(device, swapchain, pAllocator interface{}) *gomock.Call

VkDestroySwapchainKHR indicates an expected call of VkDestroySwapchainKHR.

func (*MockDriverMockRecorder) VkGetDeviceGroupPresentCapabilitiesKHR

func (mr *MockDriverMockRecorder) VkGetDeviceGroupPresentCapabilitiesKHR(device, pDeviceGroupPresentCapabilities interface{}) *gomock.Call

VkGetDeviceGroupPresentCapabilitiesKHR indicates an expected call of VkGetDeviceGroupPresentCapabilitiesKHR.

func (*MockDriverMockRecorder) VkGetDeviceGroupSurfacePresentModesKHR

func (mr *MockDriverMockRecorder) VkGetDeviceGroupSurfacePresentModesKHR(device, surface, pModes interface{}) *gomock.Call

VkGetDeviceGroupSurfacePresentModesKHR indicates an expected call of VkGetDeviceGroupSurfacePresentModesKHR.

func (*MockDriverMockRecorder) VkGetPhysicalDevicePresentRectanglesKHR

func (mr *MockDriverMockRecorder) VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice, surface, pRectCount, pRects interface{}) *gomock.Call

VkGetPhysicalDevicePresentRectanglesKHR indicates an expected call of VkGetPhysicalDevicePresentRectanglesKHR.

func (*MockDriverMockRecorder) VkGetSwapchainImagesKHR

func (mr *MockDriverMockRecorder) VkGetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages interface{}) *gomock.Call

VkGetSwapchainImagesKHR indicates an expected call of VkGetSwapchainImagesKHR.

func (*MockDriverMockRecorder) VkQueuePresentKHR

func (mr *MockDriverMockRecorder) VkQueuePresentKHR(queue, pPresentInfo interface{}) *gomock.Call

VkQueuePresentKHR indicates an expected call of VkQueuePresentKHR.

type MockExtension

type MockExtension struct {
	// contains filtered or unexported fields
}

MockExtension is a mock of Extension interface.

func NewMockExtension

func NewMockExtension(ctrl *gomock.Controller) *MockExtension

NewMockExtension creates a new mock instance.

func (*MockExtension) APIVersion

func (m *MockExtension) APIVersion() common.APIVersion

APIVersion mocks base method.

func (*MockExtension) CreateSwapchain

CreateSwapchain mocks base method.

func (*MockExtension) Driver

Driver mocks base method.

func (*MockExtension) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockExtension) QueuePresent

PresentToQueue mocks base method.

type MockExtension1_1

type MockExtension1_1 struct {
	// contains filtered or unexported fields
}

MockExtension1_1 is a mock of Extension interface.

func NewMockExtension1_1

func NewMockExtension1_1(ctrl *gomock.Controller) *MockExtension1_1

NewMockExtension1_1 creates a new mock instance.

func (*MockExtension1_1) AcquireNextImage2

AcquireNextImage mocks base method.

func (*MockExtension1_1) DeviceGroupPresentCapabilities

func (m *MockExtension1_1) DeviceGroupPresentCapabilities(device core1_0.Device, outData *khr_swapchain1_1.DeviceGroupPresentCapabilities) (common.VkResult, error)

DeviceGroupPresentCapabilities mocks base method.

func (*MockExtension1_1) DeviceGroupSurfacePresentModes

func (m *MockExtension1_1) DeviceGroupSurfacePresentModes(device core1_0.Device, surface khr_surface.Surface) (khr_swapchain1_1.DeviceGroupPresentModeFlags, common.VkResult, error)

DeviceGroupSurfacePresentModes mocks base method.

func (*MockExtension1_1) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockExtension1_1) PhysicalDevicePresentRectangles

func (m *MockExtension1_1) PhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)

PhysicalDevicePresentRectangles mocks base method.

type MockExtension1_1MockRecorder

type MockExtension1_1MockRecorder struct {
	// contains filtered or unexported fields
}

MockExtension1_1MockRecorder is the mock recorder for MockExtension1_1.

func (*MockExtension1_1MockRecorder) AcquireNextImage

func (mr *MockExtension1_1MockRecorder) AcquireNextImage(device, o interface{}) *gomock.Call

AcquireNextImage indicates an expected call of AcquireNextImage.

func (*MockExtension1_1MockRecorder) DeviceGroupPresentCapabilities

func (mr *MockExtension1_1MockRecorder) DeviceGroupPresentCapabilities(device, outData interface{}) *gomock.Call

DeviceGroupPresentCapabilities indicates an expected call of DeviceGroupPresentCapabilities.

func (*MockExtension1_1MockRecorder) DeviceGroupSurfacePresentModes

func (mr *MockExtension1_1MockRecorder) DeviceGroupSurfacePresentModes(device, surface interface{}) *gomock.Call

DeviceGroupSurfacePresentModes indicates an expected call of DeviceGroupSurfacePresentModes.

func (*MockExtension1_1MockRecorder) PhysicalDevicePresentRectangles

func (mr *MockExtension1_1MockRecorder) PhysicalDevicePresentRectangles(physicalDevice, surface interface{}) *gomock.Call

PhysicalDevicePresentRectangles indicates an expected call of PhysicalDevicePresentRectangles.

type MockExtensionMockRecorder

type MockExtensionMockRecorder struct {
	// contains filtered or unexported fields
}

MockExtensionMockRecorder is the mock recorder for MockExtension.

func (*MockExtensionMockRecorder) APIVersion

func (mr *MockExtensionMockRecorder) APIVersion() *gomock.Call

APIVersion indicates an expected call of APIVersion.

func (*MockExtensionMockRecorder) CreateSwapchain

func (mr *MockExtensionMockRecorder) CreateSwapchain(device, allocation, options interface{}) *gomock.Call

CreateSwapchain indicates an expected call of CreateSwapchain.

func (*MockExtensionMockRecorder) Driver

func (mr *MockExtensionMockRecorder) Driver() *gomock.Call

Driver indicates an expected call of Driver.

func (*MockExtensionMockRecorder) PresentToQueue

func (mr *MockExtensionMockRecorder) PresentToQueue(queue, o interface{}) *gomock.Call

PresentToQueue indicates an expected call of PresentToQueue.

type MockSwapchain

type MockSwapchain struct {
	// contains filtered or unexported fields
}

MockSwapchain is a mock of Swapchain interface.

func EasyMockSwapchain

func EasyMockSwapchain(ctrl *gomock.Controller) *MockSwapchain

func NewMockSwapchain

func NewMockSwapchain(ctrl *gomock.Controller) *MockSwapchain

NewMockSwapchain creates a new mock instance.

func (*MockSwapchain) AcquireNextImage

func (m *MockSwapchain) AcquireNextImage(timeout time.Duration, semaphore core1_0.Semaphore, fence core1_0.Fence) (int, common.VkResult, error)

AcquireNextImage mocks base method.

func (*MockSwapchain) Destroy

func (m *MockSwapchain) Destroy(callbacks *driver.AllocationCallbacks)

Destroy mocks base method.

func (*MockSwapchain) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSwapchain) Handle

Handle mocks base method.

func (*MockSwapchain) SwapchainImages

func (m *MockSwapchain) SwapchainImages() ([]core1_0.Image, common.VkResult, error)

Images mocks base method.

type MockSwapchainMockRecorder

type MockSwapchainMockRecorder struct {
	// contains filtered or unexported fields
}

MockSwapchainMockRecorder is the mock recorder for MockSwapchain.

func (*MockSwapchainMockRecorder) AcquireNextImage

func (mr *MockSwapchainMockRecorder) AcquireNextImage(timeout, semaphore, fence interface{}) *gomock.Call

AcquireNextImage indicates an expected call of AcquireNextImage.

func (*MockSwapchainMockRecorder) Destroy

func (mr *MockSwapchainMockRecorder) Destroy(callbacks interface{}) *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockSwapchainMockRecorder) Handle

func (mr *MockSwapchainMockRecorder) Handle() *gomock.Call

Handle indicates an expected call of Handle.

func (*MockSwapchainMockRecorder) Images

func (mr *MockSwapchainMockRecorder) Images() *gomock.Call

Images indicates an expected call of Images.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL