Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions mappings/com/mojang/blaze3d/buffers/GpuBufferImpl.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CLASS net/minecraft/class_1_1333 com/mojang/blaze3d/buffers/GpuBufferImpl
FIELD field_1_9134 size J
FIELD field_1_9135 usage I
METHOD <init> (IJ)V
ARG 1 usage
ARG 2 size
METHOD method_1_6142 assertUsable ()V
55 changes: 55 additions & 0 deletions mappings/com/mojang/blaze3d/buffers/Std140Builder.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
CLASS net/minecraft/class_1_1308 com/mojang/blaze3d/buffers/Std140Builder
FIELD field_1_8833 buffer Ljava/nio/ByteBuffer;
FIELD field_1_8834 start I
METHOD <init> (Ljava/nio/ByteBuffer;)V
ARG 1 buffer
METHOD method_1_8540 align (I)Lnet/minecraft/class_1_1308;
ARG 1 alignedSize
METHOD method_1_8541 get ()Ljava/nio/ByteBuffer;
METHOD method_1_8542 intoBuffer (Ljava/nio/ByteBuffer;)Lnet/minecraft/class_1_1308;
ARG 0 buffer
METHOD method_1_8543 onStack (Lorg/lwjgl/system/MemoryStack;I)Lnet/minecraft/class_1_1308;
ARG 0 stack
ARG 1 size
METHOD method_1_8544 putFloat (F)Lnet/minecraft/class_1_1308;
ARG 1 value
METHOD method_1_8545 putIVec2 (II)Lnet/minecraft/class_1_1308;
ARG 1 x
ARG 2 y
METHOD method_1_8546 putIVec2 (Lorg/joml/Vector2ic;)Lnet/minecraft/class_1_1308;
ARG 1 vec
METHOD method_1_8547 putIVec3 (III)Lnet/minecraft/class_1_1308;
ARG 1 x
ARG 2 y
ARG 3 z
METHOD method_1_8548 putIVec3 (Lorg/joml/Vector3ic;)Lnet/minecraft/class_1_1308;
ARG 1 vec
METHOD method_1_8549 putIVec4 (IIII)Lnet/minecraft/class_1_1308;
ARG 1 x
ARG 2 y
ARG 3 z
ARG 4 w
METHOD method_1_8550 putIVec4 (Lorg/joml/Vector4ic;)Lnet/minecraft/class_1_1308;
ARG 1 vec
METHOD method_1_8551 putInt (I)Lnet/minecraft/class_1_1308;
ARG 1 value
METHOD method_1_8552 putMatrix4f (Lorg/joml/Matrix4fc;)Lnet/minecraft/class_1_1308;
ARG 1 matrix
METHOD method_1_8553 putVec2 (FF)Lnet/minecraft/class_1_1308;
ARG 1 x
ARG 2 y
METHOD method_1_8554 putVec2 (Lorg/joml/Vector2fc;)Lnet/minecraft/class_1_1308;
ARG 1 vec
METHOD method_1_8555 putVec3 (FFF)Lnet/minecraft/class_1_1308;
ARG 1 x
ARG 2 y
ARG 3 z
METHOD method_1_8556 putVec3 (Lorg/joml/Vector3fc;)Lnet/minecraft/class_1_1308;
ARG 1 vec
METHOD method_1_8557 putVec4 (FFFF)Lnet/minecraft/class_1_1308;
ARG 1 x
ARG 2 y
ARG 3 z
ARG 4 w
METHOD method_1_8558 putVec4 (Lorg/joml/Vector4fc;)Lnet/minecraft/class_1_1308;
ARG 1 vec
14 changes: 14 additions & 0 deletions mappings/com/mojang/blaze3d/buffers/Std140SizeCalculator.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
CLASS net/minecraft/class_1_1323 com/mojang/blaze3d/buffers/Std140SizeCalculator
FIELD field_1_9087 size I
METHOD method_1_8684 align (I)Lnet/minecraft/class_1_1323;
ARG 1 alignedSize
METHOD method_1_8685 get ()I
METHOD method_1_8686 putFloat ()Lnet/minecraft/class_1_1323;
METHOD method_1_8687 putIVec2 ()Lnet/minecraft/class_1_1323;
METHOD method_1_8688 putIVec3 ()Lnet/minecraft/class_1_1323;
METHOD method_1_8689 putIVec4 ()Lnet/minecraft/class_1_1323;
METHOD method_1_8690 putInt ()Lnet/minecraft/class_1_1323;
METHOD method_1_8691 putMat4f ()Lnet/minecraft/class_1_1323;
METHOD method_1_8692 putVec2 ()Lnet/minecraft/class_1_1323;
METHOD method_1_8693 putVec3 ()Lnet/minecraft/class_1_1323;
METHOD method_1_8694 putVec4 ()Lnet/minecraft/class_1_1323;
1 change: 1 addition & 0 deletions mappings/com/mojang/blaze3d/opengl/GlConst.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CLASS net/minecraft/class_1_1222 com/mojang/blaze3d/opengl/GlConst
FIELD field_1_8374 CUBE_MAP_SIDES [I
METHOD method_1_7752 bufferUsageToGlEnum (I)I
ARG 0 usage
METHOD method_1_7753 bufferUsageToGlFlag (I)I
Expand Down
15 changes: 15 additions & 0 deletions mappings/com/mojang/blaze3d/opengl/GlStateManager.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CLASS net/minecraft/class_1_1267 com/mojang/blaze3d/opengl/GlStateManager
FIELD field_1_8681 numTextures I
FIELD field_1_8682 currentReadFramebuffer I
FIELD field_1_8683 currentDrawFramebuffer I
FIELD field_1_9168 IS_MAC_OS Z
METHOD method_1_8022 activeTexture (I)V
ARG 0 texture
METHOD method_1_8023 bindTexture (I)V
Expand Down Expand Up @@ -129,13 +130,27 @@ CLASS net/minecraft/class_1_1267 com/mojang/blaze3d/opengl/GlStateManager
ARG 2 width
ARG 3 height
METHOD method_1_8081 texImage2D (IIIIIIIILjava/nio/ByteBuffer;)V
ARG 0 target
ARG 1 level
ARG 2 internalFormat
ARG 3 width
ARG 4 height
ARG 5 border
ARG 6 format
ARG 7 type
ARG 8 pixels
METHOD method_1_8082 texParameter (III)V
ARG 1 pname
ARG 2 param
METHOD method_1_8083 texSubImage2D (IIIIIIIIJ)V
ARG 0 target
ARG 1 level
ARG 2 offsetX
ARG 3 offsetY
ARG 4 width
ARG 5 height
ARG 6 format
ARG 7 type
METHOD method_1_8084 texSubImage2D (IIIIIIIILjava/nio/ByteBuffer;)V
ARG 2 offsetX
ARG 3 offsetY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ CLASS net/minecraft/class_1_900 com/mojang/blaze3d/pipeline/RenderPassDescriptio
ARG 0 colorAttachments
ARG 1 depthAttachments
METHOD method_1_7412 colorAttachment (Lnet/minecraft/class_1_1330;)Lnet/minecraft/class_1_900$class_1_1164;
ARG 1 colorAttachment
METHOD method_1_7413 colorAttachment (Lnet/minecraft/class_1_1330;Ljava/util/Optional;)Lnet/minecraft/class_1_900$class_1_1164;
ARG 1 colorAttachment
ARG 2 clearColor
METHOD method_1_7414 depthAttachment (Lnet/minecraft/class_1_1330;)Lnet/minecraft/class_1_900$class_1_1164;
ARG 1 depthAttachment
METHOD method_1_7415 depthAttachment (Lnet/minecraft/class_1_1330;Ljava/util/OptionalDouble;)Lnet/minecraft/class_1_900$class_1_1164;
ARG 1 depthAttachment
ARG 2 clearDepth
METHOD method_1_7416 renderArea (Lnet/minecraft/class_1_1317$class_1_837;)Lnet/minecraft/class_1_900$class_1_1164;
ARG 1 renderArea
Expand Down
107 changes: 52 additions & 55 deletions mappings/com/mojang/blaze3d/systems/CommandEncoder.mapping
Original file line number Diff line number Diff line change
@@ -1,48 +1,44 @@
CLASS net/minecraft/class_1_1256 com/mojang/blaze3d/systems/CommandEncoder
COMMENT Wraps a {@link com.mojang.blaze3d.systems.CommandEncoderBackend} to provide
COMMENT extra run-time checks.
FIELD field_1_8621 LOGGER Lorg/slf4j/Logger;
FIELD field_1_8622 backend Lnet/minecraft/class_1_154;
FIELD field_1_8623 device Lnet/minecraft/class_1_147;
FIELD field_1_8624 renderPassOpen Z
FIELD field_1_8625 profiler Lnet/minecraft/class_1_708;
METHOD <init> (Lnet/minecraft/class_1_708;Lnet/minecraft/class_1_147;Lnet/minecraft/class_1_154;)V
ARG 1 profiler
ARG 2 device
ARG 3 backend
METHOD method_1_7933 getBackend ()Lnet/minecraft/class_1_154;
METHOD method_1_7934 (Lnet/minecraft/class_1_1318;Lorg/joml/Vector4fc;Lnet/minecraft/class_1_1318;D)V
CLASS net/minecraft/class_1_1329 com/mojang/blaze3d/systems/CommandEncoder
METHOD method_1_7934 clearColorAndDepthTextures (Lnet/minecraft/class_1_1318;Lorg/joml/Vector4fc;Lnet/minecraft/class_1_1318;D)V
ARG 1 colorAttachment
ARG 2 clearColor
ARG 4 depth
METHOD method_1_7935 (Lnet/minecraft/class_1_1318;Lorg/joml/Vector4fc;Lnet/minecraft/class_1_1318;DIIII)V
ARG 3 depthAttachment
ARG 4 clearDepth
METHOD method_1_7935 clearColorAndDepthTextures (Lnet/minecraft/class_1_1318;Lorg/joml/Vector4fc;Lnet/minecraft/class_1_1318;DIIII)V
ARG 1 colorAttachment
ARG 2 clearColor
ARG 4 depth
ARG 3 depthAttachment
ARG 4 clearDepth
ARG 6 scissorX
ARG 7 scissorY
ARG 8 scissorLeft
ARG 9 scissorTop
METHOD method_1_7936 (Lnet/minecraft/class_1_1318;Lorg/joml/Vector4fc;)V
ARG 8 scissorWidth
ARG 9 scissorHeight
METHOD method_1_7936 clearColorTexture (Lnet/minecraft/class_1_1318;Lorg/joml/Vector4fc;)V
ARG 1 texture
ARG 2 clearColor
METHOD method_1_7937 (Lnet/minecraft/class_1_1318;D)V
METHOD method_1_7937 clearDepthTexture (Lnet/minecraft/class_1_1318;D)V
ARG 1 texture
ARG 2 depth
METHOD method_1_7938 (Lnet/minecraft/class_1_1254;IIIILnet/minecraft/class_1_1318;IIIIII)V
METHOD method_1_7938 writeToTexture (Lnet/minecraft/class_1_1254;IIIILnet/minecraft/class_1_1318;IIIIII)V
ARG 1 source
ARG 2 sourceX
ARG 3 sourceY
ARG 4 sourceWidth
ARG 5 sourceHeight
ARG 4 width
ARG 5 height
ARG 6 target
ARG 7 targetX
ARG 8 targetY
ARG 9 targetWidth
ARG 10 targetHeight
ARG 11 mipmap
ARG 12 depthOrLayer
METHOD method_1_7939 (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1_1211;JLjava/lang/Runnable;I)V
METHOD method_1_7939 copyTextureToBuffer (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1_1211;JLjava/lang/Runnable;I)V
ARG 1 source
ARG 2 target
ARG 3 offset
ARG 5 dataUploadedCallback
ARG 6 mipLevel
METHOD method_1_7940 (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1_1211;JLjava/lang/Runnable;IIIII)V
METHOD method_1_7940 copyTextureToBuffer (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1_1211;JLjava/lang/Runnable;IIIII)V
ARG 1 source
ARG 2 target
ARG 3 offset
Expand All @@ -52,61 +48,62 @@ CLASS net/minecraft/class_1_1256 com/mojang/blaze3d/systems/CommandEncoder
ARG 8 sourceY
ARG 9 width
ARG 10 height
METHOD method_1_7941 (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1_1318;IIIIIII)V
METHOD method_1_7941 copyTextureToTexture (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1_1318;IIIIIII)V
ARG 1 source
ARG 2 target
ARG 3 mipLevel
ARG 4 intoX
ARG 5 intoY
ARG 6 sourceX
ARG 7 sourceY
ARG 8 width
ARG 9 height
METHOD method_1_7942 (Lnet/minecraft/class_1_1254;Lnet/minecraft/class_1_1254;)V
METHOD method_1_7942 copyToBuffer (Lnet/minecraft/class_1_1254;Lnet/minecraft/class_1_1254;)V
ARG 1 from
ARG 2 to
METHOD method_1_7944 (Lnet/minecraft/class_1_900;)Lnet/minecraft/class_1_1317;
METHOD method_1_7943 createFence ()Lnet/minecraft/class_1_1212;
METHOD method_1_7944 createRenderPass (Lnet/minecraft/class_1_900;)Lnet/minecraft/class_1_1317;
ARG 1 description
METHOD method_1_7945 (Ljava/util/function/Supplier;Lnet/minecraft/class_1_1330;Ljava/util/Optional;)Lnet/minecraft/class_1_1317;
METHOD method_1_7945 createRenderPass (Ljava/util/function/Supplier;Lnet/minecraft/class_1_1330;Ljava/util/Optional;)Lnet/minecraft/class_1_1317;
ARG 1 labelGetter
ARG 2 colorAttachment
ARG 3 clearColor
METHOD method_1_7946 (Ljava/util/function/Supplier;Lnet/minecraft/class_1_1330;Ljava/util/Optional;Lnet/minecraft/class_1_1330;Ljava/util/OptionalDouble;)Lnet/minecraft/class_1_1317;
METHOD method_1_7946 createRenderPass (Ljava/util/function/Supplier;Lnet/minecraft/class_1_1330;Ljava/util/Optional;Lnet/minecraft/class_1_1330;Ljava/util/OptionalDouble;)Lnet/minecraft/class_1_1317;
ARG 1 labelGetter
ARG 2 colorAttachment
ARG 3 clearColor
ARG 4 depthAttachment
ARG 5 clearDepth
METHOD method_1_7947 (Ljava/util/function/Supplier;Lnet/minecraft/class_1_1330;Ljava/util/Optional;Lnet/minecraft/class_1_1330;Ljava/util/OptionalDouble;Lnet/minecraft/class_1_1317$class_1_837;)Lnet/minecraft/class_1_1317;
METHOD method_1_7947 createRenderPass (Ljava/util/function/Supplier;Lnet/minecraft/class_1_1330;Ljava/util/Optional;Lnet/minecraft/class_1_1330;Ljava/util/OptionalDouble;Lnet/minecraft/class_1_1317$class_1_837;)Lnet/minecraft/class_1_1317;
ARG 1 labelGetter
ARG 2 colorAttachment
ARG 3 clearColor
ARG 4 depthAttachment
ARG 5 clearDepth
ARG 6 renderArea
METHOD method_1_7948 isRenderPassOpen ()Z
METHOD method_1_7950 finishRenderPass ()V
METHOD method_1_7952 assertClearableColorTexture (Lnet/minecraft/class_1_1318;)V
ARG 1 texture
METHOD method_1_7953 assertClearableDepthTexture (Lnet/minecraft/class_1_1318;)V
ARG 1 texture
METHOD method_1_7954 assertValidRegion (Lnet/minecraft/class_1_1318;IIII)V
ARG 1 texture
ARG 2 regionX
ARG 3 regionY
ARG 4 regionWidth
ARG 5 regionHeight
METHOD method_1_7955 (Lnet/minecraft/class_1_685;I)V
METHOD method_1_7949 submit ()V
METHOD method_1_7951 getBufferAllocator ()Lnet/minecraft/class_1_1013;
METHOD method_1_7955 writeTimestamp (Lnet/minecraft/class_1_685;I)V
ARG 1 timestampQueryPool
ARG 2 index
METHOD method_1_7956 (Lnet/minecraft/class_1_1254;Ljava/nio/ByteBuffer;)V
METHOD method_1_7956 writeToBuffer (Lnet/minecraft/class_1_1254;Ljava/nio/ByteBuffer;)V
ARG 1 slice
ARG 2 source
METHOD method_1_7957 (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1011;)V
ARG 2 source
METHOD method_1_7958 (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1011;IIII)V
ARG 2 source
ARG 3 mipLevel
METHOD method_1_7957 writeToTexture (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1011;)V
ARG 1 target
ARG 2 image
METHOD method_1_7958 writeToTexture (Lnet/minecraft/class_1_1318;Lnet/minecraft/class_1011;IIII)V
ARG 1 target
ARG 2 image
ARG 3 mipmap
ARG 4 depth
ARG 5 offsetX
ARG 6 offsetY
METHOD method_1_7959 (Lnet/minecraft/class_1_1318;Ljava/nio/ByteBuffer;IIIIII)V
ARG 5 x
ARG 6 y
METHOD method_1_7959 writeToTexture (Lnet/minecraft/class_1_1318;Ljava/nio/ByteBuffer;IIIIII)V
ARG 1 target
ARG 2 buf
ARG 3 mipLevel
ARG 4 depth
ARG 4 cubeMapSide
ARG 5 offsetX
ARG 6 offsetY
ARG 7 width
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ CLASS net/minecraft/class_1_154 com/mojang/blaze3d/systems/CommandEncoderBackend
METHOD method_1_1399 writeToTexture (Lnet/minecraft/class_1_1318;Ljava/nio/ByteBuffer;IIIIII)V
ARG 1 target
ARG 2 buf
ARG 3 height
ARG 4 mipLevel
ARG 5 depth
ARG 6 offsetX
ARG 7 offsetY
ARG 8 width
ARG 3 mipLevel
ARG 4 cubeMapSide
ARG 5 offsetX
ARG 6 offsetY
ARG 7 width
ARG 8 height
METHOD method_1_4410 submit ()V
METHOD method_1_4411 writeTimestamp (Lnet/minecraft/class_1_685;I)V
ARG 1 timestampQueryPool
Expand Down
Loading
Loading