mock_surface

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: 9 Imported by: 0

Documentation

Overview

Package mock_surface is a generated GoMock package.

Package mock_surface is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeSurface

func NewFakeSurface() ext_driver.VkSurfaceKHR

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) VkDestroySurfaceKHR

func (m *MockDriver) VkDestroySurfaceKHR(instance driver.VkInstance, surface khr_surface_driver.VkSurfaceKHR, pAllocator *driver.VkAllocationCallbacks)

VkDestroySurfaceKHR mocks base method.

func (*MockDriver) VkGetPhysicalDeviceSurfaceCapabilitiesKHR

func (m *MockDriver) VkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice driver.VkPhysicalDevice, surface khr_surface_driver.VkSurfaceKHR, pSurfaceCapabilities *khr_surface_driver.VkSurfaceCapabilitiesKHR) (common.VkResult, error)

VkGetPhysicalDeviceSurfaceCapabilitiesKHR mocks base method.

func (*MockDriver) VkGetPhysicalDeviceSurfaceFormatsKHR

func (m *MockDriver) VkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice driver.VkPhysicalDevice, surface khr_surface_driver.VkSurfaceKHR, pSurfaceFormatCount *driver.Uint32, pSurfaceFormats *khr_surface_driver.VkSurfaceFormatKHR) (common.VkResult, error)

VkGetPhysicalDeviceSurfaceFormatsKHR mocks base method.

func (*MockDriver) VkGetPhysicalDeviceSurfacePresentModesKHR

func (m *MockDriver) VkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice driver.VkPhysicalDevice, surface khr_surface_driver.VkSurfaceKHR, pPresentModeCount *driver.Uint32, pPresentModes *khr_surface_driver.VkPresentModeKHR) (common.VkResult, error)

VkGetPhysicalDeviceSurfacePresentModesKHR mocks base method.

func (*MockDriver) VkGetPhysicalDeviceSurfaceSupportKHR

func (m *MockDriver) VkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice driver.VkPhysicalDevice, queueFamilyIndex driver.Uint32, surface khr_surface_driver.VkSurfaceKHR, pSupported *driver.VkBool32) (common.VkResult, error)

VkGetPhysicalDeviceSurfaceSupportKHR mocks base method.

type MockDriverMockRecorder

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

MockDriverMockRecorder is the mock recorder for MockDriver.

func (*MockDriverMockRecorder) VkDestroySurfaceKHR

func (mr *MockDriverMockRecorder) VkDestroySurfaceKHR(instance, surface, pAllocator interface{}) *gomock.Call

VkDestroySurfaceKHR indicates an expected call of VkDestroySurfaceKHR.

func (*MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceCapabilitiesKHR

func (mr *MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities interface{}) *gomock.Call

VkGetPhysicalDeviceSurfaceCapabilitiesKHR indicates an expected call of VkGetPhysicalDeviceSurfaceCapabilitiesKHR.

func (*MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceFormatsKHR

func (mr *MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats interface{}) *gomock.Call

VkGetPhysicalDeviceSurfaceFormatsKHR indicates an expected call of VkGetPhysicalDeviceSurfaceFormatsKHR.

func (*MockDriverMockRecorder) VkGetPhysicalDeviceSurfacePresentModesKHR

func (mr *MockDriverMockRecorder) VkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes interface{}) *gomock.Call

VkGetPhysicalDeviceSurfacePresentModesKHR indicates an expected call of VkGetPhysicalDeviceSurfacePresentModesKHR.

func (*MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceSupportKHR

func (mr *MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported interface{}) *gomock.Call

VkGetPhysicalDeviceSurfaceSupportKHR indicates an expected call of VkGetPhysicalDeviceSurfaceSupportKHR.

type MockSurface

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

MockSurface is a mock of Surface interface.

func EasyMockSurface

func EasyMockSurface(ctrl *gomock.Controller) *MockSurface

func NewMockSurface

func NewMockSurface(ctrl *gomock.Controller) *MockSurface

NewMockSurface creates a new mock instance.

func (*MockSurface) Destroy

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

Destroy mocks base method.

func (*MockSurface) EXPECT

func (m *MockSurface) EXPECT() *MockSurfaceMockRecorder

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

func (*MockSurface) Handle

Handle mocks base method.

func (*MockSurface) PhysicalDeviceSurfaceCapabilities

func (m *MockSurface) PhysicalDeviceSurfaceCapabilities(device core1_0.PhysicalDevice) (*khr_surface.Capabilities, common.VkResult, error)

Capabilities mocks base method.

func (*MockSurface) PhysicalDeviceSurfaceFormats

func (m *MockSurface) PhysicalDeviceSurfaceFormats(device core1_0.PhysicalDevice) ([]khr_surface.Format, common.VkResult, error)

Formats mocks base method.

func (*MockSurface) PhysicalDeviceSurfacePresentModes

func (m *MockSurface) PhysicalDeviceSurfacePresentModes(device core1_0.PhysicalDevice) ([]khr_surface.PresentMode, common.VkResult, error)

PresentModes mocks base method.

func (*MockSurface) PhysicalDeviceSurfaceSupport

func (m *MockSurface) PhysicalDeviceSurfaceSupport(physicalDevice core1_0.PhysicalDevice, queueFamilyIndex int) (bool, common.VkResult, error)

SupportsDevice mocks base method.

type MockSurfaceMockRecorder

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

MockSurfaceMockRecorder is the mock recorder for MockSurface.

func (*MockSurfaceMockRecorder) Capabilities

func (mr *MockSurfaceMockRecorder) Capabilities(device interface{}) *gomock.Call

Capabilities indicates an expected call of Capabilities.

func (*MockSurfaceMockRecorder) Destroy

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

Destroy indicates an expected call of Destroy.

func (*MockSurfaceMockRecorder) Formats

func (mr *MockSurfaceMockRecorder) Formats(device interface{}) *gomock.Call

Formats indicates an expected call of Formats.

func (*MockSurfaceMockRecorder) Handle

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

Handle indicates an expected call of Handle.

func (*MockSurfaceMockRecorder) PresentModes

func (mr *MockSurfaceMockRecorder) PresentModes(device interface{}) *gomock.Call

PresentModes indicates an expected call of PresentModes.

func (*MockSurfaceMockRecorder) SupportsDevice

func (mr *MockSurfaceMockRecorder) SupportsDevice(physicalDevice, queueFamilyIndex interface{}) *gomock.Call

SupportsDevice indicates an expected call of SupportsDevice.

Jump to

Keyboard shortcuts

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