mock_device_group

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package mock_device_group is a generated GoMock package.

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 MockCommandBufferShim added in v2.1.0

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

MockCommandBufferShim is a mock of CommandBufferShim interface.

func NewMockCommandBufferShim added in v2.1.0

func NewMockCommandBufferShim(ctrl *gomock.Controller) *MockCommandBufferShim

NewMockCommandBufferShim creates a new mock instance.

func (*MockCommandBufferShim) CmdDispatchBase added in v2.1.0

func (m *MockCommandBufferShim) CmdDispatchBase(baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int)

CmdDispatchBase mocks base method.

func (*MockCommandBufferShim) CmdSetDeviceMask added in v2.1.0

func (m *MockCommandBufferShim) CmdSetDeviceMask(deviceMask uint32)

CmdSetDeviceMask mocks base method.

func (*MockCommandBufferShim) EXPECT added in v2.1.0

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

type MockCommandBufferShimMockRecorder added in v2.1.0

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

MockCommandBufferShimMockRecorder is the mock recorder for MockCommandBufferShim.

func (*MockCommandBufferShimMockRecorder) CmdDispatchBase added in v2.1.0

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

CmdDispatchBase indicates an expected call of CmdDispatchBase.

func (*MockCommandBufferShimMockRecorder) CmdSetDeviceMask added in v2.1.0

func (mr *MockCommandBufferShimMockRecorder) CmdSetDeviceMask(deviceMask interface{}) *gomock.Call

CmdSetDeviceMask indicates an expected call of CmdSetDeviceMask.

type MockDeviceShim added in v2.1.0

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

MockDeviceShim is a mock of DeviceShim interface.

func NewMockDeviceShim added in v2.1.0

func NewMockDeviceShim(ctrl *gomock.Controller) *MockDeviceShim

NewMockDeviceShim creates a new mock instance.

func (*MockDeviceShim) DeviceGroupPeerMemoryFeatures added in v2.1.0

func (m *MockDeviceShim) DeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex int) core1_1.PeerMemoryFeatureFlags

DeviceGroupPeerMemoryFeatures mocks base method.

func (*MockDeviceShim) EXPECT added in v2.1.0

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

type MockDeviceShimMockRecorder added in v2.1.0

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

MockDeviceShimMockRecorder is the mock recorder for MockDeviceShim.

func (*MockDeviceShimMockRecorder) DeviceGroupPeerMemoryFeatures added in v2.1.0

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

DeviceGroupPeerMemoryFeatures indicates an expected call of DeviceGroupPeerMemoryFeatures.

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.PeerMemoryFeatureFlags

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

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

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

AcquireNextImage2 indicates an expected call of AcquireNextImage2.

Jump to

Keyboard shortcuts

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