net.minecraft.client.gl

class GlGpuBufferAllocator$PersistentMapped

extends GlGpuBufferAllocator

All mapped superinterfaces:

GpuBufferAllocator, GpuResource

com.mojang.renderpearl.backend.opengl.GlTransientMemory$PersistentMapping
com.mojang.renderpearl.backend.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
stagingBlockAllocator
field_1_6955
hostAllocator
private final Arena<GlGpuBufferAllocator$PersistentMapped$Buffer>
gpuBlockAllocator
gpuBlockAllocator
field_1_6952
deviceAllocator
private final Arena<GlGpuBufferAllocator$PersistentMapped$Buffer>
gpuMappedBlockAllocator
gpuMappedBlockAllocator
field_1_6953
sharedAllocator
private final GlGpuBufferAllocator$PersistentMapped$Fence[]
rotations
rotations
field_1_6954
fences

Constructor summary

ModifierConstructor
(GlBackend device, GlCommandEncoderBackend encoder)

Method summary

Modifier and TypeMethod
public void
close()
close()
public void
rotate()
rotate()
method_1_6167()
start()
private GlGpuBufferAllocator$PersistentMapped$Buffer
allocateGlBlock(long size, boolean host, boolean mapped)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)