net.minecraft.client.dxgi

public class DXGIVulkanSurfaceBackend

implements GpuSurfaceBackend

com.mojang.renderpearl.backend.vulkan.D3D12GpuSurface
net.minecraft.class_1_1770
net.minecraft.client.dxgi.DXGIVulkanSurfaceBackend

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_1_11525
LOGGER
private final VulkanBackend
vulkanDevice
field_1_11548
vulkanDevice
private final long
win32Window
field_1_11550
hwnd
private final DXGIFactory
dxgiFactory
field_1_11535
factory
private final boolean
allowTearing
field_1_11527
supportsTearing
private final D3D12Device
d3d12Device
field_1_11532
device
private final int
nodeMask
field_1_11541
deviceNodeMask
private final D3D12CommandQueue
commandQueue
field_1_11531
commandQueue
private final D3D12Fence
fence
field_1_11537
fence
private long
fenceValue
field_1_11539
fenceValue
private final WindowsHandle
fenceSharedHandle
field_1_11538
fenceHandle
private final long
vkImportedSemaphore
field_1_11547
vkSemaphore
private boolean
blitModeActive
field_1_11528
configured
private DXGISwapChain
swapchain
field_1_11543
swapChain
private final List<D3D12CommittedResource>
dxImagesToClose
field_1_11534
closableResources
private final List<D3D12CommittedResource>
dxgiSwapchainImages
field_1_11536
field_1_11536
private final List<D3D12CommittedResource>
d3dBlitTargets
field_1_11533
field_1_11533
private final List<WindowsHandle>
blitTargetHandles
field_1_11529
sharedHandles
private final it.unimi.dsi.fastutil.longs.LongList
vkImportedImages
field_1_11546
swapChainImages
private final it.unimi.dsi.fastutil.longs.LongList
vkImportedImageMemories
field_1_11545
imageMemories
private int
swapchainWidth
field_1_11544
width
private int
swapchainHeight
field_1_11542
height
private GpuSurface$PresentMode
mode
field_1_11540
presentMode
private final List<D3D12CommandAllocator>
allocators
field_1_11526
commandAllocators
private D3D12CommandList
commandList
field_1_11530
commandList
static final boolean
$assertionsDisabled
field_1_11524
field_1_11524

Constructor summary

ModifierConstructor
public (VulkanBackend vulkanDevice, long window)

Method summary

Modifier and TypeMethod
public static boolean
available(org.lwjgl.vulkan.VkPhysicalDevice device, FeatureSet enabledFeatureSet)
method_1_11184(org.lwjgl.vulkan.VkPhysicalDevice arg0, class_1_1045 arg1)
tryEnable(org.lwjgl.vulkan.VkPhysicalDevice vkPhysicalDevice, VulkanFeatureSet featureSet)
private static boolean
environmentMeetsBasicRequirements()
method_1_11187()
shouldEnable()
private static boolean
checkPhysicalDeviceImportCapabilities(org.lwjgl.vulkan.VkPhysicalDevice device, FeatureSet enabledFeatureSet)
method_1_11185(org.lwjgl.vulkan.VkPhysicalDevice arg0, class_1_1045 arg1)
doTryEnable(org.lwjgl.vulkan.VkPhysicalDevice vkPhysicalDevice, VulkanFeatureSet featureSet)
public void
close()
private void
destroySwapchain()
method_1_11186()
freeCurrentSwapChain()
public void
configure(GpuSurface$Configuration config)
method_1_4240(class_1_1314$class_1_666 arg0)
configure(GpuSurface$Settings arg0)
public boolean
isSuboptimal()
method_1_4241()
needsReconfigure()
public void
acquireNextTexture()
method_1_4238()
acquire()
public void
blitFromTexture(CommandEncoderBackend commandEncoder, GpuTextureView textureView)
method_1_4239(class_1_154 arg0, class_1_1330 arg1)
blit(CommandEncoderBackend arg0, GpuTextureView arg1)
public void
present()
method_1_4242()
present()
public Collection<GpuSurface$PresentMode>
supportedPresentModes()
method_1_4682()
getSupportedPresentModes()