Documentation
¶
Overview ¶
Package mock_device_group is a generated GoMock package.
Package mock_device_group is a generated GoMock package.
Index ¶
- type MockExtensionDriver
- func (m *MockExtensionDriver) CmdDispatchBase(commandBuffer core1_0.CommandBuffer, ...)
- func (m *MockExtensionDriver) CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32)
- func (m *MockExtensionDriver) EXPECT() *MockExtensionDriverMockRecorder
- func (m *MockExtensionDriver) GetDeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex int) khr_device_group.PeerMemoryFeatureFlags
- func (m *MockExtensionDriver) WithKHRSurface() khr_device_group.ExtensionDriverWithKHRSurface
- func (m *MockExtensionDriver) WithKHRSwapchain() khr_device_group.ExtensionDriverWithKHRSwapchain
- type MockExtensionDriverMockRecorder
- func (mr *MockExtensionDriverMockRecorder) CmdDispatchBase(...) *gomock.Call
- func (mr *MockExtensionDriverMockRecorder) CmdSetDeviceMask(commandBuffer, deviceMask any) *gomock.Call
- func (mr *MockExtensionDriverMockRecorder) GetDeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex any) *gomock.Call
- func (mr *MockExtensionDriverMockRecorder) WithKHRSurface() *gomock.Call
- func (mr *MockExtensionDriverMockRecorder) WithKHRSwapchain() *gomock.Call
- type MockExtensionDriverWithKHRSurface
- func (m *MockExtensionDriverWithKHRSurface) EXPECT() *MockExtensionDriverWithKHRSurfaceMockRecorder
- func (m *MockExtensionDriverWithKHRSurface) GetDeviceGroupPresentCapabilities(outData *khr_device_group.DeviceGroupPresentCapabilities) (common.VkResult, error)
- func (m *MockExtensionDriverWithKHRSurface) GetDeviceGroupSurfacePresentModes(surface khr_surface.Surface) (khr_device_group.DeviceGroupPresentModeFlags, common.VkResult, error)
- func (m *MockExtensionDriverWithKHRSurface) GetPhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
- type MockExtensionDriverWithKHRSurfaceMockRecorder
- func (mr *MockExtensionDriverWithKHRSurfaceMockRecorder) GetDeviceGroupPresentCapabilities(outData any) *gomock.Call
- func (mr *MockExtensionDriverWithKHRSurfaceMockRecorder) GetDeviceGroupSurfacePresentModes(surface any) *gomock.Call
- func (mr *MockExtensionDriverWithKHRSurfaceMockRecorder) GetPhysicalDevicePresentRectangles(physicalDevice, surface any) *gomock.Call
- type MockExtensionDriverWithKHRSwapchain
- type MockExtensionDriverWithKHRSwapchainMockRecorder
- type MockLoader
- func (m *MockLoader) EXPECT() *MockLoaderMockRecorder
- func (m *MockLoader) VkAcquireNextImage2KHR(device loader.VkDevice, ...) (common.VkResult, error)
- func (m *MockLoader) VkCmdDispatchBaseKHR(commandBuffer loader.VkCommandBuffer, ...)
- func (m *MockLoader) VkCmdSetDeviceMaskKHR(commandBuffer loader.VkCommandBuffer, deviceMask loader.Uint32)
- func (m *MockLoader) VkGetDeviceGroupPeerMemoryFeaturesKHR(device loader.VkDevice, ...)
- func (m *MockLoader) VkGetDeviceGroupPresentCapabilitiesKHR(device loader.VkDevice, ...) (common.VkResult, error)
- func (m *MockLoader) VkGetDeviceGroupSurfacePresentModesKHR(device loader.VkDevice, surface khr_surface_loader.VkSurfaceKHR, ...) (common.VkResult, error)
- func (m *MockLoader) VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice loader.VkPhysicalDevice, ...) (common.VkResult, error)
- type MockLoaderMockRecorder
- func (mr *MockLoaderMockRecorder) VkAcquireNextImage2KHR(device, pAcquireInfo, pImageIndex any) *gomock.Call
- func (mr *MockLoaderMockRecorder) VkCmdDispatchBaseKHR(...) *gomock.Call
- func (mr *MockLoaderMockRecorder) VkCmdSetDeviceMaskKHR(commandBuffer, deviceMask any) *gomock.Call
- func (mr *MockLoaderMockRecorder) VkGetDeviceGroupPeerMemoryFeaturesKHR(...) *gomock.Call
- func (mr *MockLoaderMockRecorder) VkGetDeviceGroupPresentCapabilitiesKHR(device, pDeviceGroupPresentCapabilities any) *gomock.Call
- func (mr *MockLoaderMockRecorder) VkGetDeviceGroupSurfacePresentModesKHR(device, surface, pModes any) *gomock.Call
- func (mr *MockLoaderMockRecorder) VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice, surface, pRectCount, pRects any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExtensionDriver ¶
type MockExtensionDriver struct {
// contains filtered or unexported fields
}
MockExtensionDriver is a mock of ExtensionDriver interface.
func NewMockExtensionDriver ¶
func NewMockExtensionDriver(ctrl *gomock.Controller) *MockExtensionDriver
NewMockExtensionDriver creates a new mock instance.
func (*MockExtensionDriver) CmdDispatchBase ¶
func (m *MockExtensionDriver) CmdDispatchBase(commandBuffer core1_0.CommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int)
CmdDispatchBase mocks base method.
func (*MockExtensionDriver) CmdSetDeviceMask ¶
func (m *MockExtensionDriver) CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32)
CmdSetDeviceMask mocks base method.
func (*MockExtensionDriver) EXPECT ¶
func (m *MockExtensionDriver) EXPECT() *MockExtensionDriverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtensionDriver) GetDeviceGroupPeerMemoryFeatures ¶
func (m *MockExtensionDriver) GetDeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex int) khr_device_group.PeerMemoryFeatureFlags
GetDeviceGroupPeerMemoryFeatures mocks base method.
func (*MockExtensionDriver) WithKHRSurface ¶
func (m *MockExtensionDriver) WithKHRSurface() khr_device_group.ExtensionDriverWithKHRSurface
WithKHRSurface mocks base method.
func (*MockExtensionDriver) WithKHRSwapchain ¶
func (m *MockExtensionDriver) WithKHRSwapchain() khr_device_group.ExtensionDriverWithKHRSwapchain
WithKHRSwapchain mocks base method.
type MockExtensionDriverMockRecorder ¶
type MockExtensionDriverMockRecorder struct {
// contains filtered or unexported fields
}
MockExtensionDriverMockRecorder is the mock recorder for MockExtensionDriver.
func (*MockExtensionDriverMockRecorder) CmdDispatchBase ¶
func (mr *MockExtensionDriverMockRecorder) CmdDispatchBase(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ any) *gomock.Call
CmdDispatchBase indicates an expected call of CmdDispatchBase.
func (*MockExtensionDriverMockRecorder) CmdSetDeviceMask ¶
func (mr *MockExtensionDriverMockRecorder) CmdSetDeviceMask(commandBuffer, deviceMask any) *gomock.Call
CmdSetDeviceMask indicates an expected call of CmdSetDeviceMask.
func (*MockExtensionDriverMockRecorder) GetDeviceGroupPeerMemoryFeatures ¶
func (mr *MockExtensionDriverMockRecorder) GetDeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex any) *gomock.Call
GetDeviceGroupPeerMemoryFeatures indicates an expected call of GetDeviceGroupPeerMemoryFeatures.
func (*MockExtensionDriverMockRecorder) WithKHRSurface ¶
func (mr *MockExtensionDriverMockRecorder) WithKHRSurface() *gomock.Call
WithKHRSurface indicates an expected call of WithKHRSurface.
func (*MockExtensionDriverMockRecorder) WithKHRSwapchain ¶
func (mr *MockExtensionDriverMockRecorder) WithKHRSwapchain() *gomock.Call
WithKHRSwapchain indicates an expected call of WithKHRSwapchain.
type MockExtensionDriverWithKHRSurface ¶
type MockExtensionDriverWithKHRSurface struct {
// contains filtered or unexported fields
}
MockExtensionDriverWithKHRSurface is a mock of ExtensionDriverWithKHRSurface interface.
func NewMockExtensionDriverWithKHRSurface ¶
func NewMockExtensionDriverWithKHRSurface(ctrl *gomock.Controller) *MockExtensionDriverWithKHRSurface
NewMockExtensionDriverWithKHRSurface creates a new mock instance.
func (*MockExtensionDriverWithKHRSurface) EXPECT ¶
func (m *MockExtensionDriverWithKHRSurface) EXPECT() *MockExtensionDriverWithKHRSurfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtensionDriverWithKHRSurface) GetDeviceGroupPresentCapabilities ¶
func (m *MockExtensionDriverWithKHRSurface) GetDeviceGroupPresentCapabilities(outData *khr_device_group.DeviceGroupPresentCapabilities) (common.VkResult, error)
GetDeviceGroupPresentCapabilities mocks base method.
func (*MockExtensionDriverWithKHRSurface) GetDeviceGroupSurfacePresentModes ¶
func (m *MockExtensionDriverWithKHRSurface) GetDeviceGroupSurfacePresentModes(surface khr_surface.Surface) (khr_device_group.DeviceGroupPresentModeFlags, common.VkResult, error)
GetDeviceGroupSurfacePresentModes mocks base method.
func (*MockExtensionDriverWithKHRSurface) GetPhysicalDevicePresentRectangles ¶
func (m *MockExtensionDriverWithKHRSurface) GetPhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
GetPhysicalDevicePresentRectangles mocks base method.
type MockExtensionDriverWithKHRSurfaceMockRecorder ¶
type MockExtensionDriverWithKHRSurfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockExtensionDriverWithKHRSurfaceMockRecorder is the mock recorder for MockExtensionDriverWithKHRSurface.
func (*MockExtensionDriverWithKHRSurfaceMockRecorder) GetDeviceGroupPresentCapabilities ¶
func (mr *MockExtensionDriverWithKHRSurfaceMockRecorder) GetDeviceGroupPresentCapabilities(outData any) *gomock.Call
GetDeviceGroupPresentCapabilities indicates an expected call of GetDeviceGroupPresentCapabilities.
func (*MockExtensionDriverWithKHRSurfaceMockRecorder) GetDeviceGroupSurfacePresentModes ¶
func (mr *MockExtensionDriverWithKHRSurfaceMockRecorder) GetDeviceGroupSurfacePresentModes(surface any) *gomock.Call
GetDeviceGroupSurfacePresentModes indicates an expected call of GetDeviceGroupSurfacePresentModes.
func (*MockExtensionDriverWithKHRSurfaceMockRecorder) GetPhysicalDevicePresentRectangles ¶
func (mr *MockExtensionDriverWithKHRSurfaceMockRecorder) GetPhysicalDevicePresentRectangles(physicalDevice, surface any) *gomock.Call
GetPhysicalDevicePresentRectangles indicates an expected call of GetPhysicalDevicePresentRectangles.
type MockExtensionDriverWithKHRSwapchain ¶
type MockExtensionDriverWithKHRSwapchain struct {
// contains filtered or unexported fields
}
MockExtensionDriverWithKHRSwapchain is a mock of ExtensionDriverWithKHRSwapchain interface.
func NewMockExtensionDriverWithKHRSwapchain ¶
func NewMockExtensionDriverWithKHRSwapchain(ctrl *gomock.Controller) *MockExtensionDriverWithKHRSwapchain
NewMockExtensionDriverWithKHRSwapchain creates a new mock instance.
func (*MockExtensionDriverWithKHRSwapchain) AcquireNextImage2 ¶
func (m *MockExtensionDriverWithKHRSwapchain) AcquireNextImage2(o khr_device_group.AcquireNextImageInfo) (int, common.VkResult, error)
AcquireNextImage2 mocks base method.
func (*MockExtensionDriverWithKHRSwapchain) EXPECT ¶
func (m *MockExtensionDriverWithKHRSwapchain) EXPECT() *MockExtensionDriverWithKHRSwapchainMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockExtensionDriverWithKHRSwapchainMockRecorder ¶
type MockExtensionDriverWithKHRSwapchainMockRecorder struct {
// contains filtered or unexported fields
}
MockExtensionDriverWithKHRSwapchainMockRecorder is the mock recorder for MockExtensionDriverWithKHRSwapchain.
func (*MockExtensionDriverWithKHRSwapchainMockRecorder) AcquireNextImage2 ¶
func (mr *MockExtensionDriverWithKHRSwapchainMockRecorder) AcquireNextImage2(o any) *gomock.Call
AcquireNextImage2 indicates an expected call of AcquireNextImage2.
type MockLoader ¶
type MockLoader struct {
// contains filtered or unexported fields
}
MockLoader is a mock of Loader interface.
func NewMockLoader ¶
func NewMockLoader(ctrl *gomock.Controller) *MockLoader
NewMockLoader creates a new mock instance.
func (*MockLoader) EXPECT ¶
func (m *MockLoader) EXPECT() *MockLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoader) VkAcquireNextImage2KHR ¶
func (m *MockLoader) VkAcquireNextImage2KHR(device loader.VkDevice, pAcquireInfo *khr_device_group_loader.VkAcquireNextImageInfoKHR, pImageIndex *loader.Uint32) (common.VkResult, error)
VkAcquireNextImage2KHR mocks base method.
func (*MockLoader) VkCmdDispatchBaseKHR ¶
func (m *MockLoader) VkCmdDispatchBaseKHR(commandBuffer loader.VkCommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ loader.Uint32)
VkCmdDispatchBaseKHR mocks base method.
func (*MockLoader) VkCmdSetDeviceMaskKHR ¶
func (m *MockLoader) VkCmdSetDeviceMaskKHR(commandBuffer loader.VkCommandBuffer, deviceMask loader.Uint32)
VkCmdSetDeviceMaskKHR mocks base method.
func (*MockLoader) VkGetDeviceGroupPeerMemoryFeaturesKHR ¶
func (m *MockLoader) VkGetDeviceGroupPeerMemoryFeaturesKHR(device loader.VkDevice, heapIndex, localDeviceIndex, remoteDeviceIndex loader.Uint32, pPeerMemoryFeatures *khr_device_group_loader.VkPeerMemoryFeatureFlagsKHR)
VkGetDeviceGroupPeerMemoryFeaturesKHR mocks base method.
func (*MockLoader) VkGetDeviceGroupPresentCapabilitiesKHR ¶
func (m *MockLoader) VkGetDeviceGroupPresentCapabilitiesKHR(device loader.VkDevice, pDeviceGroupPresentCapabilities *khr_device_group_loader.VkDeviceGroupPresentCapabilitiesKHR) (common.VkResult, error)
VkGetDeviceGroupPresentCapabilitiesKHR mocks base method.
func (*MockLoader) VkGetDeviceGroupSurfacePresentModesKHR ¶
func (m *MockLoader) VkGetDeviceGroupSurfacePresentModesKHR(device loader.VkDevice, surface khr_surface_loader.VkSurfaceKHR, pModes *khr_device_group_loader.VkDeviceGroupPresentModeFlagsKHR) (common.VkResult, error)
VkGetDeviceGroupSurfacePresentModesKHR mocks base method.
func (*MockLoader) VkGetPhysicalDevicePresentRectanglesKHR ¶
func (m *MockLoader) VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice loader.VkPhysicalDevice, surface khr_surface_loader.VkSurfaceKHR, pRectCount *loader.Uint32, pRects *loader.VkRect2D) (common.VkResult, error)
VkGetPhysicalDevicePresentRectanglesKHR mocks base method.
type MockLoaderMockRecorder ¶
type MockLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockLoaderMockRecorder is the mock recorder for MockLoader.
func (*MockLoaderMockRecorder) VkAcquireNextImage2KHR ¶
func (mr *MockLoaderMockRecorder) VkAcquireNextImage2KHR(device, pAcquireInfo, pImageIndex any) *gomock.Call
VkAcquireNextImage2KHR indicates an expected call of VkAcquireNextImage2KHR.
func (*MockLoaderMockRecorder) VkCmdDispatchBaseKHR ¶
func (mr *MockLoaderMockRecorder) VkCmdDispatchBaseKHR(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ any) *gomock.Call
VkCmdDispatchBaseKHR indicates an expected call of VkCmdDispatchBaseKHR.
func (*MockLoaderMockRecorder) VkCmdSetDeviceMaskKHR ¶
func (mr *MockLoaderMockRecorder) VkCmdSetDeviceMaskKHR(commandBuffer, deviceMask any) *gomock.Call
VkCmdSetDeviceMaskKHR indicates an expected call of VkCmdSetDeviceMaskKHR.
func (*MockLoaderMockRecorder) VkGetDeviceGroupPeerMemoryFeaturesKHR ¶
func (mr *MockLoaderMockRecorder) VkGetDeviceGroupPeerMemoryFeaturesKHR(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures any) *gomock.Call
VkGetDeviceGroupPeerMemoryFeaturesKHR indicates an expected call of VkGetDeviceGroupPeerMemoryFeaturesKHR.
func (*MockLoaderMockRecorder) VkGetDeviceGroupPresentCapabilitiesKHR ¶
func (mr *MockLoaderMockRecorder) VkGetDeviceGroupPresentCapabilitiesKHR(device, pDeviceGroupPresentCapabilities any) *gomock.Call
VkGetDeviceGroupPresentCapabilitiesKHR indicates an expected call of VkGetDeviceGroupPresentCapabilitiesKHR.
func (*MockLoaderMockRecorder) VkGetDeviceGroupSurfacePresentModesKHR ¶
func (mr *MockLoaderMockRecorder) VkGetDeviceGroupSurfacePresentModesKHR(device, surface, pModes any) *gomock.Call
VkGetDeviceGroupSurfacePresentModesKHR indicates an expected call of VkGetDeviceGroupSurfacePresentModesKHR.
func (*MockLoaderMockRecorder) VkGetPhysicalDevicePresentRectanglesKHR ¶
func (mr *MockLoaderMockRecorder) VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice, surface, pRectCount, pRects any) *gomock.Call
VkGetPhysicalDevicePresentRectanglesKHR indicates an expected call of VkGetPhysicalDevicePresentRectanglesKHR.