net.minecraft.client.gl

class GlGpuBufferAllocator$PersistentMapped

extends GlGpuBufferAllocator

All mapped superinterfaces:

GpuBufferAllocator

com.mojang.blaze3d.opengl.GlTransientMemory$PersistentMapping
net.minecraft.class_1_1014$class_1_1017
net.minecraft.client.gl.GlGpuBufferAllocator$PersistentMapped

Field summary

Modifier and TypeField
private final Arena<GlGpuBufferAllocator$PersistentMapped$Buffer>
stagingBlockAllocator
field_1_6955
hostAllocator
private final Arena<GlGpuBufferAllocator$PersistentMapped$Buffer>
gpuBlockAllocator
field_1_6952
deviceAllocator
private final Arena<GlGpuBufferAllocator$PersistentMapped$Buffer>
gpuMappedBlockAllocator
field_1_6953
sharedAllocator
private final GlGpuBufferAllocator$PersistentMapped$Fence[]
rotations
field_1_6954
fences
static final boolean
$assertionsDisabled
field_1_6950
field_1_6950

Constructor summary

ModifierConstructor
(GlBackend device, GlCommandEncoderBackend encoder)

Method summary

Modifier and TypeMethod
public void
close()
public void
rotate()
method_1_6167()
start()
private GlGpuBufferAllocator$PersistentMapped$Buffer
allocateGlBlock(long size, boolean host, boolean mapped)
method_1_6174(long arg0, boolean arg1, boolean arg2)
allocateBuffer(long size, boolean hostOnly, boolean coherent)
private void
freeGlBlock(GlTransientMemory$PersistentMapping$GlAllocation allocation)
method_1_6175(class_1_1014$class_1_1017$class_1_1018 arg0)
destroyBuffer(GlGpuBufferAllocator$PersistentMapped$Buffer buffer)
public GpuBufferSlice$Mapped
allocateStaging(long size, long alignment, int usage, long minimumAllocation, long elementSize)
method_1_6156(long arg0, long arg1, int arg2, long arg3, long arg4)
allocateHostBuffer(long arg0, long arg1, int arg2, long arg3, long arg4)
public GpuBufferSlice
allocateGpu(long size, long alignment, int usage, long minimumAllocation, long elementSize)
method_1_6152(long arg0, long arg1, int arg2, long arg3, long arg4)
allocateDeviceBuffer(long arg0, long arg1, int arg2, long arg3, long arg4)
public GpuBufferSlice$Mapped
allocateGpuMapped(long size, long alignment, int usage, long minimumAllocation, long elementSize)
method_1_6154(long arg0, long arg1, int arg2, long arg3, long arg4)
allocateMappedBuffer(long arg0, long arg1, int arg2, long arg3, long arg4)
public GpuBufferSlice
uploadStaging(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize)
method_1_6166(List<ByteBuffer> arg0, long arg1, int arg2, long arg3, long arg4)
allocateHostBuffer(List<ByteBuffer> arg0, long arg1, int arg2, long arg3, long arg4)
public GpuBufferSlice
uploadGpu(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize)
method_1_6162(List<ByteBuffer> arg0, long arg1, int arg2, long arg3, long arg4)
allocateMappedBuffer(List<ByteBuffer> arg0, long arg1, int arg2, long arg3, long arg4)
public GpuBufferSlice
upload(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize, boolean staging)
method_1_6184(List<ByteBuffer> arg0, long arg1, int arg2, long arg3, long arg4, boolean arg5)
allocateMappedBuffer(List<ByteBuffer> contents, long alignment, int usage, long minimumSize, long sizeAlignment, boolean hostOnly)
public List<GpuBufferSlice>
multiUploadStaging(List<ByteBuffer> data, long alignment, int usage)
method_1_6158(List<ByteBuffer> arg0, long arg1, int arg2)
allocateHostBuffers(List<ByteBuffer> arg0, long arg1, int arg2)
public List<GpuBufferSlice>
multiUploadGpu(List<ByteBuffer> data, long alignment, int usage)
method_1_6157(List<ByteBuffer> arg0, long arg1, int arg2)
allocateMappedBuffers(List<ByteBuffer> arg0, long arg1, int arg2)
public List<GpuBufferSlice>
multiUpload(List<ByteBuffer> data, long alignment, int usage, boolean staging)
method_1_6183(List<ByteBuffer> arg0, long arg1, int arg2, boolean arg3)
allocateMappedBuffers(List<ByteBuffer> contents, long alignment, int usage, boolean hostOnly)
private static Integer
lambda$multiUpload$0(List arg0, int arg1)
method_1_6179(List arg0, int arg1)
method_1_6179(List arg0, int index)
private static void
lambda$allocateGpuMapped$0()
method_1_6177()
method_1_6177()
private static void
lambda$allocateStaging$0()
method_1_6178()
method_1_6178()
private static String
lambda$allocateGlBlock$0()
method_1_6176()
method_1_6176()
private GlGpuBufferAllocator$PersistentMapped$Buffer
lambda$new$2(long arg0)
method_1_6182(long arg0)
method_1_6182(long size)
private GlGpuBufferAllocator$PersistentMapped$Buffer
lambda$new$1(long arg0)
method_1_6181(long arg0)
method_1_6181(long size)
private GlGpuBufferAllocator$PersistentMapped$Buffer
lambda$new$0(long arg0)
method_1_6180(long arg0)
method_1_6180(long size)