mock_device_group

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_device_group is a generated GoMock package.

Package mock_device_group is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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_device_group_driver.VkAcquireNextImageInfoKHR, pImageIndex *driver.Uint32) (common.VkResult, error)

VkAcquireNextImage2KHR mocks base method.

func (*MockDriver) VkCmdDispatchBaseKHR

func (m *MockDriver) VkCmdDispatchBaseKHR(commandBuffer driver.VkCommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ driver.Uint32)

VkCmdDispatchBaseKHR mocks base method.

func (*MockDriver) VkCmdSetDeviceMaskKHR

func (m *MockDriver) VkCmdSetDeviceMaskKHR(commandBuffer driver.VkCommandBuffer, deviceMask driver.Uint32)

VkCmdSetDeviceMaskKHR mocks base method.

func (*MockDriver) VkGetDeviceGroupPeerMemoryFeaturesKHR

func (m *MockDriver) VkGetDeviceGroupPeerMemoryFeaturesKHR(device driver.VkDevice, heapIndex, localDeviceIndex, remoteDeviceIndex driver.Uint32, pPeerMemoryFeatures *khr_device_group_driver.VkPeerMemoryFeatureFlagsKHR)

VkGetDeviceGroupPeerMemoryFeaturesKHR mocks base method.

func (*MockDriver) VkGetDeviceGroupPresentCapabilitiesKHR

func (m *MockDriver) VkGetDeviceGroupPresentCapabilitiesKHR(device driver.VkDevice, pDeviceGroupPresentCapabilities *khr_device_group_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_device_group_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.

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

func (mr *MockDriverMockRecorder) VkCmdDispatchBaseKHR(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ interface{}) *gomock.Call

VkCmdDispatchBaseKHR indicates an expected call of VkCmdDispatchBaseKHR.

func (*MockDriverMockRecorder) VkCmdSetDeviceMaskKHR

func (mr *MockDriverMockRecorder) VkCmdSetDeviceMaskKHR(commandBuffer, deviceMask interface{}) *gomock.Call

VkCmdSetDeviceMaskKHR indicates an expected call of VkCmdSetDeviceMaskKHR.

func (*MockDriverMockRecorder) VkGetDeviceGroupPeerMemoryFeaturesKHR

func (mr *MockDriverMockRecorder) VkGetDeviceGroupPeerMemoryFeaturesKHR(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures interface{}) *gomock.Call

VkGetDeviceGroupPeerMemoryFeaturesKHR indicates an expected call of VkGetDeviceGroupPeerMemoryFeaturesKHR.

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.

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

func (m *MockExtension) CmdDispatchBase(commandBuffer core1_0.CommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int)

CmdDispatchBase mocks base method.

func (*MockExtension) CmdSetDeviceMask

func (m *MockExtension) CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32)

CmdSetDeviceMask mocks base method.

func (*MockExtension) DeviceGroupPeerMemoryFeatures

func (m *MockExtension) DeviceGroupPeerMemoryFeatures(device core1_0.Device, heapIndex, localDeviceIndex, remoteDeviceIndex int) khr_device_group.PeerMemoryFeatures

DeviceGroupPeerMemoryFeatures mocks base method.

func (*MockExtension) EXPECT

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

func (*MockExtension) WithKHRSurface

WithKHRSurface mocks base method.

func (*MockExtension) WithKHRSwapchain

WithKHRSwapchain mocks base method.

type MockExtensionMockRecorder

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

MockExtensionMockRecorder is the mock recorder for MockExtension.

func (*MockExtensionMockRecorder) CmdDispatchBase

func (mr *MockExtensionMockRecorder) CmdDispatchBase(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ interface{}) *gomock.Call

CmdDispatchBase indicates an expected call of CmdDispatchBase.

func (*MockExtensionMockRecorder) CmdSetDeviceMask

func (mr *MockExtensionMockRecorder) CmdSetDeviceMask(commandBuffer, deviceMask interface{}) *gomock.Call

CmdSetDeviceMask indicates an expected call of CmdSetDeviceMask.

func (*MockExtensionMockRecorder) DeviceGroupPeerMemoryFeatures

func (mr *MockExtensionMockRecorder) DeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex interface{}) *gomock.Call

DeviceGroupPeerMemoryFeatures indicates an expected call of DeviceGroupPeerMemoryFeatures.

func (*MockExtensionMockRecorder) WithKHRSurface

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

WithKHRSurface indicates an expected call of WithKHRSurface.

func (*MockExtensionMockRecorder) WithKHRSwapchain

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

WithKHRSwapchain indicates an expected call of WithKHRSwapchain.

type MockExtensionWithKHRSurface

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

MockExtensionWithKHRSurface is a mock of ExtensionWithKHRSurface interface.

func NewMockExtensionWithKHRSurface

func NewMockExtensionWithKHRSurface(ctrl *gomock.Controller) *MockExtensionWithKHRSurface

NewMockExtensionWithKHRSurface creates a new mock instance.

func (*MockExtensionWithKHRSurface) DeviceGroupPresentCapabilities

func (m *MockExtensionWithKHRSurface) DeviceGroupPresentCapabilities(device core1_0.Device, outData *khr_device_group.DeviceGroupPresentCapabilities) (common.VkResult, error)

DeviceGroupPresentCapabilities mocks base method.

func (*MockExtensionWithKHRSurface) DeviceGroupSurfacePresentModes

DeviceGroupSurfacePresentModes mocks base method.

func (*MockExtensionWithKHRSurface) EXPECT

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

func (*MockExtensionWithKHRSurface) PhysicalDevicePresentRectangles

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

PhysicalDevicePresentRectangles mocks base method.

type MockExtensionWithKHRSurfaceMockRecorder

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

MockExtensionWithKHRSurfaceMockRecorder is the mock recorder for MockExtensionWithKHRSurface.

func (*MockExtensionWithKHRSurfaceMockRecorder) DeviceGroupPresentCapabilities

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

DeviceGroupPresentCapabilities indicates an expected call of DeviceGroupPresentCapabilities.

func (*MockExtensionWithKHRSurfaceMockRecorder) DeviceGroupSurfacePresentModes

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

DeviceGroupSurfacePresentModes indicates an expected call of DeviceGroupSurfacePresentModes.

func (*MockExtensionWithKHRSurfaceMockRecorder) PhysicalDevicePresentRectangles

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

PhysicalDevicePresentRectangles indicates an expected call of PhysicalDevicePresentRectangles.

type MockExtensionWithKHRSwapchain

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

MockExtensionWithKHRSwapchain is a mock of ExtensionWithKHRSwapchain interface.

func NewMockExtensionWithKHRSwapchain

func NewMockExtensionWithKHRSwapchain(ctrl *gomock.Controller) *MockExtensionWithKHRSwapchain

NewMockExtensionWithKHRSwapchain creates a new mock instance.

func (*MockExtensionWithKHRSwapchain) AcquireNextImage2

AcquireNextImage mocks base method.

func (*MockExtensionWithKHRSwapchain) EXPECT

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

type MockExtensionWithKHRSwapchainMockRecorder

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

MockExtensionWithKHRSwapchainMockRecorder is the mock recorder for MockExtensionWithKHRSwapchain.

func (*MockExtensionWithKHRSwapchainMockRecorder) AcquireNextImage

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

AcquireNextImage indicates an expected call of AcquireNextImage.

Jump to

Keyboard shortcuts

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