Documentation ¶
Overview ¶
Package mock_surface is a generated GoMock package.
Package mock_surface is a generated GoMock package.
Index ¶
- func NewFakeSurface() ext_driver.VkSurfaceKHR
- type MockDriver
- func (m *MockDriver) EXPECT() *MockDriverMockRecorder
- func (m *MockDriver) VkDestroySurfaceKHR(instance driver.VkInstance, surface khr_surface_driver.VkSurfaceKHR, ...)
- func (m *MockDriver) VkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice driver.VkPhysicalDevice, ...) (common.VkResult, error)
- func (m *MockDriver) VkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice driver.VkPhysicalDevice, ...) (common.VkResult, error)
- func (m *MockDriver) VkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice driver.VkPhysicalDevice, ...) (common.VkResult, error)
- func (m *MockDriver) VkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice driver.VkPhysicalDevice, queueFamilyIndex driver.Uint32, ...) (common.VkResult, error)
- type MockDriverMockRecorder
- func (mr *MockDriverMockRecorder) VkDestroySurfaceKHR(instance, surface, pAllocator interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) VkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) VkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported interface{}) *gomock.Call
- type MockSurface
- func (m *MockSurface) Destroy(callbacks *driver.AllocationCallbacks)
- func (m *MockSurface) EXPECT() *MockSurfaceMockRecorder
- func (m *MockSurface) Handle() khr_surface_driver.VkSurfaceKHR
- func (m *MockSurface) PhysicalDeviceSurfaceCapabilities(device core1_0.PhysicalDevice) (*khr_surface.SurfaceCapabilities, common.VkResult, error)
- func (m *MockSurface) PhysicalDeviceSurfaceFormats(device core1_0.PhysicalDevice) ([]khr_surface.SurfaceFormat, common.VkResult, error)
- func (m *MockSurface) PhysicalDeviceSurfacePresentModes(device core1_0.PhysicalDevice) ([]khr_surface.PresentMode, common.VkResult, error)
- func (m *MockSurface) PhysicalDeviceSurfaceSupport(physicalDevice core1_0.PhysicalDevice, queueFamilyIndex int) (bool, common.VkResult, error)
- type MockSurfaceMockRecorder
- func (mr *MockSurfaceMockRecorder) Destroy(callbacks interface{}) *gomock.Call
- func (mr *MockSurfaceMockRecorder) Handle() *gomock.Call
- func (mr *MockSurfaceMockRecorder) PhysicalDeviceSurfaceCapabilities(device interface{}) *gomock.Call
- func (mr *MockSurfaceMockRecorder) PhysicalDeviceSurfaceFormats(device interface{}) *gomock.Call
- func (mr *MockSurfaceMockRecorder) PhysicalDeviceSurfacePresentModes(device interface{}) *gomock.Call
- func (mr *MockSurfaceMockRecorder) PhysicalDeviceSurfaceSupport(physicalDevice, queueFamilyIndex interface{}) *gomock.Call
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 ¶
func (m *MockSurface) Handle() khr_surface_driver.VkSurfaceKHR
Handle mocks base method.
func (*MockSurface) PhysicalDeviceSurfaceCapabilities ¶
func (m *MockSurface) PhysicalDeviceSurfaceCapabilities(device core1_0.PhysicalDevice) (*khr_surface.SurfaceCapabilities, common.VkResult, error)
PhysicalDeviceSurfaceCapabilities mocks base method.
func (*MockSurface) PhysicalDeviceSurfaceFormats ¶
func (m *MockSurface) PhysicalDeviceSurfaceFormats(device core1_0.PhysicalDevice) ([]khr_surface.SurfaceFormat, common.VkResult, error)
PhysicalDeviceSurfaceFormats mocks base method.
func (*MockSurface) PhysicalDeviceSurfacePresentModes ¶
func (m *MockSurface) PhysicalDeviceSurfacePresentModes(device core1_0.PhysicalDevice) ([]khr_surface.PresentMode, common.VkResult, error)
PhysicalDeviceSurfacePresentModes mocks base method.
func (*MockSurface) PhysicalDeviceSurfaceSupport ¶
func (m *MockSurface) PhysicalDeviceSurfaceSupport(physicalDevice core1_0.PhysicalDevice, queueFamilyIndex int) (bool, common.VkResult, error)
PhysicalDeviceSurfaceSupport mocks base method.
type MockSurfaceMockRecorder ¶
type MockSurfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSurfaceMockRecorder is the mock recorder for MockSurface.
func (*MockSurfaceMockRecorder) Destroy ¶
func (mr *MockSurfaceMockRecorder) Destroy(callbacks interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockSurfaceMockRecorder) Handle ¶
func (mr *MockSurfaceMockRecorder) Handle() *gomock.Call
Handle indicates an expected call of Handle.
func (*MockSurfaceMockRecorder) PhysicalDeviceSurfaceCapabilities ¶ added in v0.2.0
func (mr *MockSurfaceMockRecorder) PhysicalDeviceSurfaceCapabilities(device interface{}) *gomock.Call
PhysicalDeviceSurfaceCapabilities indicates an expected call of PhysicalDeviceSurfaceCapabilities.
func (*MockSurfaceMockRecorder) PhysicalDeviceSurfaceFormats ¶ added in v0.2.0
func (mr *MockSurfaceMockRecorder) PhysicalDeviceSurfaceFormats(device interface{}) *gomock.Call
PhysicalDeviceSurfaceFormats indicates an expected call of PhysicalDeviceSurfaceFormats.
func (*MockSurfaceMockRecorder) PhysicalDeviceSurfacePresentModes ¶ added in v0.2.0
func (mr *MockSurfaceMockRecorder) PhysicalDeviceSurfacePresentModes(device interface{}) *gomock.Call
PhysicalDeviceSurfacePresentModes indicates an expected call of PhysicalDeviceSurfacePresentModes.
func (*MockSurfaceMockRecorder) PhysicalDeviceSurfaceSupport ¶ added in v0.2.0
func (mr *MockSurfaceMockRecorder) PhysicalDeviceSurfaceSupport(physicalDevice, queueFamilyIndex interface{}) *gomock.Call
PhysicalDeviceSurfaceSupport indicates an expected call of PhysicalDeviceSurfaceSupport.