├── jitpack.yml ├── logo.png ├── CODEOWNERS ├── src ├── generated │ └── java │ │ └── org │ │ ├── lwjgl │ │ ├── util │ │ │ ├── glu │ │ │ │ ├── Util.java │ │ │ │ ├── tessellation │ │ │ │ │ ├── PriorityQ$PQnode.java │ │ │ │ │ ├── PriorityQ$PQhandleElem.java │ │ │ │ │ ├── PriorityQ$Leq.java │ │ │ │ │ └── Dict$DictLeq.java │ │ │ │ ├── Sphere.java │ │ │ │ ├── Disk.java │ │ │ │ ├── Cylinder.java │ │ │ │ ├── PartialDisk.java │ │ │ │ ├── Registry.java │ │ │ │ ├── MipMap.java │ │ │ │ ├── Quadric.java │ │ │ │ ├── GLUtessellator.java │ │ │ │ ├── GLUtessellatorCallback.java │ │ │ │ └── Project.java │ │ │ ├── mapped │ │ │ │ ├── Pointer.java │ │ │ │ ├── CacheLinePad.java │ │ │ │ ├── MappedField.java │ │ │ │ ├── MappedSet2.java │ │ │ │ ├── MappedSet3.java │ │ │ │ ├── MappedSet4.java │ │ │ │ ├── MappedObjectTransformer.java │ │ │ │ ├── MappedType.java │ │ │ │ ├── MappedSet.java │ │ │ │ └── CacheUtil.java │ │ │ ├── Renderable.java │ │ │ ├── ReadableRectangle.java │ │ │ ├── ReadablePoint.java │ │ │ ├── ReadableDimension.java │ │ │ ├── WritablePoint.java │ │ │ ├── WritableDimension.java │ │ │ ├── WritableRectangle.java │ │ │ ├── jinput │ │ │ │ └── LWJGLEnvironmentPlugin.java │ │ │ ├── Display.java │ │ │ ├── XPMFile.java │ │ │ ├── Timer.java │ │ │ ├── WaveData.java │ │ │ ├── Dimension.java │ │ │ └── WritableColor.java │ │ ├── opengl │ │ │ ├── PixelFormatLWJGL.java │ │ │ ├── GLSync.java │ │ │ ├── OpenGLException.java │ │ │ ├── KHRDebugCallback.java │ │ │ ├── EXTAbgr.java │ │ │ ├── AMDDebugOutputCallback.java │ │ │ ├── ARBDebugOutputCallback.java │ │ │ ├── ARBVertexArrayBgra.java │ │ │ ├── EXTVertexArrayBgra.java │ │ │ ├── SUNSliceAccum.java │ │ │ ├── EXTRescaleNormal.java │ │ │ ├── APPLEAuxDepthStencil.java │ │ │ ├── APPLEClientStorage.java │ │ │ ├── IBMRasterposClip.java │ │ │ ├── ATITextFragmentShader.java │ │ │ ├── NVVertexProgram3.java │ │ │ ├── NVTextureExpandNormal.java │ │ │ ├── EXTBgra.java │ │ │ ├── AMDDebugOutputCallback$Handler.java │ │ │ ├── EXTTextureEnvDot3.java │ │ │ ├── KHRDebugCallback$Handler.java │ │ │ ├── EXTCgShader.java │ │ │ ├── APPLERowBytes.java │ │ │ ├── ARBDebugOutputCallback$Handler.java │ │ │ ├── HPOcclusionTest.java │ │ │ ├── ATITextureMirrorOnce.java │ │ │ ├── SGISGenerateMipmap.java │ │ │ ├── NVComputeProgram5.java │ │ │ ├── NVVertexProgram2Option.java │ │ │ ├── SharedDrawable.java │ │ │ ├── EXTMultiDrawArrays.java │ │ │ ├── APPLERgb422.java │ │ │ ├── APPLEYcbcr422.java │ │ │ ├── ATITextureEnvCombine3.java │ │ │ ├── EXTTextureLODBias.java │ │ │ ├── Util.java │ │ │ ├── EXTSeparateSpecularColor.java │ │ │ ├── RenderTexture.java │ │ │ ├── Drawable.java │ │ │ ├── SGISTextureLOD.java │ │ │ ├── NVTextureRectangle.java │ │ │ ├── EXTTextureRectangle.java │ │ │ ├── NVTextureCompressionVTC.java │ │ │ ├── XRandR$Screen.java │ │ │ ├── NVTextureEnvCombine4.java │ │ │ ├── NVGpuProgram5.java │ │ │ ├── EXTGpuProgramParameters.java │ │ │ ├── EXTPackedPixels.java │ │ │ ├── NVFragmentProgram2.java │ │ │ ├── NVTessellationProgram5.java │ │ │ ├── NVRegisterCombiners2.java │ │ │ ├── NVXGpuMemoryInfo.java │ │ │ ├── ARBGpuShader5.java │ │ │ ├── NVPresentVideoUtil.java │ │ │ ├── APPLEFlushBufferRange.java │ │ │ ├── ATIMapObjectBuffer.java │ │ │ ├── GLUConstants.java │ │ │ ├── ATIVertexAttribArrayObject.java │ │ │ ├── ATISeparateStencil.java │ │ │ ├── GLContext.java │ │ │ ├── NVVideoCaptureUtil.java │ │ │ ├── APPLETextureRange.java │ │ │ ├── XRandR.java │ │ │ ├── ATITextureFloat.java │ │ │ ├── DisplayMode.java │ │ │ ├── EXTDrawRangeElements.java │ │ │ ├── APPLEPackedPixels.java │ │ │ ├── NVGeometryProgram4.java │ │ │ ├── APPLEVertexArrayObject.java │ │ │ ├── ATIElementArray.java │ │ │ ├── APPLEFloatPixels.java │ │ │ ├── NVParameterBufferObject.java │ │ │ ├── ATIPnTriangles.java │ │ │ ├── AMDNameGenDelete.java │ │ │ ├── APPLEObjectPurgeable.java │ │ │ ├── AMDMultiDrawIndirect.java │ │ │ ├── APPLEVertexArrayRange.java │ │ │ ├── ATIEnvmapBumpmap.java │ │ │ ├── ARBTextureRg.java │ │ │ ├── NVFragmentProgram.java │ │ │ └── EXTFogCoord.java │ │ ├── LWJGLException.java │ │ ├── PointerWrapper.java │ │ ├── LWJGLUtil$TokenFilter.java │ │ ├── openal │ │ │ ├── ALCcontext.java │ │ │ ├── ALCdevice.java │ │ │ ├── EFXUtil.java │ │ │ ├── Util.java │ │ │ └── OpenALException.java │ │ ├── input │ │ │ └── Cursor.java │ │ ├── PointerWrapperAbstract.java │ │ └── Sys.java │ │ └── lwjglx │ │ └── opengl │ │ ├── ARBMultiBind.java │ │ ├── ARBDepthClamp.java │ │ ├── NVDepthClamp.java │ │ ├── ARBHalfFloatPixel.java │ │ ├── ARBHalfFloatVertex.java │ │ ├── ARBTextureRGB10_A2UI.java │ │ ├── ARBOcclusionQuery2.java │ │ ├── ARBInternalformatQuery.java │ │ ├── ARBSeamlessCubeMap.java │ │ ├── ARBShadowAmbient.java │ │ ├── ARBTextureBorderClamp.java │ │ ├── AMDPinnedMemory.java │ │ ├── ARBMapBufferAlignment.java │ │ ├── ARBStencilTexturing.java │ │ ├── ARBTextureMirroredRepeat.java │ │ ├── ARBExplicitUniformLocation.java │ │ ├── ARBShadingLanguage100.java │ │ ├── EXTSharedTexturePalette.java │ │ ├── NVMultisampleFilterHint.java │ │ ├── NVShaderBufferStore.java │ │ ├── NVVertexArrayRange2.java │ │ ├── ARBTextureMirrorClampToEdge.java │ │ ├── AMDSeamlessCubemapPerTexture.java │ │ ├── ARBSeamlessCubemapPerTexture.java │ │ ├── ATITextureCompression3DC.java │ │ ├── EXTStencilWrap.java │ │ ├── ARBPointSprite.java │ │ ├── ARBTextureEnvDot3.java │ │ ├── ARBTextureBarrier.java │ │ ├── NVTexgenReflection.java │ │ ├── AMDBlendMinmaxFactor.java │ │ ├── NVLightMaxExponent.java │ │ ├── NVTextureBarrier.java │ │ ├── EXTBlendSubtract.java │ │ ├── NVMultisampleCoverage.java │ │ ├── NVPackedDepthStencil.java │ │ ├── AMDDepthClampSeparate.java │ │ ├── ARBCullDistance.java │ │ ├── NVCopyDepthToColor.java │ │ ├── NVDeepTexture3D.java │ │ ├── GREMEDYFrameTerminator.java │ │ ├── KHRContextFlushControl.java │ │ ├── ARBES31Compatibility.java │ │ ├── EXTTextureFilterAnisotropic.java │ │ ├── EXTFramebufferMultisampleBlitScaled.java │ │ ├── ARBTransformFeedbackOverflowQuery.java │ │ ├── NVFogDistance.java │ │ ├── ARBShadow.java │ │ ├── ATIMeminfo.java │ │ ├── EXTTextureSRGBDecode.java │ │ ├── AMDQueryBufferObject.java │ │ ├── ARBDepthBufferFloat.java │ │ ├── EXTTextureMirrorClamp.java │ │ ├── EXTTextureSharedExponent.java │ │ ├── ARBEnhancedLayouts.java │ │ ├── ARBInstancedArrays.java │ │ ├── ARBTextureGather.java │ │ ├── AMDSamplePositions.java │ │ ├── ARBQueryBufferObject.java │ │ ├── NVDrawTexture.java │ │ ├── EXTPackedDepthStencil.java │ │ ├── ARBSampleShading.java │ │ ├── EXTDepthBoundsTest.java │ │ ├── EXTStencilTwoSide.java │ │ ├── ARBFramebufferSRGB.java │ │ ├── ARBTextureCompressionRGTC.java │ │ ├── EXTFramebufferSRGB.java │ │ ├── ARBConditionalRenderInverted.java │ │ ├── EXTTextureCompressionS3TC.java │ │ ├── ARBTextureSwizzle.java │ │ ├── EXTTextureCompressionRGTC.java │ │ ├── GREMEDYStringMarker.java │ │ ├── ARBDepthTexture.java │ │ ├── ARBPixelBufferObject.java │ │ ├── EXTPixelBufferObject.java │ │ ├── ARBTextureCompressionBPTC.java │ │ ├── EXTStencilClearTag.java │ │ ├── EXTTextureSwizzle.java │ │ ├── AMDInterleavedElements.java │ │ ├── EXTBlendEquationSeparate.java │ │ ├── EXTTextureCompressionLATC.java │ │ ├── ARBSparseBuffer.java │ │ ├── EXTBlendMinmax.java │ │ ├── ARBFragmentShader.java │ │ ├── ARBCopyBuffer.java │ │ ├── ARBProvokingVertex.java │ │ ├── EXTPackedFloat.java │ │ ├── NVPrimitiveRestart.java │ │ ├── ARBTextureRectangle.java │ │ ├── EXTTimerQuery.java │ │ ├── AMDStencilOperationExtended.java │ │ ├── EXTCompiledVertexArray.java │ │ ├── EXTProvokingVertex.java │ │ ├── ARBTransformFeedbackInstanced.java │ │ ├── ARBClipControl.java │ │ ├── EXTBlendColor.java │ │ ├── NVPointSprite.java │ │ ├── EXTBlendFuncSeparate.java │ │ ├── EXTFramebufferMultisample.java │ │ ├── ARBTextureCubeMapArray.java │ │ ├── ARBTextureBufferObject.java │ │ ├── ARBTimerQuery.java │ │ ├── EXTTextureBufferObject.java │ │ ├── INTELMapTexture.java │ │ ├── NVConditionalRender.java │ │ ├── EXTFramebufferBlit.java │ │ ├── ARBCompressedTexturePixelStorage.java │ │ ├── EXTPointParameters.java │ │ ├── ARBPointParameters.java │ │ ├── NVCopyImage.java │ │ ├── ARBTransposeMatrix.java │ │ ├── ARBCopyImage.java │ │ ├── ARBTextureView.java │ │ ├── ARBColorBufferFloat.java │ │ ├── NVDepthBufferFloat.java │ │ ├── ARBTextureBufferRange.java │ │ ├── ARBDrawBuffersBlend.java │ │ ├── ARBMultisample.java │ │ ├── NVFramebufferMultisampleCoverage.java │ │ ├── AMDDrawBuffersBlend.java │ │ ├── ARBComputeVariableGroupSize.java │ │ ├── EXTSeparateShaderObjects.java │ │ ├── AMDVertexShaderTessellator.java │ │ ├── ARBMapBufferRange.java │ │ ├── ARBPipelineStatisticsQuery.java │ │ ├── ARBTransformFeedback3.java │ │ ├── ARBTextureCubeMap.java │ │ ├── NVFloatBuffer.java │ │ ├── ARBGetProgramBinary.java │ │ ├── ARBES3Compatibility.java │ │ ├── ARBVertexArrayObject.java │ │ ├── EXTBindableUniform.java │ │ ├── ARBSync.java │ │ ├── EXTTextureSRGB.java │ │ ├── ARBVertexBufferObject.java │ │ ├── ARBSparseTexture.java │ │ ├── ARBWindowPos.java │ │ ├── ARBDrawInstanced.java │ │ ├── EXTDrawInstanced.java │ │ ├── ARBClearBufferObject.java │ │ ├── ARBViewportArray.java │ │ ├── EXTTextureArray.java │ │ ├── ARBFragmentProgram.java │ │ ├── ARBBlendFuncExtended.java │ │ └── AMDSparseTexture.java └── main │ ├── resources │ ├── pack.mcmeta │ ├── mixins.lwjgl3ify.late.json │ ├── META-INF │ │ └── rfb-plugin │ │ │ └── lwjgl3ify.properties │ ├── mixins.lwjgl3ify.json │ ├── mixins.lwjgl3ify.early.stb_stitch.json │ ├── mixins.lwjgl3ify.early.stb_tex.json │ ├── mixins.lwjgl3ify.early.json │ └── mcmod.info │ └── java │ ├── org │ └── lwjglx │ │ └── opengl │ │ ├── GLContext.java │ │ └── GL15x.java │ ├── me │ └── eigenraven │ │ └── lwjgl3ify │ │ ├── EnumValuesField.java │ │ ├── WasFinalObjectHolder.java │ │ ├── api │ │ ├── Lwjgl3Aware.java │ │ └── MakeEnumExtensible.java │ │ ├── redirects │ │ ├── InvalidActivityException.java │ │ └── JarInputStream.java │ │ ├── client │ │ └── GuiFactory.java │ │ ├── mixins │ │ └── early │ │ │ ├── game │ │ │ ├── MixinBorderlessWindow.java │ │ │ ├── MixinTextureUtil.java │ │ │ ├── MixinMinecraftKeyBinding.java │ │ │ └── MixinTextureAtlasSprite.java │ │ │ └── fml │ │ │ ├── ObjectHolderRegistry.java │ │ │ └── ObjectHolderRef.java │ │ ├── IExtensibleEnum.java │ │ ├── core │ │ └── LateInit.java │ │ └── CommonProxy.java │ └── net │ └── minecraftforge │ └── fml │ └── common │ └── fakelwjgl3ify │ └── SafeRuntimeExit.java ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── spotless.importorder ├── .git-blame-ignore-revs ├── prism-libraries └── patches │ ├── me.eigenraven.lwjgl3ify.launchargs.json │ └── me.eigenraven.lwjgl3ify.forgepatches.json ├── repositories.gradle ├── .gitignore ├── .github ├── scripts │ └── update_version ├── actions │ └── build_setup │ │ └── action.yml └── workflows │ └── test_java.yml ├── .editorconfig ├── settings.gradle ├── .gitattributes └── java9args.txt /jitpack.yml: -------------------------------------------------------------------------------- 1 | before_install: 2 | - ./gradlew setupCIWorkspace -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TwilightFlower/lwjgl3ify/HEAD/logo.png -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Any Github changes require admin approval 2 | /.github/** @GTNewHorizons/admin 3 | 4 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/Util.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class Util { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TwilightFlower/lwjgl3ify/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBMultiBind.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBMultiBind { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /spotless.importorder: -------------------------------------------------------------------------------- 1 | #Organize Import Order 2 | #Sat Jan 28 17:57:48 GMT 2023 3 | 0=java 4 | 1=javax 5 | 2=net 6 | 3=org 7 | 4=com 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/Pointer.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public interface Pointer { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/PixelFormatLWJGL.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public interface PixelFormatLWJGL { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "pack_format": 3, 4 | "description": "lwjgl3ify Resource Pack" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- 1 | # Ignore spotlessApply reformat 2 | 20ecd940409f50b01fa39790dd60b7c3157eb373 3 | 16fae702444ddb107200c9395fee4a95d4db1dff 4 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/LWJGLException.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl; 2 | 3 | public class LWJGLException extends java.lang.Exception { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/GLSync.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class GLSync extends org.lwjgl.PointerWrapperAbstract { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/PointerWrapper.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl; 2 | 3 | public interface PointerWrapper { 4 | 5 | public abstract long getPointer(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/OpenGLException.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class OpenGLException extends java.lang.RuntimeException { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/Renderable.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public interface Renderable { 4 | 5 | public abstract void render(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/tessellation/PriorityQ$PQnode.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu.tessellation; 2 | 3 | public class PriorityQ$PQnode { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/KHRDebugCallback.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class KHRDebugCallback extends org.lwjgl.PointerWrapperAbstract { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/tessellation/PriorityQ$PQhandleElem.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu.tessellation; 2 | 3 | public class PriorityQ$PQhandleElem { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTAbgr.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTAbgr { 4 | 5 | public static final int GL_ABGR_EXT = (int) 32768; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/AMDDebugOutputCallback.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class AMDDebugOutputCallback extends org.lwjgl.PointerWrapperAbstract { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ARBDebugOutputCallback.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ARBDebugOutputCallback extends org.lwjgl.PointerWrapperAbstract { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ARBVertexArrayBgra.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ARBVertexArrayBgra { 4 | 5 | public static final int GL_BGRA = (int) 32993; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTVertexArrayBgra.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTVertexArrayBgra { 4 | 5 | public static final int GL_BGRA = (int) 32993; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBDepthClamp.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBDepthClamp { 4 | 5 | public static final int GL_DEPTH_CLAMP = (int) 34383; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVDepthClamp.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVDepthClamp { 4 | 5 | public static final int GL_DEPTH_CLAMP_NV = (int) 34383; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/SUNSliceAccum.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class SUNSliceAccum { 4 | 5 | public static final int GL_SLICE_ACCUM_SUN = (int) 34252; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTRescaleNormal.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTRescaleNormal { 4 | 5 | public static final int GL_RESCALE_NORMAL_EXT = (int) 32826; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBHalfFloatPixel.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBHalfFloatPixel { 4 | 5 | public static final int GL_HALF_FLOAT_ARB = (int) 5131; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBHalfFloatVertex.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBHalfFloatVertex { 4 | 5 | public static final int GL_HALF_FLOAT = (int) 5131; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureRGB10_A2UI.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureRGB10_A2UI { 4 | 5 | public static final int GL_RGB10_A2UI = (int) 36975; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBOcclusionQuery2.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBOcclusionQuery2 { 4 | 5 | public static final int GL_ANY_SAMPLES_PASSED = (int) 35887; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/LWJGLUtil$TokenFilter.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl; 2 | 3 | public interface LWJGLUtil$TokenFilter { 4 | 5 | public abstract boolean accept(java.lang.reflect.Field arg0, int arg1); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEAuxDepthStencil.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEAuxDepthStencil { 4 | 5 | public static final int GL_AUX_DEPTH_STENCIL_APPLE = (int) 35348; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEClientStorage.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEClientStorage { 4 | 5 | public static final int GL_UNPACK_CLIENT_STORAGE_APPLE = (int) 34226; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/IBMRasterposClip.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class IBMRasterposClip { 4 | 5 | public static final int GL_RASTER_POSITION_UNCLIPPED_IBM = (int) 103010; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/ReadableRectangle.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public interface ReadableRectangle { 4 | 5 | public abstract void getBounds(org.lwjgl.util.WritableRectangle arg0); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBInternalformatQuery.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBInternalformatQuery { 4 | 5 | public static final int GL_NUM_SAMPLE_COUNTS = (int) 37760; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBSeamlessCubeMap.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBSeamlessCubeMap { 4 | 5 | public static final int GL_TEXTURE_CUBE_MAP_SEAMLESS = (int) 34895; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBShadowAmbient.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBShadowAmbient { 4 | 5 | public static final int GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = (int) 32959; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureBorderClamp.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureBorderClamp { 4 | 5 | public static final int GL_CLAMP_TO_BORDER_ARB = (int) 33069; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATITextFragmentShader.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATITextFragmentShader { 4 | 5 | public static final int GL_TEXT_FRAGMENT_SHADER_ATI = (int) 33280; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVVertexProgram3.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVVertexProgram3 { 4 | 5 | public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = (int) 35660; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDPinnedMemory.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDPinnedMemory { 4 | 5 | public static final int GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD = (int) 37216; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBMapBufferAlignment.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBMapBufferAlignment { 4 | 5 | public static final int GL_MIN_MAP_BUFFER_ALIGNMENT = (int) 37052; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBStencilTexturing.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBStencilTexturing { 4 | 5 | public static final int GL_DEPTH_STENCIL_TEXTURE_MODE = (int) 37098; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureMirroredRepeat.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureMirroredRepeat { 4 | 5 | public static final int GL_MIRRORED_REPEAT_ARB = (int) 33648; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVTextureExpandNormal.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVTextureExpandNormal { 4 | 5 | public static final int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = (int) 34959; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBExplicitUniformLocation.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBExplicitUniformLocation { 4 | 5 | public static final int GL_MAX_UNIFORM_LOCATIONS = (int) 33390; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBShadingLanguage100.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBShadingLanguage100 { 4 | 5 | public static final int GL_SHADING_LANGUAGE_VERSION_ARB = (int) 35724; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTSharedTexturePalette.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTSharedTexturePalette { 4 | 5 | public static final int GL_SHARED_TEXTURE_PALETTE_EXT = (int) 33275; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVMultisampleFilterHint.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVMultisampleFilterHint { 4 | 5 | public static final int GL_MULTISAMPLE_FILTER_HINT_NV = (int) 34100; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVShaderBufferStore.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVShaderBufferStore { 4 | 5 | public static final int GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV = (int) 16; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVVertexArrayRange2.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVVertexArrayRange2 { 4 | 5 | public static final int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = (int) 34099; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTBgra.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTBgra { 4 | 5 | public static final int GL_BGRA_EXT = (int) 32993; 6 | public static final int GL_BGR_EXT = (int) 32992; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureMirrorClampToEdge.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureMirrorClampToEdge { 4 | 5 | public static final int GL_MIRROR_CLAMP_TO_EDGE = (int) 34627; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/CacheLinePad.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public interface CacheLinePad { 4 | 5 | public abstract boolean after(); 6 | 7 | public abstract boolean before(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDSeamlessCubemapPerTexture.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDSeamlessCubemapPerTexture { 4 | 5 | public static final int GL_TEXTURE_CUBE_MAP_SEAMLESS = (int) 34895; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBSeamlessCubemapPerTexture.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBSeamlessCubemapPerTexture { 4 | 5 | public static final int GL_TEXTURE_CUBE_MAP_SEAMLESS = (int) 34895; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ATITextureCompression3DC.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ATITextureCompression3DC { 4 | 5 | public static final int GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI = (int) 34871; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/MappedField.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public interface MappedField { 4 | 5 | public abstract long byteLength(); 6 | 7 | public abstract long byteOffset(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/tessellation/PriorityQ$Leq.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu.tessellation; 2 | 3 | public interface PriorityQ$Leq { 4 | 5 | public abstract boolean leq(java.lang.Object arg0, java.lang.Object arg1); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/AMDDebugOutputCallback$Handler.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public interface AMDDebugOutputCallback$Handler { 4 | 5 | public abstract void handleMessage(int arg0, int arg1, int arg2, java.lang.String arg3); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTTextureEnvDot3.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTTextureEnvDot3 { 4 | 5 | public static final int GL_DOT3_RGBA_EXT = (int) 34625; 6 | public static final int GL_DOT3_RGB_EXT = (int) 34624; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/KHRDebugCallback$Handler.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public interface KHRDebugCallback$Handler { 4 | 5 | public abstract void handleMessage(int arg0, int arg1, int arg2, int arg3, java.lang.String arg4); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTStencilWrap.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTStencilWrap { 4 | 5 | public static final int GL_DECR_WRAP_EXT = (int) 34056; 6 | public static final int GL_INCR_WRAP_EXT = (int) 34055; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTCgShader.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTCgShader { 4 | 5 | public static final int GL_CG_FRAGMENT_SHADER_EXT = (int) 35087; 6 | public static final int GL_CG_VERTEX_SHADER_EXT = (int) 35086; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/tessellation/Dict$DictLeq.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu.tessellation; 2 | 3 | public interface Dict$DictLeq { 4 | 5 | public abstract boolean leq(java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBPointSprite.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBPointSprite { 4 | 5 | public static final int GL_COORD_REPLACE_ARB = (int) 34914; 6 | public static final int GL_POINT_SPRITE_ARB = (int) 34913; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureEnvDot3.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureEnvDot3 { 4 | 5 | public static final int GL_DOT3_RGBA_ARB = (int) 34479; 6 | public static final int GL_DOT3_RGB_ARB = (int) 34478; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLERowBytes.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLERowBytes { 4 | 5 | public static final int GL_PACK_ROW_BYTES_APPLE = (int) 35349; 6 | public static final int GL_UNPACK_ROW_BYTES_APPLE = (int) 35350; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ARBDebugOutputCallback$Handler.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public interface ARBDebugOutputCallback$Handler { 4 | 5 | public abstract void handleMessage(int arg0, int arg1, int arg2, int arg3, java.lang.String arg4); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/MappedSet2.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public class MappedSet2 { 4 | 5 | public int view = 0; 6 | 7 | public void next() { 8 | throw new UnsupportedOperationException(); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/MappedSet3.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public class MappedSet3 { 4 | 5 | public int view = 0; 6 | 7 | public void next() { 8 | throw new UnsupportedOperationException(); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/MappedSet4.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public class MappedSet4 { 4 | 5 | public int view = 0; 6 | 7 | public void next() { 8 | throw new UnsupportedOperationException(); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureBarrier.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureBarrier { 4 | 5 | public static void glTextureBarrier() { 6 | org.lwjgl.opengl.ARBTextureBarrier.glTextureBarrier(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVTexgenReflection.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVTexgenReflection { 4 | 5 | public static final int GL_NORMAL_MAP_NV = (int) 34065; 6 | public static final int GL_REFLECTION_MAP_NV = (int) 34066; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/HPOcclusionTest.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class HPOcclusionTest { 4 | 5 | public static final int GL_OCCLUSION_TEST_HP = (int) 33125; 6 | public static final int GL_OCCLUSION_TEST_RESULT_HP = (int) 33126; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDBlendMinmaxFactor.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDBlendMinmaxFactor { 4 | 5 | public static final int GL_FACTOR_MAX_AMD = (int) 36893; 6 | public static final int GL_FACTOR_MIN_AMD = (int) 36892; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVLightMaxExponent.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVLightMaxExponent { 4 | 5 | public static final int GL_MAX_SHININESS_NV = (int) 34052; 6 | public static final int GL_MAX_SPOT_EXPONENT_NV = (int) 34053; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVTextureBarrier.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVTextureBarrier { 4 | 5 | public static void glTextureBarrierNV() { 6 | org.lwjgl.opengl.NVTextureBarrier.glTextureBarrierNV(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/main/resources/mixins.lwjgl3ify.late.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8.3", 4 | "package": "me.eigenraven.lwjgl3ify.mixins.late", 5 | "refmap": "mixins.lwjgl3ify.refmap.json", 6 | "target": "@env(DEFAULT)", 7 | "compatibilityLevel": "JAVA_8" 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTBlendSubtract.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTBlendSubtract { 4 | 5 | public static final int GL_FUNC_REVERSE_SUBTRACT_EXT = (int) 32779; 6 | public static final int GL_FUNC_SUBTRACT_EXT = (int) 32778; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVMultisampleCoverage.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVMultisampleCoverage { 4 | 5 | public static final int GL_COLOR_SAMPLES_NV = (int) 36384; 6 | public static final int GL_COVERAGE_SAMPLES_NV = (int) 32937; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVPackedDepthStencil.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVPackedDepthStencil { 4 | 5 | public static final int GL_DEPTH_STENCIL_NV = (int) 34041; 6 | public static final int GL_UNSIGNED_INT_24_8_NV = (int) 34042; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATITextureMirrorOnce.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATITextureMirrorOnce { 4 | 5 | public static final int GL_MIRROR_CLAMP_ATI = (int) 34626; 6 | public static final int GL_MIRROR_CLAMP_TO_EDGE_ATI = (int) 34627; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/SGISGenerateMipmap.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class SGISGenerateMipmap { 4 | 5 | public static final int GL_GENERATE_MIPMAP_HINT_SGIS = (int) 33170; 6 | public static final int GL_GENERATE_MIPMAP_SGIS = (int) 33169; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/Sphere.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class Sphere extends org.lwjgl.util.glu.Quadric { 4 | 5 | public void draw(float arg0, int arg1, int arg2) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDDepthClampSeparate.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDDepthClampSeparate { 4 | 5 | public static final int GL_DEPTH_CLAMP_FAR_AMD = (int) 36895; 6 | public static final int GL_DEPTH_CLAMP_NEAR_AMD = (int) 36894; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVComputeProgram5.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVComputeProgram5 { 4 | 5 | public static final int GL_COMPUTE_PROGRAM_NV = (int) 37115; 6 | public static final int GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV = (int) 37116; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/MappedObjectTransformer.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public class MappedObjectTransformer { 4 | 5 | public static void register(java.lang.Class arg0) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBCullDistance.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBCullDistance { 4 | 5 | public static final int GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES = (int) 33530; 6 | public static final int GL_MAX_CULL_DISTANCES = (int) 33529; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVCopyDepthToColor.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVCopyDepthToColor { 4 | 5 | public static final int GL_DEPTH_STENCIL_TO_BGRA_NV = (int) 34927; 6 | public static final int GL_DEPTH_STENCIL_TO_RGBA_NV = (int) 34926; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/Disk.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class Disk extends org.lwjgl.util.glu.Quadric { 4 | 5 | public void draw(float arg0, float arg1, int arg2, int arg3) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/ReadablePoint.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public interface ReadablePoint { 4 | 5 | public abstract void getLocation(org.lwjgl.util.WritablePoint arg0); 6 | 7 | public abstract int getX(); 8 | 9 | public abstract int getY(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVDeepTexture3D.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVDeepTexture3D { 4 | 5 | public static final int GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV = (int) 37073; 6 | public static final int GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV = (int) 37072; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVVertexProgram2Option.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVVertexProgram2Option { 4 | 5 | public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = (int) 35061; 6 | public static final int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = (int) 35060; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/GREMEDYFrameTerminator.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class GREMEDYFrameTerminator { 4 | 5 | public static void glFrameTerminatorGREMEDY() { 6 | org.lwjgl.opengl.GREMEDYFrameTerminator.glFrameTerminatorGREMEDY(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/KHRContextFlushControl.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class KHRContextFlushControl { 4 | 5 | public static final int GL_CONTEXT_RELEASE_BEHAVIOR = (int) 33531; 6 | public static final int GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH = (int) 33532; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /prism-libraries/patches/me.eigenraven.lwjgl3ify.launchargs.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatVersion": 1, 3 | "name": "LWJGL3ify launch args", 4 | "uid": "me.eigenraven.lwjgl3ify.launchargs", 5 | "version": "${version}", 6 | "order": 100, 7 | "mainClass": "com.gtnewhorizons.retrofuturabootstrap.Main" 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/SharedDrawable.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class SharedDrawable extends org.lwjglx.opengl.DrawableGL { 4 | 5 | public org.lwjglx.opengl.ContextGL createSharedContext() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/main/resources/META-INF/rfb-plugin/lwjgl3ify.properties: -------------------------------------------------------------------------------- 1 | name=LWJGL3ify 2 | version=${version} 3 | additionalVersions= 4 | className=me.eigenraven.lwjgl3ify.rfb.Lwjgl3ifyRfbPlugin 5 | transformerExclusions=me.eigenraven.lwjgl3ify 6 | versionConstraints= 7 | loadBefore= 8 | loadAfter= 9 | loadRequires= 10 | -------------------------------------------------------------------------------- /src/main/resources/mixins.lwjgl3ify.json: -------------------------------------------------------------------------------- 1 | { 2 | "package": "me.eigenraven.lwjgl3ify.mixins", 3 | "refmap": "mixins.lwjgl3ify.refmap.json", 4 | "target": "@env(DEFAULT)", 5 | "minVersion": "0.8", 6 | "compatibilityLevel": "JAVA_8", 7 | "mixins": [], 8 | "client": [], 9 | "server": [] 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/ReadableDimension.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public interface ReadableDimension { 4 | 5 | public abstract int getHeight(); 6 | 7 | public abstract void getSize(org.lwjgl.util.WritableDimension arg0); 8 | 9 | public abstract int getWidth(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/Cylinder.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class Cylinder extends org.lwjgl.util.glu.Quadric { 4 | 5 | public void draw(float arg0, float arg1, float arg2, int arg3, int arg4) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBES31Compatibility.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBES31Compatibility { 4 | 5 | public static void glMemoryBarrierByRegion(int barriers) { 6 | org.lwjgl.opengl.ARBES31Compatibility.glMemoryBarrierByRegion(barriers); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureFilterAnisotropic.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureFilterAnisotropic { 4 | 5 | public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = (int) 34047; 6 | public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT = (int) 34046; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTMultiDrawArrays.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTMultiDrawArrays { 4 | 5 | public static void glMultiDrawArraysEXT(int arg0, java.nio.IntBuffer arg1, java.nio.IntBuffer arg2) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTFramebufferMultisampleBlitScaled.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTFramebufferMultisampleBlitScaled { 4 | 5 | public static final int GL_SCALED_RESOLVE_FASTEST_EXT = (int) 37050; 6 | public static final int GL_SCALED_RESOLVE_NICEST_EXT = (int) 37051; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/PartialDisk.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class PartialDisk extends org.lwjgl.util.glu.Quadric { 4 | 5 | public void draw(float arg0, float arg1, int arg2, int arg3, float arg4, float arg5) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/org/lwjglx/opengl/GLContext.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class GLContext { 4 | 5 | private static ContextCapabilities contextCapabilities = new ContextCapabilities(); 6 | 7 | public static ContextCapabilities getCapabilities() { 8 | return contextCapabilities; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTransformFeedbackOverflowQuery.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTransformFeedbackOverflowQuery { 4 | 5 | public static final int GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB = (int) 33516; 6 | public static final int GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB = (int) 33517; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/MappedType.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public interface MappedType { 4 | 5 | public abstract int align(); 6 | 7 | public abstract boolean autoGenerateOffsets(); 8 | 9 | public abstract boolean cacheLinePadding(); 10 | 11 | public abstract int padding(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVFogDistance.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVFogDistance { 4 | 5 | public static final int GL_EYE_PLANE_ABSOLUTE_NV = (int) 34140; 6 | public static final int GL_EYE_RADIAL_NV = (int) 34139; 7 | public static final int GL_FOG_DISTANCE_MODE_NV = (int) 34138; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLERgb422.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLERgb422 { 4 | 5 | public static final int GL_RGB_422_APPLE = (int) 35359; 6 | public static final int GL_UNSIGNED_SHORT_8_8_APPLE = (int) 34234; 7 | public static final int GL_UNSIGNED_SHORT_8_8_REV_APPLE = (int) 34235; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEYcbcr422.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEYcbcr422 { 4 | 5 | public static final int GL_UNSIGNED_SHORT_8_8_APPLE = (int) 34234; 6 | public static final int GL_UNSIGNED_SHORT_8_8_REV_APPLE = (int) 34235; 7 | public static final int GL_YCBCR_422_APPLE = (int) 34233; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBShadow.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBShadow { 4 | 5 | public static final int GL_COMPARE_R_TO_TEXTURE_ARB = (int) 34894; 6 | public static final int GL_TEXTURE_COMPARE_FUNC_ARB = (int) 34893; 7 | public static final int GL_TEXTURE_COMPARE_MODE_ARB = (int) 34892; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ATIMeminfo.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ATIMeminfo { 4 | 5 | public static final int GL_RENDERBUFFER_FREE_MEMORY_ATI = (int) 34813; 6 | public static final int GL_TEXTURE_FREE_MEMORY_ATI = (int) 34812; 7 | public static final int GL_VBO_FREE_MEMORY_ATI = (int) 34811; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureSRGBDecode.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureSRGBDecode { 4 | 5 | public static final int GL_DECODE_EXT = (int) 35401; 6 | public static final int GL_SKIP_DECODE_EXT = (int) 35402; 7 | public static final int GL_TEXTURE_SRGB_DECODE_EXT = (int) 35400; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/main/resources/mixins.lwjgl3ify.early.stb_stitch.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8.3", 4 | "package": "me.eigenraven.lwjgl3ify.mixins.early", 5 | "refmap": "mixins.lwjgl3ify.refmap.json", 6 | "target": "@env(DEFAULT)", 7 | "compatibilityLevel": "JAVA_8", 8 | "client": [ 9 | "game.MixinStitcher" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/openal/ALCcontext.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.openal; 2 | 3 | public class ALCcontext { 4 | 5 | public boolean equals(java.lang.Object arg0) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public boolean isValid() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/openal/ALCdevice.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.openal; 2 | 3 | public class ALCdevice { 4 | 5 | public boolean equals(java.lang.Object arg0) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public boolean isValid() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATITextureEnvCombine3.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATITextureEnvCombine3 { 4 | 5 | public static final int GL_MODULATE_ADD_ATI = (int) 34628; 6 | public static final int GL_MODULATE_SIGNED_ADD_ATI = (int) 34629; 7 | public static final int GL_MODULATE_SUBTRACT_ATI = (int) 34630; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTTextureLODBias.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTTextureLODBias { 4 | 5 | public static final int GL_MAX_TEXTURE_LOD_BIAS_EXT = (int) 34045; 6 | public static final int GL_TEXTURE_FILTER_CONTROL_EXT = (int) 34048; 7 | public static final int GL_TEXTURE_LOD_BIAS_EXT = (int) 34049; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDQueryBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDQueryBufferObject { 4 | 5 | public static final int GL_QUERY_BUFFER_AMD = (int) 37266; 6 | public static final int GL_QUERY_BUFFER_BINDING_AMD = (int) 37267; 7 | public static final int GL_QUERY_RESULT_NO_WAIT_AMD = (int) 37268; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBDepthBufferFloat.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBDepthBufferFloat { 4 | 5 | public static final int GL_DEPTH32F_STENCIL8 = (int) 36013; 6 | public static final int GL_DEPTH_COMPONENT32F = (int) 36012; 7 | public static final int GL_FLOAT_32_UNSIGNED_INT_24_8_REV = (int) 36269; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/Util.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class Util { 4 | 5 | public static void checkGLError() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static java.lang.String translateGLErrorString(int arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureMirrorClamp.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureMirrorClamp { 4 | 5 | public static final int GL_MIRROR_CLAMP_EXT = (int) 34626; 6 | public static final int GL_MIRROR_CLAMP_TO_BORDER_EXT = (int) 35090; 7 | public static final int GL_MIRROR_CLAMP_TO_EDGE_EXT = (int) 34627; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureSharedExponent.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureSharedExponent { 4 | 5 | public static final int GL_RGB9_E5_EXT = (int) 35901; 6 | public static final int GL_TEXTURE_SHARED_SIZE_EXT = (int) 35903; 7 | public static final int GL_UNSIGNED_INT_5_9_9_9_REV_EXT = (int) 35902; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTSeparateSpecularColor.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTSeparateSpecularColor { 4 | 5 | public static final int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = (int) 33272; 6 | public static final int GL_SEPARATE_SPECULAR_COLOR_EXT = (int) 33274; 7 | public static final int GL_SINGLE_COLOR_EXT = (int) 33273; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/WritablePoint.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public interface WritablePoint { 4 | 5 | public abstract void setLocation(int arg0, int arg1); 6 | 7 | public abstract void setLocation(org.lwjgl.util.ReadablePoint arg0); 8 | 9 | public abstract void setX(int arg0); 10 | 11 | public abstract void setY(int arg0); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBEnhancedLayouts.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBEnhancedLayouts { 4 | 5 | public static final int GL_LOCATION_COMPONENT = (int) 37706; 6 | public static final int GL_TRANSFORM_FEEDBACK_BUFFER_INDEX = (int) 37707; 7 | public static final int GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE = (int) 37708; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /repositories.gradle: -------------------------------------------------------------------------------- 1 | 2 | repositories { 3 | ivy { 4 | name "LiteLoader" 5 | artifactPattern "https://dl.liteloader.com/versions/com/mumfrey/[module]/1.7.10/[module]-[revision](-[classifier]).[ext]" 6 | metadataSources { 7 | artifact() 8 | } 9 | content { 10 | includeGroup("com.mumfrey") 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/EnumValuesField.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.FIELD) 10 | public @interface EnumValuesField {} 11 | -------------------------------------------------------------------------------- /src/main/resources/mixins.lwjgl3ify.early.stb_tex.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8.3", 4 | "package": "me.eigenraven.lwjgl3ify.mixins.early", 5 | "refmap": "mixins.lwjgl3ify.refmap.json", 6 | "target": "@env(DEFAULT)", 7 | "compatibilityLevel": "JAVA_8", 8 | "client": [ 9 | "game.MixinTextureAtlasSprite", 10 | "game.MixinTextureUtil" 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/WritableDimension.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public interface WritableDimension { 4 | 5 | public abstract void setHeight(int arg0); 6 | 7 | public abstract void setSize(int arg0, int arg1); 8 | 9 | public abstract void setSize(org.lwjgl.util.ReadableDimension arg0); 10 | 11 | public abstract void setWidth(int arg0); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/RenderTexture.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class RenderTexture { 4 | 5 | public static final int RENDER_TEXTURE_1D = (int) 8313; 6 | public static final int RENDER_TEXTURE_2D = (int) 8314; 7 | public static final int RENDER_TEXTURE_CUBE_MAP = (int) 8312; 8 | public static final int RENDER_TEXTURE_RECTANGLE = (int) 8354; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/WasFinalObjectHolder.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.FIELD) 10 | public @interface WasFinalObjectHolder {} 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/Drawable.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public interface Drawable { 4 | 5 | public abstract void destroy(); 6 | 7 | public abstract boolean isCurrent(); 8 | 9 | public abstract void makeCurrent(); 10 | 11 | public abstract void releaseContext(); 12 | 13 | public abstract void setCLSharingProperties(org.lwjgl.PointerBuffer arg0); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBInstancedArrays.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBInstancedArrays { 4 | 5 | public static final int GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = (int) 35070; 6 | 7 | public static void glVertexAttribDivisorARB(int index, int divisor) { 8 | org.lwjgl.opengl.ARBInstancedArrays.glVertexAttribDivisorARB(index, divisor); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureGather.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureGather { 4 | 5 | public static final int GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB = (int) 36767; 6 | public static final int GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = (int) 36447; 7 | public static final int GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = (int) 36446; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDSamplePositions.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDSamplePositions { 4 | 5 | public static final int GL_SUBSAMPLE_DISTANCE_AMD = (int) 34879; 6 | 7 | public static void glSetMultisampleAMD(int pname, int index, java.nio.FloatBuffer val) { 8 | org.lwjgl.opengl.AMDSamplePositions.glSetMultisamplefvAMD(pname, index, val); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/SGISTextureLOD.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class SGISTextureLOD { 4 | 5 | public static final int GL_TEXTURE_BASE_LEVEL_SGIS = (int) 33084; 6 | public static final int GL_TEXTURE_MAX_LEVEL_SGIS = (int) 33085; 7 | public static final int GL_TEXTURE_MAX_LOD_SGIS = (int) 33083; 8 | public static final int GL_TEXTURE_MIN_LOD_SGIS = (int) 33082; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/WritableRectangle.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public interface WritableRectangle { 4 | 5 | public abstract void setBounds(int arg0, int arg1, int arg2, int arg3); 6 | 7 | public abstract void setBounds(org.lwjgl.util.ReadablePoint arg0, org.lwjgl.util.ReadableDimension arg1); 8 | 9 | public abstract void setBounds(org.lwjgl.util.ReadableRectangle arg0); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBQueryBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBQueryBufferObject { 4 | 5 | public static final int GL_QUERY_BUFFER = (int) 37266; 6 | public static final int GL_QUERY_BUFFER_BARRIER_BIT = (int) 32768; 7 | public static final int GL_QUERY_BUFFER_BINDING = (int) 37267; 8 | public static final int GL_QUERY_RESULT_NO_WAIT = (int) 37268; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVDrawTexture.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVDrawTexture { 4 | 5 | public static void glDrawTextureNV(int texture, int sampler, float x0, float y0, float x1, float y1, float z, 6 | float s0, float t0, float s1, float t1) { 7 | org.lwjgl.opengl.NVDrawTexture.glDrawTextureNV(texture, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTPackedDepthStencil.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTPackedDepthStencil { 4 | 5 | public static final int GL_DEPTH24_STENCIL8_EXT = (int) 35056; 6 | public static final int GL_DEPTH_STENCIL_EXT = (int) 34041; 7 | public static final int GL_TEXTURE_STENCIL_SIZE_EXT = (int) 35057; 8 | public static final int GL_UNSIGNED_INT_24_8_EXT = (int) 34042; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBSampleShading.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBSampleShading { 4 | 5 | public static final int GL_MIN_SAMPLE_SHADING_VALUE_ARB = (int) 35895; 6 | public static final int GL_SAMPLE_SHADING_ARB = (int) 35894; 7 | 8 | public static void glMinSampleShadingARB(float value) { 9 | org.lwjgl.opengl.ARBSampleShading.glMinSampleShadingARB(value); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVTextureRectangle.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVTextureRectangle { 4 | 5 | public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = (int) 34040; 6 | public static final int GL_PROXY_TEXTURE_RECTANGLE_NV = (int) 34039; 7 | public static final int GL_TEXTURE_BINDING_RECTANGLE_NV = (int) 34038; 8 | public static final int GL_TEXTURE_RECTANGLE_NV = (int) 34037; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTDepthBoundsTest.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTDepthBoundsTest { 4 | 5 | public static final int GL_DEPTH_BOUNDS_EXT = (int) 34961; 6 | public static final int GL_DEPTH_BOUNDS_TEST_EXT = (int) 34960; 7 | 8 | public static void glDepthBoundsEXT(double zmin, double zmax) { 9 | org.lwjgl.opengl.EXTDepthBoundsTest.glDepthBoundsEXT(zmin, zmax); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTStencilTwoSide.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTStencilTwoSide { 4 | 5 | public static final int GL_ACTIVE_STENCIL_FACE_EXT = (int) 35089; 6 | public static final int GL_STENCIL_TEST_TWO_SIDE_EXT = (int) 35088; 7 | 8 | public static void glActiveStencilFaceEXT(int face) { 9 | org.lwjgl.opengl.EXTStencilTwoSide.glActiveStencilFaceEXT(face); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTTextureRectangle.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTTextureRectangle { 4 | 5 | public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT = (int) 34040; 6 | public static final int GL_PROXY_TEXTURE_RECTANGLE_EXT = (int) 34039; 7 | public static final int GL_TEXTURE_BINDING_RECTANGLE_EXT = (int) 34038; 8 | public static final int GL_TEXTURE_RECTANGLE_EXT = (int) 34037; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/Registry.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class Registry extends org.lwjgl.util.glu.Util { 4 | 5 | public static boolean gluCheckExtension(java.lang.String arg0, java.lang.String arg1) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static java.lang.String gluGetString(int arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/jinput/LWJGLEnvironmentPlugin.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.jinput; 2 | 3 | public class LWJGLEnvironmentPlugin extends net.java.games.input.ControllerEnvironment { 4 | 5 | public net.java.games.input.Controller[] getControllers() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public boolean isSupported() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBFramebufferSRGB.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBFramebufferSRGB { 4 | 5 | public static final int GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB = (int) 8370; 6 | public static final int GL_FRAMEBUFFER_SRGB_ARB = (int) 36281; 7 | public static final int GL_FRAMEBUFFER_SRGB_CAPABLE_ARB = (int) 36282; 8 | public static final int WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB = (int) 8361; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureCompressionRGTC.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureCompressionRGTC { 4 | 5 | public static final int GL_COMPRESSED_RED_RGTC1 = (int) 36283; 6 | public static final int GL_COMPRESSED_RG_RGTC2 = (int) 36285; 7 | public static final int GL_COMPRESSED_SIGNED_RED_RGTC1 = (int) 36284; 8 | public static final int GL_COMPRESSED_SIGNED_RG_RGTC2 = (int) 36286; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTFramebufferSRGB.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTFramebufferSRGB { 4 | 5 | public static final int GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT = (int) 8370; 6 | public static final int GL_FRAMEBUFFER_SRGB_CAPABLE_EXT = (int) 36282; 7 | public static final int GL_FRAMEBUFFER_SRGB_EXT = (int) 36281; 8 | public static final int WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT = (int) 8361; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVTextureCompressionVTC.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVTextureCompressionVTC { 4 | 5 | public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = (int) 33777; 6 | public static final int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = (int) 33778; 7 | public static final int GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = (int) 33779; 8 | public static final int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = (int) 33776; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/XRandR$Screen.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class XRandR$Screen { 4 | 5 | public final int freq = 0; 6 | public final int height = 0; 7 | public final java.lang.String name = null; 8 | public final int width = 0; 9 | public int xPos = 0; 10 | public int yPos = 0; 11 | 12 | public java.lang.String toString() { 13 | throw new UnsupportedOperationException(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBConditionalRenderInverted.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBConditionalRenderInverted { 4 | 5 | public static final int GL_QUERY_BY_REGION_NO_WAIT_INVERTED = (int) 36378; 6 | public static final int GL_QUERY_BY_REGION_WAIT_INVERTED = (int) 36377; 7 | public static final int GL_QUERY_NO_WAIT_INVERTED = (int) 36376; 8 | public static final int GL_QUERY_WAIT_INVERTED = (int) 36375; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | .settings 3 | /.idea/ 4 | /.vscode/ 5 | /run/ 6 | /build/ 7 | /eclipse/ 8 | .classpath 9 | .project 10 | /bin/ 11 | /config/ 12 | /crash-reports/ 13 | /logs/ 14 | options.txt 15 | /saves/ 16 | usernamecache.json 17 | banned-ips.json 18 | banned-players.json 19 | eula.txt 20 | ops.json 21 | server.properties 22 | servers.dat 23 | usercache.json 24 | whitelist.json 25 | /out/ 26 | *.iml 27 | *.ipr 28 | *.iws 29 | *.bat 30 | *.DS_Store 31 | !gradlew.bat 32 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVTextureEnvCombine4.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVTextureEnvCombine4 { 4 | 5 | public static final int GL_COMBINE4_NV = (int) 34051; 6 | public static final int GL_OPERAND3_ALPHA_NV = (int) 34203; 7 | public static final int GL_OPERAND3_RGB_NV = (int) 34195; 8 | public static final int GL_SOURCE3_ALPHA_NV = (int) 34187; 9 | public static final int GL_SOURCE3_RGB_NV = (int) 34179; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/api/Lwjgl3Aware.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.api; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Mark a class to not be transformed for lwjgl3 compatibility 10 | */ 11 | @Retention(RetentionPolicy.RUNTIME) 12 | @Target(ElementType.TYPE) 13 | public @interface Lwjgl3Aware {} 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureCompressionS3TC.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureCompressionS3TC { 4 | 5 | public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = (int) 33777; 6 | public static final int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = (int) 33778; 7 | public static final int GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = (int) 33779; 8 | public static final int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = (int) 33776; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureSwizzle.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureSwizzle { 4 | 5 | public static final int GL_TEXTURE_SWIZZLE_A = (int) 36421; 6 | public static final int GL_TEXTURE_SWIZZLE_B = (int) 36420; 7 | public static final int GL_TEXTURE_SWIZZLE_G = (int) 36419; 8 | public static final int GL_TEXTURE_SWIZZLE_R = (int) 36418; 9 | public static final int GL_TEXTURE_SWIZZLE_RGBA = (int) 36422; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureCompressionRGTC.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureCompressionRGTC { 4 | 5 | public static final int GL_COMPRESSED_RED_GREEN_RGTC2_EXT = (int) 36285; 6 | public static final int GL_COMPRESSED_RED_RGTC1_EXT = (int) 36283; 7 | public static final int GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = (int) 36286; 8 | public static final int GL_COMPRESSED_SIGNED_RED_RGTC1_EXT = (int) 36284; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVGpuProgram5.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVGpuProgram5 { 4 | 5 | public static final int GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV = (int) 36445; 6 | public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV = (int) 36444; 7 | public static final int GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV = (int) 36442; 8 | public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV = (int) 36443; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/api/MakeEnumExtensible.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.api; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Mark an enum for an automatic IExtensibleEnum implementation. 10 | */ 11 | @Retention(RetentionPolicy.RUNTIME) 12 | @Target(ElementType.TYPE) 13 | public @interface MakeEnumExtensible {} 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/GREMEDYStringMarker.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class GREMEDYStringMarker { 4 | 5 | public static void glStringMarkerGREMEDY(java.lang.CharSequence string) { 6 | org.lwjgl.opengl.GREMEDYStringMarker.glStringMarkerGREMEDY(string); 7 | } 8 | 9 | public static void glStringMarkerGREMEDY(java.nio.ByteBuffer string) { 10 | org.lwjgl.opengl.GREMEDYStringMarker.glStringMarkerGREMEDY(string); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /prism-libraries/patches/me.eigenraven.lwjgl3ify.forgepatches.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatVersion": 1, 3 | "name": "LWJGL3ify Early Classpath", 4 | "uid": "me.eigenraven.lwjgl3ify.forgepatches", 5 | "version": "${version}", 6 | "order": 3, 7 | "+jvmArgs": [ 8 | ${jvmArgs} 9 | ], 10 | "libraries": [ 11 | { 12 | "name": "com.github.GTNewHorizons:lwjgl3ify:${version}:forgePatches", 13 | "MMC-hint": "local" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/openal/EFXUtil.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.openal; 2 | 3 | public class EFXUtil { 4 | 5 | public static boolean isEffectSupported(int arg0) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static boolean isEfxSupported() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static boolean isFilterSupported(int arg0) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBDepthTexture.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBDepthTexture { 4 | 5 | public static final int GL_DEPTH_COMPONENT16_ARB = (int) 33189; 6 | public static final int GL_DEPTH_COMPONENT24_ARB = (int) 33190; 7 | public static final int GL_DEPTH_COMPONENT32_ARB = (int) 33191; 8 | public static final int GL_DEPTH_TEXTURE_MODE_ARB = (int) 34891; 9 | public static final int GL_TEXTURE_DEPTH_SIZE_ARB = (int) 34890; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBPixelBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBPixelBufferObject extends org.lwjgl.opengl.ARBBufferObject { 4 | 5 | public static final int GL_PIXEL_PACK_BUFFER_ARB = (int) 35051; 6 | public static final int GL_PIXEL_PACK_BUFFER_BINDING_ARB = (int) 35053; 7 | public static final int GL_PIXEL_UNPACK_BUFFER_ARB = (int) 35052; 8 | public static final int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = (int) 35055; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTPixelBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTPixelBufferObject extends org.lwjgl.opengl.ARBBufferObject { 4 | 5 | public static final int GL_PIXEL_PACK_BUFFER_BINDING_EXT = (int) 35053; 6 | public static final int GL_PIXEL_PACK_BUFFER_EXT = (int) 35051; 7 | public static final int GL_PIXEL_UNPACK_BUFFER_BINDING_EXT = (int) 35055; 8 | public static final int GL_PIXEL_UNPACK_BUFFER_EXT = (int) 35052; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureCompressionBPTC.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureCompressionBPTC { 4 | 5 | public static final int GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = (int) 36492; 6 | public static final int GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = (int) 36494; 7 | public static final int GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = (int) 36495; 8 | public static final int GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = (int) 36493; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTStencilClearTag.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTStencilClearTag { 4 | 5 | public static final int GL_STENCIL_CLEAR_TAG_VALUE_EXT = (int) 35059; 6 | public static final int GL_STENCIL_TAG_BITS_EXT = (int) 35058; 7 | 8 | public static void glStencilClearTagEXT(int stencilTagBits, int stencilClearTag) { 9 | org.lwjgl.opengl.EXTStencilClearTag.glStencilClearTagEXT(stencilTagBits, stencilClearTag); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureSwizzle.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureSwizzle { 4 | 5 | public static final int GL_TEXTURE_SWIZZLE_A_EXT = (int) 36421; 6 | public static final int GL_TEXTURE_SWIZZLE_B_EXT = (int) 36420; 7 | public static final int GL_TEXTURE_SWIZZLE_G_EXT = (int) 36419; 8 | public static final int GL_TEXTURE_SWIZZLE_RGBA_EXT = (int) 36422; 9 | public static final int GL_TEXTURE_SWIZZLE_R_EXT = (int) 36418; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDInterleavedElements.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDInterleavedElements { 4 | 5 | public static final int GL_VERTEX_ELEMENT_SWIZZLE_AMD = (int) 37284; 6 | public static final int GL_VERTEX_ID_SWIZZLE_AMD = (int) 37285; 7 | 8 | public static void glVertexAttribParameteriAMD(int index, int pname, int param) { 9 | org.lwjgl.opengl.AMDInterleavedElements.glVertexAttribParameteriAMD(index, pname, param); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTBlendEquationSeparate.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTBlendEquationSeparate { 4 | 5 | public static final int GL_BLEND_EQUATION_ALPHA_EXT = (int) 34877; 6 | public static final int GL_BLEND_EQUATION_RGB_EXT = (int) 32777; 7 | 8 | public static void glBlendEquationSeparateEXT(int modeRGB, int modeAlpha) { 9 | org.lwjgl.opengl.EXTBlendEquationSeparate.glBlendEquationSeparateEXT(modeRGB, modeAlpha); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureCompressionLATC.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureCompressionLATC { 4 | 5 | public static final int GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = (int) 35954; 6 | public static final int GL_COMPRESSED_LUMINANCE_LATC1_EXT = (int) 35952; 7 | public static final int GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = (int) 35955; 8 | public static final int GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = (int) 35953; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /.github/scripts/update_version: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | if ! git diff --name-only HEAD HEAD~1 | grep -qF 'build.gradle'; then 4 | new_version="$(date +%s)" 5 | sed --in-place "s!^//version:.*!//version: $new_version!g" build.gradle 6 | git add build.gradle 7 | git commit -m "[ci skip] update build script version to $new_version" 8 | git push 9 | printf 'Updated buildscript version to %s\n' "$new_version" 10 | else 11 | printf 'Ignored buildscript version update: no changes detected\n' 12 | fi 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBSparseBuffer.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBSparseBuffer { 4 | 5 | public static final int GL_SPARSE_BUFFER_PAGE_SIZE_ARB = (int) 33528; 6 | public static final int GL_SPARSE_STORAGE_BIT_ARB = (int) 1024; 7 | 8 | public static void glBufferPageCommitmentARB(int target, long offset, long size, boolean commit) { 9 | org.lwjgl.opengl.ARBSparseBuffer.glBufferPageCommitmentARB(target, offset, size, commit); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTGpuProgramParameters.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTGpuProgramParameters { 4 | 5 | public static void glProgramEnvParameters4EXT(int arg0, int arg1, int arg2, java.nio.FloatBuffer arg3) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static void glProgramLocalParameters4EXT(int arg0, int arg1, int arg2, java.nio.FloatBuffer arg3) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTPackedPixels.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTPackedPixels { 4 | 5 | public static final int GL_UNSIGNED_BYTE_3_3_2_EXT = (int) 32818; 6 | public static final int GL_UNSIGNED_INT_10_10_10_2_EXT = (int) 32822; 7 | public static final int GL_UNSIGNED_INT_8_8_8_8_EXT = (int) 32821; 8 | public static final int GL_UNSIGNED_SHORT_4_4_4_4_EXT = (int) 32819; 9 | public static final int GL_UNSIGNED_SHORT_5_5_5_1_EXT = (int) 32820; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVFragmentProgram2.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVFragmentProgram2 { 4 | 5 | public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = (int) 35061; 6 | public static final int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = (int) 35060; 7 | public static final int GL_MAX_PROGRAM_IF_DEPTH_NV = (int) 35062; 8 | public static final int GL_MAX_PROGRAM_LOOP_COUNT_NV = (int) 35064; 9 | public static final int GL_MAX_PROGRAM_LOOP_DEPTH_NV = (int) 35063; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTBlendMinmax.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTBlendMinmax { 4 | 5 | public static final int GL_BLEND_EQUATION_EXT = (int) 32777; 6 | public static final int GL_FUNC_ADD_EXT = (int) 32774; 7 | public static final int GL_MAX_EXT = (int) 32776; 8 | public static final int GL_MIN_EXT = (int) 32775; 9 | 10 | public static void glBlendEquationEXT(int mode) { 11 | org.lwjgl.opengl.EXTBlendMinmax.glBlendEquationEXT(mode); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBFragmentShader.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBFragmentShader { 4 | 5 | public static final int GL_FRAGMENT_SHADER_ARB = (int) 35632; 6 | public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = (int) 35723; 7 | public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = (int) 35657; 8 | public static final int GL_MAX_TEXTURE_COORDS_ARB = (int) 34929; 9 | public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = (int) 34930; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBCopyBuffer.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBCopyBuffer { 4 | 5 | public static final int GL_COPY_READ_BUFFER = (int) 36662; 6 | public static final int GL_COPY_WRITE_BUFFER = (int) 36663; 7 | 8 | public static void glCopyBufferSubData(int readTarget, int writeTarget, long readOffset, long writeOffset, 9 | long size) { 10 | org.lwjgl.opengl.ARBCopyBuffer.glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVTessellationProgram5.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVTessellationProgram5 { 4 | 5 | public static final int GL_MAX_PROGRAM_PATCH_ATTRIBS_NV = (int) 34520; 6 | public static final int GL_TESS_CONTROL_PROGRAM_NV = (int) 35102; 7 | public static final int GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV = (int) 35956; 8 | public static final int GL_TESS_EVALUATION_PROGRAM_NV = (int) 35103; 9 | public static final int GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV = (int) 35957; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/Display.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public class Display { 4 | 5 | public static org.lwjgl.opengl.DisplayMode[] getAvailableDisplayModes(int arg0, int arg1, int arg2, int arg3, 6 | int arg4, int arg5, int arg6, int arg7) { 7 | throw new UnsupportedOperationException(); 8 | } 9 | 10 | public static org.lwjgl.opengl.DisplayMode setDisplayMode(org.lwjgl.opengl.DisplayMode[] arg0, 11 | java.lang.String[] arg1) { 12 | throw new UnsupportedOperationException(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/resources/mixins.lwjgl3ify.early.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8.3", 4 | "package": "me.eigenraven.lwjgl3ify.mixins.early", 5 | "refmap": "mixins.lwjgl3ify.refmap.json", 6 | "target": "@env(DEFAULT)", 7 | "compatibilityLevel": "JAVA_8", 8 | "mixins": [ 9 | "fml.ASMEventHandler", 10 | "fml.EnumHelper", 11 | "fml.ItemStackHolderRef", 12 | "fml.JarDiscoverer", 13 | "fml.ObjectHolderRef", 14 | "fml.ObjectHolderRegistry" 15 | ], 16 | "client": [ 17 | "game.MixinMinecraftKeyBinding" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVRegisterCombiners2.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVRegisterCombiners2 { 4 | 5 | public static final int GL_PER_STAGE_CONSTANTS_NV = (int) 34101; 6 | 7 | public static void glCombinerStageParameterNV(int arg0, int arg1, java.nio.FloatBuffer arg2) { 8 | throw new UnsupportedOperationException(); 9 | } 10 | 11 | public static void glGetCombinerStageParameterNV(int arg0, int arg1, java.nio.FloatBuffer arg2) { 12 | throw new UnsupportedOperationException(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # This is the universal Text Editor Configuration 2 | # for all GTNewHorizons projects 3 | # See: https://editorconfig.org/ 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | end_of_line = lf 10 | indent_size = 4 11 | indent_style = space 12 | insert_final_newline = true 13 | trim_trailing_whitespace = true 14 | 15 | [*.{bat,ini}] 16 | end_of_line = crlf 17 | 18 | [*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}] 19 | indent_size = 2 20 | 21 | [*.lang] 22 | trim_trailing_whitespace = false 23 | 24 | [prism-libraries/**.json] 25 | indent_size = 4 26 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVXGpuMemoryInfo.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVXGpuMemoryInfo { 4 | 5 | public static final int GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX = (int) 36937; 6 | public static final int GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX = (int) 36935; 7 | public static final int GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX = (int) 36939; 8 | public static final int GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX = (int) 36938; 9 | public static final int GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX = (int) 36936; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBProvokingVertex.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBProvokingVertex { 4 | 5 | public static final int GL_FIRST_VERTEX_CONVENTION = (int) 36429; 6 | public static final int GL_LAST_VERTEX_CONVENTION = (int) 36430; 7 | public static final int GL_PROVOKING_VERTEX = (int) 36431; 8 | public static final int GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = (int) 36428; 9 | 10 | public static void glProvokingVertex(int mode) { 11 | org.lwjgl.opengl.ARBProvokingVertex.glProvokingVertex(mode); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTPackedFloat.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTPackedFloat { 4 | 5 | public static final int GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT = (int) 8; 6 | public static final int GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT = (int) 8369; 7 | public static final int GL_R11F_G11F_B10F_EXT = (int) 35898; 8 | public static final int GL_RGBA_SIGNED_COMPONENTS_EXT = (int) 35900; 9 | public static final int GL_UNSIGNED_INT_10F_11F_11F_REV_EXT = (int) 35899; 10 | public static final int WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT = (int) 8360; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVPrimitiveRestart.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVPrimitiveRestart { 4 | 5 | public static final int GL_PRIMITIVE_RESTART_INDEX_NV = (int) 34137; 6 | public static final int GL_PRIMITIVE_RESTART_NV = (int) 34136; 7 | 8 | public static void glPrimitiveRestartIndexNV(int index) { 9 | org.lwjgl.opengl.NVPrimitiveRestart.glPrimitiveRestartIndexNV(index); 10 | } 11 | 12 | public static void glPrimitiveRestartNV() { 13 | org.lwjgl.opengl.NVPrimitiveRestart.glPrimitiveRestartNV(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureRectangle.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureRectangle { 4 | 5 | public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = (int) 34040; 6 | public static final int GL_PROXY_TEXTURE_RECTANGLE_ARB = (int) 34039; 7 | public static final int GL_SAMPLER_2D_RECT_ARB = (int) 35683; 8 | public static final int GL_SAMPLER_2D_RECT_SHADOW_ARB = (int) 35684; 9 | public static final int GL_TEXTURE_BINDING_RECTANGLE_ARB = (int) 34038; 10 | public static final int GL_TEXTURE_RECTANGLE_ARB = (int) 34037; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTimerQuery.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTimerQuery { 4 | 5 | public static final int GL_TIME_ELAPSED_EXT = (int) 35007; 6 | 7 | public static void glGetQueryObjectEXT(int id, int pname, java.nio.LongBuffer params) { 8 | org.lwjgl.opengl.EXTTimerQuery.glGetQueryObjecti64vEXT(id, pname, params); 9 | } 10 | 11 | public static void glGetQueryObjectuEXT(int id, int pname, java.nio.LongBuffer params) { 12 | org.lwjgl.opengl.EXTTimerQuery.glGetQueryObjectui64vEXT(id, pname, params); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ARBGpuShader5.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ARBGpuShader5 { 4 | 5 | public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS = (int) 36445; 6 | public static final int GL_GEOMETRY_SHADER_INVOCATIONS = (int) 34943; 7 | public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET = (int) 36444; 8 | public static final int GL_MAX_GEOMETRY_SHADER_INVOCATIONS = (int) 36442; 9 | public static final int GL_MAX_VERTEX_STREAMS = (int) 36465; 10 | public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET = (int) 36443; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVPresentVideoUtil.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVPresentVideoUtil { 4 | 5 | public static boolean glBindVideoDeviceNV(int arg0, long arg1, java.nio.IntBuffer arg2) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static int glEnumerateVideoDevicesNV(java.nio.LongBuffer arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static boolean glQueryContextNV(int arg0, java.nio.IntBuffer arg1) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/MipMap.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class MipMap extends org.lwjgl.util.glu.Util { 4 | 5 | public static int gluBuild2DMipmaps(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, 6 | java.nio.ByteBuffer arg6) { 7 | throw new UnsupportedOperationException(); 8 | } 9 | 10 | public static int gluScaleImage(int arg0, int arg1, int arg2, int arg3, java.nio.ByteBuffer arg4, int arg5, 11 | int arg6, int arg7, java.nio.ByteBuffer arg8) { 12 | throw new UnsupportedOperationException(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDStencilOperationExtended.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDStencilOperationExtended { 4 | 5 | public static final int GL_REPLACE_VALUE_AMD = (int) 34635; 6 | public static final int GL_SET_AMD = (int) 34634; 7 | public static final int GL_STENCIL_BACK_OP_VALUE_AMD = (int) 34637; 8 | public static final int GL_STENCIL_OP_VALUE_AMD = (int) 34636; 9 | 10 | public static void glStencilOpValueAMD(int face, int value) { 11 | org.lwjgl.opengl.AMDStencilOperationExtended.glStencilOpValueAMD(face, value); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTCompiledVertexArray.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTCompiledVertexArray { 4 | 5 | public static final int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = (int) 33193; 6 | public static final int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = (int) 33192; 7 | 8 | public static void glLockArraysEXT(int first, int count) { 9 | org.lwjgl.opengl.EXTCompiledVertexArray.glLockArraysEXT(first, count); 10 | } 11 | 12 | public static void glUnlockArraysEXT() { 13 | org.lwjgl.opengl.EXTCompiledVertexArray.glUnlockArraysEXT(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTProvokingVertex.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTProvokingVertex { 4 | 5 | public static final int GL_FIRST_VERTEX_CONVENTION_EXT = (int) 36429; 6 | public static final int GL_LAST_VERTEX_CONVENTION_EXT = (int) 36430; 7 | public static final int GL_PROVOKING_VERTEX_EXT = (int) 36431; 8 | public static final int GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT = (int) 36428; 9 | 10 | public static void glProvokingVertexEXT(int mode) { 11 | org.lwjgl.opengl.EXTProvokingVertex.glProvokingVertexEXT(mode); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEFlushBufferRange.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEFlushBufferRange { 4 | 5 | public static final int GL_BUFFER_FLUSHING_UNMAP_APPLE = (int) 35347; 6 | public static final int GL_BUFFER_SERIALIZED_MODIFY_APPLE = (int) 35346; 7 | 8 | public static void glBufferParameteriAPPLE(int arg0, int arg1, int arg2) { 9 | throw new UnsupportedOperationException(); 10 | } 11 | 12 | public static void glFlushMappedBufferRangeAPPLE(int arg0, long arg1, long arg2) { 13 | throw new UnsupportedOperationException(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATIMapObjectBuffer.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATIMapObjectBuffer { 4 | 5 | public static java.nio.ByteBuffer glMapObjectBufferATI(int arg0, long arg1, java.nio.ByteBuffer arg2) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static java.nio.ByteBuffer glMapObjectBufferATI(int arg0, java.nio.ByteBuffer arg1) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static void glUnmapObjectBufferATI(int arg0) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/GLUConstants.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public interface GLUConstants { 4 | 5 | public static final int GLU_EXTENSIONS = (int) 100801; 6 | public static final int GLU_FALSE = (int) 0; 7 | public static final int GLU_INCOMPATIBLE_GL_VERSION = (int) 100903; 8 | public static final int GLU_INVALID_ENUM = (int) 100900; 9 | public static final int GLU_INVALID_VALUE = (int) 100901; 10 | public static final int GLU_OUT_OF_MEMORY = (int) 100902; 11 | public static final int GLU_TRUE = (int) 1; 12 | public static final int GLU_VERSION = (int) 100800; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/net/minecraftforge/fml/common/fakelwjgl3ify/SafeRuntimeExit.java: -------------------------------------------------------------------------------- 1 | package net.minecraftforge.fml.common.fakelwjgl3ify; 2 | 3 | /** Safe runtime exit class to not trip the FML security manager. */ 4 | public class SafeRuntimeExit { 5 | 6 | public static void exitRuntime(int code) { 7 | nest0(code); 8 | } 9 | 10 | private static void nest0(int code) { 11 | nest1(code); 12 | } 13 | 14 | private static void nest1(int code) { 15 | nest2(code); 16 | } 17 | 18 | private static void nest2(int code) { 19 | Runtime.getRuntime() 20 | .exit(code); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTransformFeedbackInstanced.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTransformFeedbackInstanced { 4 | 5 | public static void glDrawTransformFeedbackInstanced(int mode, int id, int primcount) { 6 | org.lwjgl.opengl.ARBTransformFeedbackInstanced.glDrawTransformFeedbackInstanced(mode, id, primcount); 7 | } 8 | 9 | public static void glDrawTransformFeedbackStreamInstanced(int mode, int id, int stream, int primcount) { 10 | org.lwjgl.opengl.ARBTransformFeedbackInstanced 11 | .glDrawTransformFeedbackStreamInstanced(mode, id, stream, primcount); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/main/resources/mcmod.info: -------------------------------------------------------------------------------- 1 | { 2 | "modListVersion": 2, 3 | "modList": [{ 4 | "modid": "${modid}", 5 | "name": "${modname}", 6 | "description": "A mod enabling the use of LWJGL3 and modern Java versions for Minecraft 1.12.2", 7 | "version": "${version}", 8 | "mcversion": "${mcversion}", 9 | "url": "https://github.com/TwilightFlower/lwjgl3ify", 10 | "updateUrl": "", 11 | "authorList": ["eigenraven", "TwilightFlower"], 12 | "credits": "", 13 | "logoFile": "", 14 | "screenshots": [], 15 | "parent": "", 16 | "requiredMods": [], 17 | "dependencies": [], 18 | "dependants": [], 19 | "useDependencyInformation": true 20 | }] 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBClipControl.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBClipControl { 4 | 5 | public static final int GL_CLIP_DEPTH_MODE = (int) 37725; 6 | public static final int GL_CLIP_ORIGIN = (int) 37724; 7 | public static final int GL_LOWER_LEFT = (int) 36001; 8 | public static final int GL_NEGATIVE_ONE_TO_ONE = (int) 37726; 9 | public static final int GL_UPPER_LEFT = (int) 36002; 10 | public static final int GL_ZERO_TO_ONE = (int) 37727; 11 | 12 | public static void glClipControl(int origin, int depth) { 13 | org.lwjgl.opengl.ARBClipControl.glClipControl(origin, depth); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/openal/Util.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.openal; 2 | 3 | public class Util { 4 | 5 | public static void checkALCError(org.lwjgl.openal.ALCdevice arg0) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static void checkALCValidContext(org.lwjgl.openal.ALCcontext arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static void checkALCValidDevice(org.lwjgl.openal.ALCdevice arg0) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static void checkALError() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/redirects/InvalidActivityException.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.redirects; 2 | 3 | // Used by LiteLoader 4 | @SuppressWarnings("unused") 5 | public class InvalidActivityException extends java.rmi.RemoteException { 6 | 7 | public InvalidActivityException() { 8 | super(); 9 | } 10 | 11 | public InvalidActivityException(String message) { 12 | super(message); 13 | } 14 | 15 | public InvalidActivityException(Throwable cause) { 16 | this("", cause); 17 | } 18 | 19 | public InvalidActivityException(String message, Throwable cause) { 20 | super(message, cause); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/redirects/JarInputStream.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.redirects; 2 | 3 | import java.io.EOFException; 4 | import java.io.IOException; 5 | import java.util.jar.JarEntry; 6 | 7 | public final class JarInputStream { 8 | 9 | public static JarEntry getNextJarEntrySafe(final java.util.jar.JarInputStream jis) throws IOException { 10 | try { 11 | return jis.getNextJarEntry(); 12 | } catch (EOFException eof) { 13 | System.err.println("EOF caught while searching for forge patches: " + eof); 14 | eof.printStackTrace(System.err); 15 | return null; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTBlendColor.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTBlendColor { 4 | 5 | public static final int GL_BLEND_COLOR_EXT = (int) 32773; 6 | public static final int GL_CONSTANT_ALPHA_EXT = (int) 32771; 7 | public static final int GL_CONSTANT_COLOR_EXT = (int) 32769; 8 | public static final int GL_ONE_MINUS_CONSTANT_ALPHA_EXT = (int) 32772; 9 | public static final int GL_ONE_MINUS_CONSTANT_COLOR_EXT = (int) 32770; 10 | 11 | public static void glBlendColorEXT(float red, float green, float blue, float alpha) { 12 | org.lwjgl.opengl.EXTBlendColor.glBlendColorEXT(red, green, blue, alpha); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVPointSprite.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVPointSprite { 4 | 5 | public static final int GL_COORD_REPLACE_NV = (int) 34914; 6 | public static final int GL_POINT_SPRITE_NV = (int) 34913; 7 | public static final int GL_POINT_SPRITE_R_MODE_NV = (int) 34915; 8 | 9 | public static void glPointParameterNV(int pname, java.nio.IntBuffer params) { 10 | org.lwjgl.opengl.NVPointSprite.glPointParameterivNV(pname, params); 11 | } 12 | 13 | public static void glPointParameteriNV(int pname, int param) { 14 | org.lwjgl.opengl.NVPointSprite.glPointParameteriNV(pname, param); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTBlendFuncSeparate.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTBlendFuncSeparate { 4 | 5 | public static final int GL_BLEND_DST_ALPHA_EXT = (int) 32970; 6 | public static final int GL_BLEND_DST_RGB_EXT = (int) 32968; 7 | public static final int GL_BLEND_SRC_ALPHA_EXT = (int) 32971; 8 | public static final int GL_BLEND_SRC_RGB_EXT = (int) 32969; 9 | 10 | public static void glBlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha) { 11 | org.lwjgl.opengl.EXTBlendFuncSeparate 12 | .glBlendFuncSeparateEXT(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTFramebufferMultisample.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTFramebufferMultisample { 4 | 5 | public static final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = (int) 36182; 6 | public static final int GL_MAX_SAMPLES_EXT = (int) 36183; 7 | public static final int GL_RENDERBUFFER_SAMPLES_EXT = (int) 36011; 8 | 9 | public static void glRenderbufferStorageMultisampleEXT(int target, int samples, int internalformat, int width, 10 | int height) { 11 | org.lwjgl.opengl.EXTFramebufferMultisample 12 | .glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATIVertexAttribArrayObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATIVertexAttribArrayObject { 4 | 5 | public static void glGetVertexAttribArrayObjectATI(int arg0, int arg1, java.nio.FloatBuffer arg2) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static void glGetVertexAttribArrayObjectATI(int arg0, int arg1, java.nio.IntBuffer arg2) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static void glVertexAttribArrayObjectATI(int arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, 14 | int arg6) { 15 | throw new UnsupportedOperationException(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureCubeMapArray.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureCubeMapArray { 4 | 5 | public static final int GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = (int) 36878; 6 | public static final int GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB = (int) 36875; 7 | public static final int GL_SAMPLER_CUBE_MAP_ARRAY_ARB = (int) 36876; 8 | public static final int GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB = (int) 36877; 9 | public static final int GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB = (int) 36874; 10 | public static final int GL_TEXTURE_CUBE_MAP_ARRAY_ARB = (int) 36873; 11 | public static final int GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = (int) 36879; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/org/lwjglx/opengl/GL15x.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | import static org.lwjgl.system.MemoryStack.stackPush; 4 | 5 | import java.nio.ByteBuffer; 6 | 7 | import org.lwjgl.PointerBuffer; 8 | import org.lwjgl.opengl.GL15; 9 | import org.lwjgl.system.MemoryStack; 10 | 11 | public class GL15x { 12 | 13 | public static ByteBuffer glGetBufferPointer(int target, int pname) { 14 | int size = GL15.glGetBufferParameteri(target, GL15.GL_BUFFER_SIZE); 15 | try (MemoryStack stack = stackPush()) { 16 | PointerBuffer pb = stack.mallocPointer(1); 17 | GL15.glGetBufferPointerv(target, pname, pb); 18 | 19 | return pb.getByteBuffer(0, size); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureBufferObject { 4 | 5 | public static final int GL_MAX_TEXTURE_BUFFER_SIZE_ARB = (int) 35883; 6 | public static final int GL_TEXTURE_BINDING_BUFFER_ARB = (int) 35884; 7 | public static final int GL_TEXTURE_BUFFER_ARB = (int) 35882; 8 | public static final int GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB = (int) 35885; 9 | public static final int GL_TEXTURE_BUFFER_FORMAT_ARB = (int) 35886; 10 | 11 | public static void glTexBufferARB(int target, int internalformat, int buffer) { 12 | org.lwjgl.opengl.ARBTextureBufferObject.glTexBufferARB(target, internalformat, buffer); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTimerQuery.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTimerQuery { 4 | 5 | public static final int GL_TIMESTAMP = (int) 36392; 6 | public static final int GL_TIME_ELAPSED = (int) 35007; 7 | 8 | public static long glGetQueryObjecti64(int id, int pname) { 9 | return org.lwjgl.opengl.ARBTimerQuery.glGetQueryObjecti64(id, pname); 10 | } 11 | 12 | public static long glGetQueryObjectui64(int id, int pname) { 13 | return org.lwjgl.opengl.ARBTimerQuery.glGetQueryObjectui64(id, pname); 14 | } 15 | 16 | public static void glQueryCounter(int id, int target) { 17 | org.lwjgl.opengl.ARBTimerQuery.glQueryCounter(id, target); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureBufferObject { 4 | 5 | public static final int GL_MAX_TEXTURE_BUFFER_SIZE_EXT = (int) 35883; 6 | public static final int GL_TEXTURE_BINDING_BUFFER_EXT = (int) 35884; 7 | public static final int GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = (int) 35885; 8 | public static final int GL_TEXTURE_BUFFER_EXT = (int) 35882; 9 | public static final int GL_TEXTURE_BUFFER_FORMAT_EXT = (int) 35886; 10 | 11 | public static void glTexBufferEXT(int target, int internalformat, int buffer) { 12 | org.lwjgl.opengl.EXTTextureBufferObject.glTexBufferEXT(target, internalformat, buffer); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/INTELMapTexture.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class INTELMapTexture { 4 | 5 | public static final int GL_LAYOUT_DEFAULT_INTEL = (int) 0; 6 | public static final int GL_LAYOUT_LINEAR_CPU_CACHED_INTEL = (int) 2; 7 | public static final int GL_LAYOUT_LINEAR_INTEL = (int) 1; 8 | public static final int GL_TEXTURE_MEMORY_LAYOUT_INTEL = (int) 33791; 9 | 10 | public static void glSyncTextureINTEL(int texture) { 11 | org.lwjgl.opengl.INTELMapTexture.glSyncTextureINTEL(texture); 12 | } 13 | 14 | public static void glUnmapTexture2DINTEL(int texture, int level) { 15 | org.lwjgl.opengl.INTELMapTexture.glUnmapTexture2DINTEL(texture, level); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVConditionalRender.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVConditionalRender { 4 | 5 | public static final int GL_QUERY_BY_REGION_NO_WAIT_NV = (int) 36374; 6 | public static final int GL_QUERY_BY_REGION_WAIT_NV = (int) 36373; 7 | public static final int GL_QUERY_NO_WAIT_NV = (int) 36372; 8 | public static final int GL_QUERY_WAIT_NV = (int) 36371; 9 | 10 | public static void glBeginConditionalRenderNV(int id, int mode) { 11 | org.lwjgl.opengl.NVConditionalRender.glBeginConditionalRenderNV(id, mode); 12 | } 13 | 14 | public static void glEndConditionalRenderNV() { 15 | org.lwjgl.opengl.NVConditionalRender.glEndConditionalRenderNV(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/input/Cursor.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.input; 2 | 3 | public class Cursor { 4 | 5 | public static final int CURSOR_8_BIT_ALPHA = (int) 2; 6 | public static final int CURSOR_ANIMATION = (int) 4; 7 | public static final int CURSOR_ONE_BIT_TRANSPARENCY = (int) 1; 8 | 9 | public void destroy() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static int getCapabilities() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static int getMaxCursorSize() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static int getMinCursorSize() { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATISeparateStencil.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATISeparateStencil { 4 | 5 | public static final int GL_STENCIL_BACK_FAIL_ATI = (int) 34817; 6 | public static final int GL_STENCIL_BACK_FUNC_ATI = (int) 34816; 7 | public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = (int) 34818; 8 | public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = (int) 34819; 9 | 10 | public static void glStencilFuncSeparateATI(int arg0, int arg1, int arg2, int arg3) { 11 | throw new UnsupportedOperationException(); 12 | } 13 | 14 | public static void glStencilOpSeparateATI(int arg0, int arg1, int arg2, int arg3) { 15 | throw new UnsupportedOperationException(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /.github/actions/build_setup/action.yml: -------------------------------------------------------------------------------- 1 | name: Build Setup 2 | description: Setup for standard Java builds 3 | 4 | inputs: 5 | update-cache: 6 | description: If cache should be updated 7 | required: false 8 | default: false 9 | 10 | runs: 11 | using: 'composite' 12 | 13 | steps: 14 | - name: Set up JDK 17 15 | uses: actions/setup-java@v4 16 | with: 17 | distribution: zulu 18 | java-version: 17 19 | 20 | - name: Setup Gradle 21 | uses: gradle/gradle-build-action@v2 22 | with: 23 | cache-write-only: ${{ inputs.update-cache }} 24 | generate-job-summary: false 25 | gradle-home-cache-includes: | 26 | caches 27 | caches/retro_futura_gradle 28 | notifications 29 | jdks 30 | wrapper 31 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTFramebufferBlit.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTFramebufferBlit { 4 | 5 | public static final int GL_DRAW_FRAMEBUFFER_BINDING_EXT = (int) 36006; 6 | public static final int GL_DRAW_FRAMEBUFFER_EXT = (int) 36009; 7 | public static final int GL_READ_FRAMEBUFFER_BINDING_EXT = (int) 36010; 8 | public static final int GL_READ_FRAMEBUFFER_EXT = (int) 36008; 9 | 10 | public static void glBlitFramebufferEXT(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, 11 | int dstY1, int mask, int filter) { 12 | org.lwjgl.opengl.EXTFramebufferBlit 13 | .glBlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/GLContext.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class GLContext { 4 | 5 | public static org.lwjgl.opengl.ContextCapabilities getCapabilities() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static void loadOpenGLLibrary() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static void unloadOpenGLLibrary() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static void useContext(java.lang.Object arg0) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static void useContext(java.lang.Object arg0, boolean arg1) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBCompressedTexturePixelStorage.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBCompressedTexturePixelStorage { 4 | 5 | public static final int GL_PACK_COMPRESSED_BLOCK_DEPTH = (int) 37165; 6 | public static final int GL_PACK_COMPRESSED_BLOCK_HEIGHT = (int) 37164; 7 | public static final int GL_PACK_COMPRESSED_BLOCK_SIZE = (int) 37166; 8 | public static final int GL_PACK_COMPRESSED_BLOCK_WIDTH = (int) 37163; 9 | public static final int GL_UNPACK_COMPRESSED_BLOCK_DEPTH = (int) 37161; 10 | public static final int GL_UNPACK_COMPRESSED_BLOCK_HEIGHT = (int) 37160; 11 | public static final int GL_UNPACK_COMPRESSED_BLOCK_SIZE = (int) 37162; 12 | public static final int GL_UNPACK_COMPRESSED_BLOCK_WIDTH = (int) 37159; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTPointParameters.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTPointParameters { 4 | 5 | public static final int GL_DISTANCE_ATTENUATION_EXT = (int) 33065; 6 | public static final int GL_POINT_FADE_THRESHOLD_SIZE_EXT = (int) 33064; 7 | public static final int GL_POINT_SIZE_MAX_EXT = (int) 33063; 8 | public static final int GL_POINT_SIZE_MIN_EXT = (int) 33062; 9 | 10 | public static void glPointParameterEXT(int pname, java.nio.FloatBuffer pfParams) { 11 | org.lwjgl.opengl.EXTPointParameters.glPointParameterfvEXT(pname, pfParams); 12 | } 13 | 14 | public static void glPointParameterfEXT(int pname, float param) { 15 | org.lwjgl.opengl.EXTPointParameters.glPointParameterfEXT(pname, param); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBPointParameters.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBPointParameters { 4 | 5 | public static final int GL_POINT_DISTANCE_ATTENUATION_ARB = (int) 33065; 6 | public static final int GL_POINT_FADE_THRESHOLD_SIZE_ARB = (int) 33064; 7 | public static final int GL_POINT_SIZE_MAX_ARB = (int) 33063; 8 | public static final int GL_POINT_SIZE_MIN_ARB = (int) 33062; 9 | 10 | public static void glPointParameterARB(int pname, java.nio.FloatBuffer pfParams) { 11 | org.lwjgl.opengl.ARBPointParameters.glPointParameterfvARB(pname, pfParams); 12 | } 13 | 14 | public static void glPointParameterfARB(int pname, float param) { 15 | org.lwjgl.opengl.ARBPointParameters.glPointParameterfARB(pname, param); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVCopyImage.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVCopyImage { 4 | 5 | public static void glCopyImageSubDataNV(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, 6 | int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth) { 7 | org.lwjgl.opengl.NVCopyImage.glCopyImageSubDataNV( 8 | srcName, 9 | srcTarget, 10 | srcLevel, 11 | srcX, 12 | srcY, 13 | srcZ, 14 | dstName, 15 | dstTarget, 16 | dstLevel, 17 | dstX, 18 | dstY, 19 | dstZ, 20 | width, 21 | height, 22 | depth); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/PointerWrapperAbstract.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl; 2 | 3 | public abstract class PointerWrapperAbstract { 4 | 5 | public final void checkValid() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public boolean equals(java.lang.Object arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public final long getPointer() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public int hashCode() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public boolean isValid() { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public java.lang.String toString() { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTransposeMatrix.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTransposeMatrix { 4 | 5 | public static final int GL_TRANSPOSE_COLOR_MATRIX_ARB = (int) 34022; 6 | public static final int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = (int) 34019; 7 | public static final int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = (int) 34020; 8 | public static final int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = (int) 34021; 9 | 10 | public static void glLoadTransposeMatrixARB(java.nio.FloatBuffer pfMtx) { 11 | org.lwjgl.opengl.ARBTransposeMatrix.glLoadTransposeMatrixfARB(pfMtx); 12 | } 13 | 14 | public static void glMultTransposeMatrixARB(java.nio.FloatBuffer pfMtx) { 15 | org.lwjgl.opengl.ARBTransposeMatrix.glMultTransposeMatrixfARB(pfMtx); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBCopyImage.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBCopyImage { 4 | 5 | public static void glCopyImageSubData(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, 6 | int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, 7 | int srcDepth) { 8 | org.lwjgl.opengl.ARBCopyImage.glCopyImageSubData( 9 | srcName, 10 | srcTarget, 11 | srcLevel, 12 | srcX, 13 | srcY, 14 | srcZ, 15 | dstName, 16 | dstTarget, 17 | dstLevel, 18 | dstX, 19 | dstY, 20 | dstZ, 21 | srcWidth, 22 | srcHeight, 23 | srcDepth); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/XPMFile.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public class XPMFile { 4 | 5 | public byte[] getBytes() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public int getHeight() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public int getWidth() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static org.lwjgl.util.XPMFile load(java.io.InputStream arg0) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static org.lwjgl.util.XPMFile load(java.lang.String arg0) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public static void main(java.lang.String[] arg0) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureView.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureView { 4 | 5 | public static final int GL_TEXTURE_IMMUTABLE_LEVELS = (int) 33503; 6 | public static final int GL_TEXTURE_VIEW_MIN_LAYER = (int) 33501; 7 | public static final int GL_TEXTURE_VIEW_MIN_LEVEL = (int) 33499; 8 | public static final int GL_TEXTURE_VIEW_NUM_LAYERS = (int) 33502; 9 | public static final int GL_TEXTURE_VIEW_NUM_LEVELS = (int) 33500; 10 | 11 | public static void glTextureView(int texture, int target, int origtexture, int internalformat, int minlevel, 12 | int numlevels, int minlayer, int numlayers) { 13 | org.lwjgl.opengl.ARBTextureView 14 | .glTextureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBColorBufferFloat.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBColorBufferFloat { 4 | 5 | public static final int GLX_RGBA_FLOAT_BIT = (int) 4; 6 | public static final int GLX_RGBA_FLOAT_TYPE = (int) 8377; 7 | public static final int GL_CLAMP_FRAGMENT_COLOR_ARB = (int) 35099; 8 | public static final int GL_CLAMP_READ_COLOR_ARB = (int) 35100; 9 | public static final int GL_CLAMP_VERTEX_COLOR_ARB = (int) 35098; 10 | public static final int GL_FIXED_ONLY_ARB = (int) 35101; 11 | public static final int GL_RGBA_FLOAT_MODE_ARB = (int) 34848; 12 | public static final int WGL_TYPE_RGBA_FLOAT_ARB = (int) 8608; 13 | 14 | public static void glClampColorARB(int target, int clamp) { 15 | org.lwjgl.opengl.ARBColorBufferFloat.glClampColorARB(target, clamp); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/client/GuiFactory.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.client; 2 | 3 | import java.util.Set; 4 | 5 | import net.minecraft.client.Minecraft; 6 | import net.minecraft.client.gui.GuiScreen; 7 | import net.minecraftforge.fml.client.IModGuiFactory; 8 | 9 | @SuppressWarnings("unused") 10 | public class GuiFactory implements IModGuiFactory { 11 | 12 | @Override 13 | public void initialize(Minecraft minecraftInstance) {} 14 | 15 | @Override 16 | public boolean hasConfigGui() { 17 | return true; 18 | } 19 | 20 | @Override 21 | public GuiScreen createConfigGui(GuiScreen parentScreen) { 22 | return new GuiConfigLwjgl3ify(parentScreen); 23 | } 24 | 25 | @Override 26 | public Set runtimeGuiCategories() { 27 | return null; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVDepthBufferFloat.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVDepthBufferFloat { 4 | 5 | public static final int GL_DEPTH32F_STENCIL8_NV = (int) 36268; 6 | public static final int GL_DEPTH_BUFFER_FLOAT_MODE_NV = (int) 36271; 7 | public static final int GL_DEPTH_COMPONENT32F_NV = (int) 36267; 8 | public static final int GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV = (int) 36269; 9 | 10 | public static void glClearDepthdNV(double d) { 11 | org.lwjgl.opengl.NVDepthBufferFloat.glClearDepthdNV(d); 12 | } 13 | 14 | public static void glDepthBoundsdNV(double zmin, double zmax) { 15 | org.lwjgl.opengl.NVDepthBufferFloat.glDepthBoundsdNV(zmin, zmax); 16 | } 17 | 18 | public static void glDepthRangedNV(double n, double f) { 19 | org.lwjgl.opengl.NVDepthBufferFloat.glDepthRangedNV(n, f); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVVideoCaptureUtil.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVVideoCaptureUtil { 4 | 5 | public static boolean glBindVideoCaptureDeviceNV(int arg0, long arg1) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static int glEnumerateVideoCaptureDevicesNV(java.nio.LongBuffer arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static boolean glLockVideoCaptureDeviceNV(long arg0) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static boolean glQueryVideoCaptureDeviceNV(long arg0, int arg1, java.nio.IntBuffer arg2) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static boolean glReleaseVideoCaptureDeviceNV(long arg0) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLETextureRange.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLETextureRange { 4 | 5 | public static final int GL_STORAGE_CACHED_APPLE = (int) 34238; 6 | public static final int GL_STORAGE_PRIVATE_APPLE = (int) 34237; 7 | public static final int GL_STORAGE_SHARED_APPLE = (int) 34239; 8 | public static final int GL_TEXTURE_RANGE_LENGTH_APPLE = (int) 34231; 9 | public static final int GL_TEXTURE_RANGE_POINTER_APPLE = (int) 34232; 10 | public static final int GL_TEXTURE_STORAGE_HINT_APPLE = (int) 34236; 11 | 12 | public static java.nio.Buffer glGetTexParameterPointervAPPLE(int arg0, int arg1, long arg2) { 13 | throw new UnsupportedOperationException(); 14 | } 15 | 16 | public static void glTextureRangeAPPLE(int arg0, java.nio.ByteBuffer arg1) { 17 | throw new UnsupportedOperationException(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureBufferRange.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureBufferRange { 4 | 5 | public static final int GL_TEXTURE_BUFFER_OFFSET = (int) 37277; 6 | public static final int GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT = (int) 37279; 7 | public static final int GL_TEXTURE_BUFFER_SIZE = (int) 37278; 8 | 9 | public static void glTexBufferRange(int target, int internalformat, int buffer, long offset, long size) { 10 | org.lwjgl.opengl.ARBTextureBufferRange.glTexBufferRange(target, internalformat, buffer, offset, size); 11 | } 12 | 13 | public static void glTextureBufferRangeEXT(int texture, int target, int internalformat, int buffer, long offset, 14 | long size) { 15 | org.lwjgl.opengl.ARBTextureBufferRange 16 | .glTextureBufferRangeEXT(texture, target, internalformat, buffer, offset, size); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBDrawBuffersBlend.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBDrawBuffersBlend { 4 | 5 | public static void glBlendEquationSeparateiARB(int buf, int modeRGB, int modeAlpha) { 6 | org.lwjgl.opengl.ARBDrawBuffersBlend.glBlendEquationSeparateiARB(buf, modeRGB, modeAlpha); 7 | } 8 | 9 | public static void glBlendEquationiARB(int buf, int mode) { 10 | org.lwjgl.opengl.ARBDrawBuffersBlend.glBlendEquationiARB(buf, mode); 11 | } 12 | 13 | public static void glBlendFuncSeparateiARB(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) { 14 | org.lwjgl.opengl.ARBDrawBuffersBlend.glBlendFuncSeparateiARB(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); 15 | } 16 | 17 | public static void glBlendFunciARB(int buf, int src, int dst) { 18 | org.lwjgl.opengl.ARBDrawBuffersBlend.glBlendFunciARB(buf, src, dst); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/mixins/early/game/MixinBorderlessWindow.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.mixins.early.game; 2 | 3 | import net.minecraft.client.Minecraft; 4 | 5 | import org.lwjglx.opengl.Display; 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.injection.At; 8 | import org.spongepowered.asm.mixin.injection.Inject; 9 | import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; 10 | 11 | import me.eigenraven.lwjgl3ify.core.Config; 12 | 13 | @Mixin(Minecraft.class) 14 | public class MixinBorderlessWindow { 15 | 16 | @Inject(method = "Lnet/minecraft/client/Minecraft;toggleFullscreen()V", at = @At("HEAD"), cancellable = true) 17 | public void toggleFullscreen(CallbackInfo ci) { 18 | if (Config.WINDOW_BORDERLESS_REPLACES_FULLSCREEN) { 19 | ci.cancel(); 20 | 21 | Display.toggleBorderless(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/MappedSet.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public class MappedSet { 4 | 5 | public static org.lwjgl.util.mapped.MappedSet2 create(org.lwjgl.util.mapped.MappedObject arg0, 6 | org.lwjgl.util.mapped.MappedObject arg1) { 7 | throw new UnsupportedOperationException(); 8 | } 9 | 10 | public static org.lwjgl.util.mapped.MappedSet3 create(org.lwjgl.util.mapped.MappedObject arg0, 11 | org.lwjgl.util.mapped.MappedObject arg1, org.lwjgl.util.mapped.MappedObject arg2) { 12 | throw new UnsupportedOperationException(); 13 | } 14 | 15 | public static org.lwjgl.util.mapped.MappedSet4 create(org.lwjgl.util.mapped.MappedObject arg0, 16 | org.lwjgl.util.mapped.MappedObject arg1, org.lwjgl.util.mapped.MappedObject arg2, 17 | org.lwjgl.util.mapped.MappedObject arg3) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBMultisample.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBMultisample { 4 | 5 | public static final int GL_MULTISAMPLE_ARB = (int) 32925; 6 | public static final int GL_MULTISAMPLE_BIT_ARB = (int) 536870912; 7 | public static final int GL_SAMPLES_ARB = (int) 32937; 8 | public static final int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = (int) 32926; 9 | public static final int GL_SAMPLE_ALPHA_TO_ONE_ARB = (int) 32927; 10 | public static final int GL_SAMPLE_BUFFERS_ARB = (int) 32936; 11 | public static final int GL_SAMPLE_COVERAGE_ARB = (int) 32928; 12 | public static final int GL_SAMPLE_COVERAGE_INVERT_ARB = (int) 32939; 13 | public static final int GL_SAMPLE_COVERAGE_VALUE_ARB = (int) 32938; 14 | 15 | public static void glSampleCoverageARB(float value, boolean invert) { 16 | org.lwjgl.opengl.ARBMultisample.glSampleCoverageARB(value, invert); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | maven { 4 | // RetroFuturaGradle 5 | name 'GTNH Maven' 6 | url 'https://nexus.gtnewhorizons.com/repository/public/' 7 | //noinspection GroovyAssignabilityCheck 8 | mavenContent { 9 | includeGroup 'com.gtnewhorizons' 10 | includeGroup 'com.gtnewhorizons.retrofuturagradle' 11 | } 12 | } 13 | gradlePluginPortal() 14 | mavenCentral() 15 | mavenLocal() 16 | } 17 | } 18 | 19 | plugins { 20 | id 'com.diffplug.blowdryerSetup' version '1.7.0' 21 | // Automatic toolchain provisioning 22 | id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0' 23 | } 24 | 25 | blowdryerSetup { 26 | repoSubfolder 'spotless' 27 | github 'GregTechCEu/Buildscripts', 'tag', 'v1.0.7' 28 | } 29 | 30 | rootProject.name = rootProject.projectDir.getName() 31 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/Timer.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public class Timer { 4 | 5 | public float getTime() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public boolean isPaused() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public void pause() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public void reset() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public void resume() { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public void set(float arg0) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | public static void tick() { 30 | throw new UnsupportedOperationException(); 31 | } 32 | 33 | public java.lang.String toString() { 34 | throw new UnsupportedOperationException(); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVFramebufferMultisampleCoverage.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVFramebufferMultisampleCoverage { 4 | 5 | public static final int GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV = (int) 36369; 6 | public static final int GL_MULTISAMPLE_COVERAGE_MODES_NV = (int) 36370; 7 | public static final int GL_RENDERBUFFER_COLOR_SAMPLES_NV = (int) 36368; 8 | public static final int GL_RENDERBUFFER_COVERAGE_SAMPLES_NV = (int) 36011; 9 | 10 | public static void glRenderbufferStorageMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, 11 | int internalformat, int width, int height) { 12 | org.lwjgl.opengl.NVFramebufferMultisampleCoverage.glRenderbufferStorageMultisampleCoverageNV( 13 | target, 14 | coverageSamples, 15 | colorSamples, 16 | internalformat, 17 | width, 18 | height); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/XRandR.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class XRandR { 4 | 5 | public static org.lwjgl.opengl.XRandR$Screen[] getConfiguration() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static org.lwjgl.opengl.XRandR$Screen[] getResolutions(java.lang.String arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static java.lang.String[] getScreenNames() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static void restoreConfiguration() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static void saveConfiguration() { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public static void setConfiguration(boolean arg0, org.lwjgl.opengl.XRandR$Screen[] arg1) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATITextureFloat.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATITextureFloat { 4 | 5 | public static final int GL_ALPHA_FLOAT16_ATI = (int) 34844; 6 | public static final int GL_ALPHA_FLOAT32_ATI = (int) 34838; 7 | public static final int GL_INTENSITY_FLOAT16_ATI = (int) 34845; 8 | public static final int GL_INTENSITY_FLOAT32_ATI = (int) 34839; 9 | public static final int GL_LUMINANCE_ALPHA_FLOAT16_ATI = (int) 34847; 10 | public static final int GL_LUMINANCE_ALPHA_FLOAT32_ATI = (int) 34841; 11 | public static final int GL_LUMINANCE_FLOAT16_ATI = (int) 34846; 12 | public static final int GL_LUMINANCE_FLOAT32_ATI = (int) 34840; 13 | public static final int GL_RGBA_FLOAT16_ATI = (int) 34842; 14 | public static final int GL_RGBA_FLOAT32_ATI = (int) 34836; 15 | public static final int GL_RGB_FLOAT16_ATI = (int) 34843; 16 | public static final int GL_RGB_FLOAT32_ATI = (int) 34837; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDDrawBuffersBlend.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDDrawBuffersBlend { 4 | 5 | public static void glBlendEquationIndexedAMD(int buf, int mode) { 6 | org.lwjgl.opengl.AMDDrawBuffersBlend.glBlendEquationIndexedAMD(buf, mode); 7 | } 8 | 9 | public static void glBlendEquationSeparateIndexedAMD(int buf, int modeRGB, int modeAlpha) { 10 | org.lwjgl.opengl.AMDDrawBuffersBlend.glBlendEquationSeparateIndexedAMD(buf, modeRGB, modeAlpha); 11 | } 12 | 13 | public static void glBlendFuncIndexedAMD(int buf, int src, int dst) { 14 | org.lwjgl.opengl.AMDDrawBuffersBlend.glBlendFuncIndexedAMD(buf, src, dst); 15 | } 16 | 17 | public static void glBlendFuncSeparateIndexedAMD(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) { 18 | org.lwjgl.opengl.AMDDrawBuffersBlend.glBlendFuncSeparateIndexedAMD(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBComputeVariableGroupSize.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBComputeVariableGroupSize { 4 | 5 | public static final int GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB = (int) 37099; 6 | public static final int GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB = (int) 37311; 7 | public static final int GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB = (int) 37700; 8 | public static final int GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB = (int) 37701; 9 | 10 | public static void glDispatchComputeGroupSizeARB(int num_groups_x, int num_groups_y, int num_groups_z, 11 | int group_size_x, int group_size_y, int group_size_z) { 12 | org.lwjgl.opengl.ARBComputeVariableGroupSize.glDispatchComputeGroupSizeARB( 13 | num_groups_x, 14 | num_groups_y, 15 | num_groups_z, 16 | group_size_x, 17 | group_size_y, 18 | group_size_z); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /.github/workflows/test_java.yml: -------------------------------------------------------------------------------- 1 | # Runs tests 2 | name: Java Tests 3 | 4 | on: 5 | push: 6 | branches: 7 | - master 8 | paths: ['src/main/java/**', 'src/test/**', 'src/api/java/**', 'gradle/**', '**.gradle', 'gradle.properties', 9 | 'gradlew**', 'src/main/resources/*_at.cfg'] 10 | pull_request: 11 | paths: ['src/main/java/**', 'src/test/**', 'src/api/java/**', 'gradle/**', '**.gradle', 'gradle.properties', 12 | 'gradlew**', 'src/main/resources/*_at.cfg'] 13 | 14 | concurrency: 15 | group: tests-${{ github.head_ref || github.ref }} 16 | cancel-in-progress: true 17 | 18 | jobs: 19 | test: 20 | name: Tests 21 | runs-on: ubuntu-latest 22 | 23 | steps: 24 | - name: Checkout Repository 25 | uses: actions/checkout@v4 26 | 27 | - name: Setup Build 28 | uses: ./.github/actions/build_setup 29 | 30 | - name: Run Tests with Gradle 31 | run: ./gradlew test --warning-mode all --build-cache 32 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTSeparateShaderObjects.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTSeparateShaderObjects { 4 | 5 | public static final int GL_ACTIVE_PROGRAM_EXT = (int) 35725; 6 | 7 | public static void glActiveProgramEXT(int program) { 8 | org.lwjgl.opengl.EXTSeparateShaderObjects.glActiveProgramEXT(program); 9 | } 10 | 11 | public static int glCreateShaderProgramEXT(int type, java.lang.CharSequence string) { 12 | return org.lwjgl.opengl.EXTSeparateShaderObjects.glCreateShaderProgramEXT(type, string); 13 | } 14 | 15 | public static int glCreateShaderProgramEXT(int type, java.nio.ByteBuffer string) { 16 | return org.lwjgl.opengl.EXTSeparateShaderObjects.glCreateShaderProgramEXT(type, string); 17 | } 18 | 19 | public static void glUseShaderProgramEXT(int type, int program) { 20 | org.lwjgl.opengl.EXTSeparateShaderObjects.glUseShaderProgramEXT(type, program); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDVertexShaderTessellator.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDVertexShaderTessellator { 4 | 5 | public static final int GL_CONTINUOUS_AMD = (int) 36871; 6 | public static final int GL_DISCRETE_AMD = (int) 36870; 7 | public static final int GL_INT_SAMPLER_BUFFER_AMD = (int) 36866; 8 | public static final int GL_SAMPLER_BUFFER_AMD = (int) 36865; 9 | public static final int GL_TESSELLATION_FACTOR_AMD = (int) 36869; 10 | public static final int GL_TESSELLATION_MODE_AMD = (int) 36868; 11 | public static final int GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD = (int) 36867; 12 | 13 | public static void glTessellationFactorAMD(float factor) { 14 | org.lwjgl.opengl.AMDVertexShaderTessellator.glTessellationFactorAMD(factor); 15 | } 16 | 17 | public static void glTessellationModeAMD(int mode) { 18 | org.lwjgl.opengl.AMDVertexShaderTessellator.glTessellationModeAMD(mode); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/DisplayMode.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class DisplayMode { 4 | 5 | public boolean equals(java.lang.Object arg0) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public int getBitsPerPixel() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public int getFrequency() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public int getHeight() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public int getWidth() { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public int hashCode() { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | public boolean isFullscreenCapable() { 30 | throw new UnsupportedOperationException(); 31 | } 32 | 33 | public java.lang.String toString() { 34 | throw new UnsupportedOperationException(); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTDrawRangeElements.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTDrawRangeElements { 4 | 5 | public static final int GL_MAX_ELEMENTS_INDICES_EXT = (int) 33001; 6 | public static final int GL_MAX_ELEMENTS_VERTICES_EXT = (int) 33000; 7 | 8 | public static void glDrawRangeElementsEXT(int arg0, int arg1, int arg2, int arg3, int arg4, long arg5) { 9 | throw new UnsupportedOperationException(); 10 | } 11 | 12 | public static void glDrawRangeElementsEXT(int arg0, int arg1, int arg2, java.nio.ByteBuffer arg3) { 13 | throw new UnsupportedOperationException(); 14 | } 15 | 16 | public static void glDrawRangeElementsEXT(int arg0, int arg1, int arg2, java.nio.IntBuffer arg3) { 17 | throw new UnsupportedOperationException(); 18 | } 19 | 20 | public static void glDrawRangeElementsEXT(int arg0, int arg1, int arg2, java.nio.ShortBuffer arg3) { 21 | throw new UnsupportedOperationException(); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEPackedPixels.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEPackedPixels { 4 | 5 | public static final int GL_UNSIGNED_BYTE_2_3_3_REV = (int) 33634; 6 | public static final int GL_UNSIGNED_BYTE_3_3_2 = (int) 32818; 7 | public static final int GL_UNSIGNED_INT_10_10_10_2 = (int) 32822; 8 | public static final int GL_UNSIGNED_INT_2_10_10_10_REV = (int) 33640; 9 | public static final int GL_UNSIGNED_INT_8_8_8_8 = (int) 32821; 10 | public static final int GL_UNSIGNED_INT_8_8_8_8_REV = (int) 33639; 11 | public static final int GL_UNSIGNED_SHORT_1_5_5_5_REV = (int) 33638; 12 | public static final int GL_UNSIGNED_SHORT_4_4_4_4 = (int) 32819; 13 | public static final int GL_UNSIGNED_SHORT_4_4_4_4_REV = (int) 33637; 14 | public static final int GL_UNSIGNED_SHORT_5_5_5_1 = (int) 32820; 15 | public static final int GL_UNSIGNED_SHORT_5_6_5 = (int) 33635; 16 | public static final int GL_UNSIGNED_SHORT_5_6_5_REV = (int) 33636; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/IExtensibleEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Forge Development LLC and contributors SPDX-License-Identifier: LGPL-2.1-only 3 | */ 4 | package me.eigenraven.lwjgl3ify; 5 | 6 | /** 7 | * To be implemented on vanilla enums that should be enhanced with ASM to be extensible. If this is implemented on a 8 | * class, the class must define a static method called "create" which takes a String (enum name), and the rest of the 9 | * parameters matching a constructor. 10 | *

11 | * For example, an enum with the constructor {@code MyEnum(Object foo)} would require the method: 12 | * 13 | *

14 |  *
15 |  * public static MyEnum create(String name, Object foo) {
16 |  *     throw new IllegalStateException("Enum not extended");
17 |  * }
18 |  * 
19 | * 20 | * The method contents will be replaced with ASM at runtime. Multiple {@code create} methods can be 21 | * defined as long as each matches a constructor. 22 | */ 23 | public interface IExtensibleEnum { 24 | } 25 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/Quadric.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class Quadric { 4 | 5 | public int getDrawStyle() { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public int getNormals() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public int getOrientation() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public boolean getTextureFlag() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public void setDrawStyle(int arg0) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public void setNormals(int arg0) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | public void setOrientation(int arg0) { 30 | throw new UnsupportedOperationException(); 31 | } 32 | 33 | public void setTextureFlag(boolean arg0) { 34 | throw new UnsupportedOperationException(); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBMapBufferRange.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBMapBufferRange { 4 | 5 | public static final int GL_MAP_FLUSH_EXPLICIT_BIT = (int) 16; 6 | public static final int GL_MAP_INVALIDATE_BUFFER_BIT = (int) 8; 7 | public static final int GL_MAP_INVALIDATE_RANGE_BIT = (int) 4; 8 | public static final int GL_MAP_READ_BIT = (int) 1; 9 | public static final int GL_MAP_UNSYNCHRONIZED_BIT = (int) 32; 10 | public static final int GL_MAP_WRITE_BIT = (int) 2; 11 | 12 | public static void glFlushMappedBufferRange(int target, long offset, long length) { 13 | org.lwjgl.opengl.ARBMapBufferRange.glFlushMappedBufferRange(target, offset, length); 14 | } 15 | 16 | public static java.nio.ByteBuffer glMapBufferRange(int target, long offset, long length, int access, 17 | java.nio.ByteBuffer old_buffer) { 18 | return org.lwjgl.opengl.ARBMapBufferRange.glMapBufferRange(target, offset, length, access, old_buffer); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVGeometryProgram4.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVGeometryProgram4 { 4 | 5 | public static final int GL_GEOMETRY_PROGRAM_NV = (int) 35878; 6 | public static final int GL_MAX_PROGRAM_OUTPUT_VERTICES_NV = (int) 35879; 7 | public static final int GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = (int) 35880; 8 | 9 | public static void glFramebufferTextureEXT(int arg0, int arg1, int arg2, int arg3) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static void glFramebufferTextureFaceEXT(int arg0, int arg1, int arg2, int arg3, int arg4) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static void glFramebufferTextureLayerEXT(int arg0, int arg1, int arg2, int arg3, int arg4) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static void glProgramVertexLimitNV(int arg0, int arg1) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBPipelineStatisticsQuery.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBPipelineStatisticsQuery { 4 | 5 | public static final int GL_CLIPPING_INPUT_PRIMITIVES_ARB = (int) 33526; 6 | public static final int GL_CLIPPING_OUTPUT_PRIMITIVES_ARB = (int) 33527; 7 | public static final int GL_COMPUTE_SHADER_INVOCATIONS_ARB = (int) 33525; 8 | public static final int GL_FRAGMENT_SHADER_INVOCATIONS_ARB = (int) 33524; 9 | public static final int GL_GEOMETRY_SHADER_INVOCATIONS = (int) 34943; 10 | public static final int GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB = (int) 33523; 11 | public static final int GL_PRIMITIVES_SUBMITTED_ARB = (int) 33519; 12 | public static final int GL_TESS_CONTROL_SHADER_PATCHES_ARB = (int) 33521; 13 | public static final int GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB = (int) 33522; 14 | public static final int GL_VERTEX_SHADER_INVOCATIONS_ARB = (int) 33520; 15 | public static final int GL_VERTICES_SUBMITTED_ARB = (int) 33518; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEVertexArrayObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEVertexArrayObject { 4 | 5 | public static final int GL_VERTEX_ARRAY_BINDING_APPLE = (int) 34229; 6 | 7 | public static void glBindVertexArrayAPPLE(int arg0) { 8 | throw new UnsupportedOperationException(); 9 | } 10 | 11 | public static void glDeleteVertexArraysAPPLE(int arg0) { 12 | throw new UnsupportedOperationException(); 13 | } 14 | 15 | public static void glDeleteVertexArraysAPPLE(java.nio.IntBuffer arg0) { 16 | throw new UnsupportedOperationException(); 17 | } 18 | 19 | public static int glGenVertexArraysAPPLE() { 20 | throw new UnsupportedOperationException(); 21 | } 22 | 23 | public static void glGenVertexArraysAPPLE(java.nio.IntBuffer arg0) { 24 | throw new UnsupportedOperationException(); 25 | } 26 | 27 | public static boolean glIsVertexArrayAPPLE(int arg0) { 28 | throw new UnsupportedOperationException(); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTransformFeedback3.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTransformFeedback3 { 4 | 5 | public static final int GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = (int) 36464; 6 | public static final int GL_MAX_VERTEX_STREAMS = (int) 36465; 7 | 8 | public static void glBeginQueryIndexed(int target, int index, int id) { 9 | org.lwjgl.opengl.ARBTransformFeedback3.glBeginQueryIndexed(target, index, id); 10 | } 11 | 12 | public static void glDrawTransformFeedbackStream(int mode, int id, int stream) { 13 | org.lwjgl.opengl.ARBTransformFeedback3.glDrawTransformFeedbackStream(mode, id, stream); 14 | } 15 | 16 | public static void glEndQueryIndexed(int target, int index) { 17 | org.lwjgl.opengl.ARBTransformFeedback3.glEndQueryIndexed(target, index); 18 | } 19 | 20 | public static int glGetQueryIndexedi(int target, int index, int pname) { 21 | return org.lwjgl.opengl.ARBTransformFeedback3.glGetQueryIndexedi(target, index, pname); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/GLUtessellator.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public interface GLUtessellator { 4 | 5 | public abstract void gluBeginPolygon(); 6 | 7 | public abstract void gluDeleteTess(); 8 | 9 | public abstract void gluEndPolygon(); 10 | 11 | public abstract void gluGetTessProperty(int arg0, double[] arg1, int arg2); 12 | 13 | public abstract void gluNextContour(int arg0); 14 | 15 | public abstract void gluTessBeginContour(); 16 | 17 | public abstract void gluTessBeginPolygon(java.lang.Object arg0); 18 | 19 | public abstract void gluTessCallback(int arg0, org.lwjgl.util.glu.GLUtessellatorCallback arg1); 20 | 21 | public abstract void gluTessEndContour(); 22 | 23 | public abstract void gluTessEndPolygon(); 24 | 25 | public abstract void gluTessNormal(double arg0, double arg1, double arg2); 26 | 27 | public abstract void gluTessProperty(int arg0, double arg1); 28 | 29 | public abstract void gluTessVertex(double[] arg0, int arg1, java.lang.Object arg2); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBTextureCubeMap.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBTextureCubeMap { 4 | 5 | public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = (int) 34076; 6 | public static final int GL_NORMAL_MAP_ARB = (int) 34065; 7 | public static final int GL_PROXY_TEXTURE_CUBE_MAP_ARB = (int) 34075; 8 | public static final int GL_REFLECTION_MAP_ARB = (int) 34066; 9 | public static final int GL_TEXTURE_BINDING_CUBE_MAP_ARB = (int) 34068; 10 | public static final int GL_TEXTURE_CUBE_MAP_ARB = (int) 34067; 11 | public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = (int) 34070; 12 | public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = (int) 34072; 13 | public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = (int) 34074; 14 | public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = (int) 34069; 15 | public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = (int) 34071; 16 | public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = (int) 34073; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/Sys.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl; 2 | 3 | public class Sys { 4 | 5 | public static void alert(java.lang.String arg0, java.lang.String arg1) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static java.lang.String getClipboard() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static long getTime() { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static long getTimerResolution() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static java.lang.String getVersion() { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public static void initialize() { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | public static boolean is64Bit() { 30 | throw new UnsupportedOperationException(); 31 | } 32 | 33 | public static boolean openURL(java.lang.String arg0) { 34 | throw new UnsupportedOperationException(); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATIElementArray.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATIElementArray { 4 | 5 | public static final int GL_ELEMENT_ARRAY_ATI = (int) 34664; 6 | public static final int GL_ELEMENT_ARRAY_POINTER_ATI = (int) 34666; 7 | public static final int GL_ELEMENT_ARRAY_TYPE_ATI = (int) 34665; 8 | 9 | public static void glDrawElementArrayATI(int arg0, int arg1) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static void glDrawRangeElementArrayATI(int arg0, int arg1, int arg2, int arg3) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static void glElementPointerATI(java.nio.ByteBuffer arg0) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static void glElementPointerATI(java.nio.IntBuffer arg0) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public static void glElementPointerATI(java.nio.ShortBuffer arg0) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/GLUtessellatorCallback.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public interface GLUtessellatorCallback { 4 | 5 | public abstract void begin(int arg0); 6 | 7 | public abstract void beginData(int arg0, java.lang.Object arg1); 8 | 9 | public abstract void combine(double[] arg0, java.lang.Object[] arg1, float[] arg2, java.lang.Object[] arg3); 10 | 11 | public abstract void combineData(double[] arg0, java.lang.Object[] arg1, float[] arg2, java.lang.Object[] arg3, 12 | java.lang.Object arg4); 13 | 14 | public abstract void edgeFlag(boolean arg0); 15 | 16 | public abstract void edgeFlagData(boolean arg0, java.lang.Object arg1); 17 | 18 | public abstract void end(); 19 | 20 | public abstract void endData(java.lang.Object arg0); 21 | 22 | public abstract void error(int arg0); 23 | 24 | public abstract void errorData(int arg0, java.lang.Object arg1); 25 | 26 | public abstract void vertex(java.lang.Object arg0); 27 | 28 | public abstract void vertexData(java.lang.Object arg0, java.lang.Object arg1); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/mixins/early/fml/ObjectHolderRegistry.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.mixins.early.fml; 2 | 3 | import java.lang.reflect.Field; 4 | import java.lang.reflect.Modifier; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.injection.At; 8 | import org.spongepowered.asm.mixin.injection.Redirect; 9 | 10 | import me.eigenraven.lwjgl3ify.WasFinalObjectHolder; 11 | 12 | @Mixin(value = { net.minecraftforge.registries.ObjectHolderRegistry.class }, remap = false) 13 | public abstract class ObjectHolderRegistry { 14 | 15 | @Redirect( 16 | method = { "net.minecraftforge.registries.ObjectHolderRegistry.scanClassForFields" }, 17 | at = @At(value = "INVOKE", target = "Ljava/lang/reflect/Field;getModifiers()I"), 18 | remap = false, 19 | require = 1) 20 | public int getFieldModifiersProxy(Field f) { 21 | int mods = f.getModifiers(); 22 | if (f.isAnnotationPresent(WasFinalObjectHolder.class)) { 23 | mods |= Modifier.FINAL; 24 | } 25 | return mods; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/NVFloatBuffer.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class NVFloatBuffer { 4 | 5 | public static final int GL_FLOAT_CLEAR_COLOR_VALUE_NV = (int) 34957; 6 | public static final int GL_FLOAT_R16_NV = (int) 34948; 7 | public static final int GL_FLOAT_R32_NV = (int) 34949; 8 | public static final int GL_FLOAT_RG16_NV = (int) 34950; 9 | public static final int GL_FLOAT_RG32_NV = (int) 34951; 10 | public static final int GL_FLOAT_RGB16_NV = (int) 34952; 11 | public static final int GL_FLOAT_RGB32_NV = (int) 34953; 12 | public static final int GL_FLOAT_RGBA16_NV = (int) 34954; 13 | public static final int GL_FLOAT_RGBA32_NV = (int) 34955; 14 | public static final int GL_FLOAT_RGBA_MODE_NV = (int) 34958; 15 | public static final int GL_FLOAT_RGBA_NV = (int) 34947; 16 | public static final int GL_FLOAT_RGB_NV = (int) 34946; 17 | public static final int GL_FLOAT_RG_NV = (int) 34945; 18 | public static final int GL_FLOAT_R_NV = (int) 34944; 19 | public static final int GL_TEXTURE_FLOAT_COMPONENTS_NV = (int) 34956; 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEFloatPixels.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEFloatPixels { 4 | 5 | public static final int GL_ALPHA_FLOAT16_APPLE = (int) 34844; 6 | public static final int GL_ALPHA_FLOAT32_APPLE = (int) 34838; 7 | public static final int GL_COLOR_FLOAT_APPLE = (int) 35343; 8 | public static final int GL_HALF_APPLE = (int) 5131; 9 | public static final int GL_INTENSITY_FLOAT16_APPLE = (int) 34845; 10 | public static final int GL_INTENSITY_FLOAT32_APPLE = (int) 34839; 11 | public static final int GL_LUMINANCE_ALPHA_FLOAT16_APPLE = (int) 34847; 12 | public static final int GL_LUMINANCE_ALPHA_FLOAT32_APPLE = (int) 34841; 13 | public static final int GL_LUMINANCE_FLOAT16_APPLE = (int) 34846; 14 | public static final int GL_LUMINANCE_FLOAT32_APPLE = (int) 34840; 15 | public static final int GL_RGBA_FLOAT16_APPLE = (int) 34842; 16 | public static final int GL_RGBA_FLOAT32_APPLE = (int) 34836; 17 | public static final int GL_RGB_FLOAT16_APPLE = (int) 34843; 18 | public static final int GL_RGB_FLOAT32_APPLE = (int) 34837; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVParameterBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVParameterBufferObject { 4 | 5 | public static final int GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV = (int) 36260; 6 | public static final int GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV = (int) 36259; 7 | public static final int GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV = (int) 36256; 8 | public static final int GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV = (int) 36257; 9 | public static final int GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV = (int) 36258; 10 | 11 | public static void glProgramBufferParametersINV(int arg0, int arg1, int arg2, java.nio.IntBuffer arg3) { 12 | throw new UnsupportedOperationException(); 13 | } 14 | 15 | public static void glProgramBufferParametersIuNV(int arg0, int arg1, int arg2, java.nio.IntBuffer arg3) { 16 | throw new UnsupportedOperationException(); 17 | } 18 | 19 | public static void glProgramBufferParametersNV(int arg0, int arg1, int arg2, java.nio.FloatBuffer arg3) { 20 | throw new UnsupportedOperationException(); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBGetProgramBinary.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBGetProgramBinary { 4 | 5 | public static final int GL_NUM_PROGRAM_BINARY_FORMATS = (int) 34814; 6 | public static final int GL_PROGRAM_BINARY_FORMATS = (int) 34815; 7 | public static final int GL_PROGRAM_BINARY_LENGTH = (int) 34625; 8 | public static final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT = (int) 33367; 9 | 10 | public static void glGetProgramBinary(int program, java.nio.IntBuffer length, java.nio.IntBuffer binaryFormat, 11 | java.nio.ByteBuffer binary) { 12 | org.lwjgl.opengl.ARBGetProgramBinary.glGetProgramBinary(program, length, binaryFormat, binary); 13 | } 14 | 15 | public static void glProgramBinary(int program, int binaryFormat, java.nio.ByteBuffer binary) { 16 | org.lwjgl.opengl.ARBGetProgramBinary.glProgramBinary(program, binaryFormat, binary); 17 | } 18 | 19 | public static void glProgramParameteri(int program, int pname, int value) { 20 | org.lwjgl.opengl.ARBGetProgramBinary.glProgramParameteri(program, pname, value); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATIPnTriangles.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATIPnTriangles { 4 | 5 | public static final int GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = (int) 34801; 6 | public static final int GL_PN_TRIANGLES_ATI = (int) 34800; 7 | public static final int GL_PN_TRIANGLES_NORMAL_MODE_ATI = (int) 34803; 8 | public static final int GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = (int) 34807; 9 | public static final int GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = (int) 34808; 10 | public static final int GL_PN_TRIANGLES_POINT_MODE_ATI = (int) 34802; 11 | public static final int GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI = (int) 34806; 12 | public static final int GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI = (int) 34805; 13 | public static final int GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI = (int) 34804; 14 | 15 | public static void glPNTrianglesfATI(int arg0, float arg1) { 16 | throw new UnsupportedOperationException(); 17 | } 18 | 19 | public static void glPNTrianglesiATI(int arg0, int arg1) { 20 | throw new UnsupportedOperationException(); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBES3Compatibility.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBES3Compatibility { 4 | 5 | public static final int GL_ANY_SAMPLES_PASSED_CONSERVATIVE = (int) 36202; 6 | public static final int GL_COMPRESSED_R11_EAC = (int) 37488; 7 | public static final int GL_COMPRESSED_RG11_EAC = (int) 37490; 8 | public static final int GL_COMPRESSED_RGB8_ETC2 = (int) 37492; 9 | public static final int GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = (int) 37494; 10 | public static final int GL_COMPRESSED_RGBA8_ETC2_EAC = (int) 37496; 11 | public static final int GL_COMPRESSED_SIGNED_R11_EAC = (int) 37489; 12 | public static final int GL_COMPRESSED_SIGNED_RG11_EAC = (int) 37491; 13 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = (int) 37497; 14 | public static final int GL_COMPRESSED_SRGB8_ETC2 = (int) 37493; 15 | public static final int GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = (int) 37495; 16 | public static final int GL_MAX_ELEMENT_INDEX = (int) 36203; 17 | public static final int GL_PRIMITIVE_RESTART_FIXED_INDEX = (int) 36201; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/mixins/early/game/MixinTextureUtil.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.mixins.early.game; 2 | 3 | import java.awt.image.BufferedImage; 4 | import java.io.IOException; 5 | import java.io.InputStream; 6 | 7 | import net.minecraft.client.renderer.texture.TextureUtil; 8 | 9 | import org.spongepowered.asm.mixin.Mixin; 10 | import org.spongepowered.asm.mixin.injection.At; 11 | import org.spongepowered.asm.mixin.injection.Redirect; 12 | 13 | import me.eigenraven.lwjgl3ify.textures.NativeBackedImage; 14 | 15 | @Mixin(TextureUtil.class) 16 | public abstract class MixinTextureUtil { 17 | 18 | @Redirect( 19 | method = "readBufferedImage", 20 | at = @At( 21 | value = "INVOKE", 22 | target = "Ljavax/imageio/ImageIO;read(Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;", 23 | remap = false)) 24 | private static BufferedImage redirectImageRead(InputStream stream) { 25 | try { 26 | return NativeBackedImage.make(stream); 27 | } catch (IOException ex) { 28 | throw new RuntimeException(ex); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/mixins/early/fml/ObjectHolderRef.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.mixins.early.fml; 2 | 3 | import java.lang.reflect.Field; 4 | 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.Overwrite; 7 | 8 | import com.google.common.base.Throwables; 9 | 10 | @Mixin(targets = { "net.minecraftforge.registries.ObjectHolderRef$FinalFieldHelper" }, remap = false) 11 | public class ObjectHolderRef { 12 | 13 | /** 14 | * @author eigenraven 15 | * @reason Simple helper function 16 | */ 17 | @Overwrite(remap = false) 18 | static Field makeWritable(Field f) { 19 | try { 20 | f.setAccessible(true); 21 | } catch (Exception e) { 22 | throw Throwables.propagate(e); 23 | } 24 | return f; 25 | } 26 | 27 | /** 28 | * @author TwilightFlower 29 | * @reason avoid reflection on modifiers field 30 | */ 31 | @Overwrite(remap = false) 32 | static void setField(Field field, Object instance, Object thing) throws ReflectiveOperationException { 33 | field.set(instance, thing); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBVertexArrayObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBVertexArrayObject { 4 | 5 | public static final int GL_VERTEX_ARRAY_BINDING = (int) 34229; 6 | 7 | public static void glBindVertexArray(int array) { 8 | org.lwjgl.opengl.ARBVertexArrayObject.glBindVertexArray(array); 9 | } 10 | 11 | public static void glDeleteVertexArrays(int array) { 12 | org.lwjgl.opengl.ARBVertexArrayObject.glDeleteVertexArrays(array); 13 | } 14 | 15 | public static void glDeleteVertexArrays(java.nio.IntBuffer arrays) { 16 | org.lwjgl.opengl.ARBVertexArrayObject.glDeleteVertexArrays(arrays); 17 | } 18 | 19 | public static int glGenVertexArrays() { 20 | return org.lwjgl.opengl.ARBVertexArrayObject.glGenVertexArrays(); 21 | } 22 | 23 | public static void glGenVertexArrays(java.nio.IntBuffer arrays) { 24 | org.lwjgl.opengl.ARBVertexArrayObject.glGenVertexArrays(arrays); 25 | } 26 | 27 | public static boolean glIsVertexArray(int array) { 28 | return org.lwjgl.opengl.ARBVertexArrayObject.glIsVertexArray(array); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/core/LateInit.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.core; 2 | 3 | import java.awt.Toolkit; 4 | 5 | import net.minecraftforge.fml.relauncher.FMLLaunchHandler; 6 | 7 | import org.lwjgl.system.Configuration; 8 | import org.lwjgl.system.Platform; 9 | import org.lwjglx.Sys; 10 | 11 | public class LateInit { 12 | 13 | public static void lateConstruct() { 14 | // Ensure javax.script.ScriptEngineManager gets loaded 15 | try { 16 | Class.forName("javax.script.ScriptEngineManager"); 17 | } catch (ClassNotFoundException e) { 18 | throw new RuntimeException(e); 19 | } 20 | if (FMLLaunchHandler.side() 21 | .isClient()) { 22 | clientMacOsFix(); 23 | Sys.initialize(); 24 | } 25 | } 26 | 27 | private static void clientMacOsFix() { 28 | if (Platform.get() == Platform.MACOSX) { 29 | Configuration.GLFW_LIBRARY_NAME.set("glfw_async"); 30 | Configuration.GLFW_CHECK_THREAD0.set(false); 31 | Toolkit.getDefaultToolkit(); // Initialize AWT before GLFW 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/AMDNameGenDelete.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class AMDNameGenDelete { 4 | 5 | public static final int GL_DATA_BUFFER_AMD = (int) 37201; 6 | public static final int GL_PERFORMANCE_MONITOR_AMD = (int) 37202; 7 | public static final int GL_QUERY_OBJECT_AMD = (int) 37203; 8 | public static final int GL_SAMPLER_OBJECT_AMD = (int) 37205; 9 | public static final int GL_VERTEX_ARRAY_OBJECT_AMD = (int) 37204; 10 | 11 | public static void glDeleteNamesAMD(int arg0, int arg1) { 12 | throw new UnsupportedOperationException(); 13 | } 14 | 15 | public static void glDeleteNamesAMD(int arg0, java.nio.IntBuffer arg1) { 16 | throw new UnsupportedOperationException(); 17 | } 18 | 19 | public static int glGenNamesAMD(int arg0) { 20 | throw new UnsupportedOperationException(); 21 | } 22 | 23 | public static void glGenNamesAMD(int arg0, java.nio.IntBuffer arg1) { 24 | throw new UnsupportedOperationException(); 25 | } 26 | 27 | public static boolean glIsNameAMD(int arg0, int arg1) { 28 | throw new UnsupportedOperationException(); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEObjectPurgeable.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEObjectPurgeable { 4 | 5 | public static final int GL_BUFFER_OBJECT_APPLE = (int) 34227; 6 | public static final int GL_PURGEABLE_APPLE = (int) 35357; 7 | public static final int GL_RELEASED_APPLE = (int) 35353; 8 | public static final int GL_RETAINED_APPLE = (int) 35355; 9 | public static final int GL_UNDEFINED_APPLE = (int) 35356; 10 | public static final int GL_VOLATILE_APPLE = (int) 35354; 11 | 12 | public static void glGetObjectParameterAPPLE(int arg0, int arg1, int arg2, java.nio.IntBuffer arg3) { 13 | throw new UnsupportedOperationException(); 14 | } 15 | 16 | public static int glGetObjectParameteriAPPLE(int arg0, int arg1, int arg2) { 17 | throw new UnsupportedOperationException(); 18 | } 19 | 20 | public static int glObjectPurgeableAPPLE(int arg0, int arg1, int arg2) { 21 | throw new UnsupportedOperationException(); 22 | } 23 | 24 | public static int glObjectUnpurgeableAPPLE(int arg0, int arg1, int arg2) { 25 | throw new UnsupportedOperationException(); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/CommonProxy.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify; 2 | 3 | import java.lang.reflect.Field; 4 | import java.util.HashMap; 5 | 6 | public class CommonProxy { 7 | 8 | public void registerF3Handler() {} 9 | 10 | @SuppressWarnings("unchecked") 11 | public void runCompatHooks() { 12 | // Fix crash with OpenComputers/COFHCore due to a class extending OpenALException 13 | try { 14 | Class cofhATTransformer = Class.forName("cofh.asm.CoFHAccessTransformer"); 15 | Field superClassesField = cofhATTransformer.getDeclaredField("superClasses"); 16 | superClassesField.setAccessible(true); 17 | HashMap superClasses = (HashMap) superClassesField.get(null); 18 | superClasses.put("org/lwjgl/openal/OpenALException", "java/lang/RuntimeException"); 19 | superClasses.put("org/lwjglx/openal/OpenALException", "java/lang/RuntimeException"); 20 | Lwjgl3ify.LOG.info("Installed CoFH AT compatibility"); 21 | } catch (ReflectiveOperationException e) { 22 | // ignore - cofh not present 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTBindableUniform.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTBindableUniform { 4 | 5 | public static final int GL_MAX_BINDABLE_UNIFORM_SIZE_EXT = (int) 36333; 6 | public static final int GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT = (int) 36323; 7 | public static final int GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT = (int) 36324; 8 | public static final int GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT = (int) 36322; 9 | public static final int GL_UNIFORM_BUFFER_BINDING_EXT = (int) 36335; 10 | public static final int GL_UNIFORM_BUFFER_EXT = (int) 36334; 11 | 12 | public static int glGetUniformBufferSizeEXT(int program, int location) { 13 | return org.lwjgl.opengl.EXTBindableUniform.glGetUniformBufferSizeEXT(program, location); 14 | } 15 | 16 | public static long glGetUniformOffsetEXT(int program, int location) { 17 | return org.lwjgl.opengl.EXTBindableUniform.glGetUniformOffsetEXT(program, location); 18 | } 19 | 20 | public static void glUniformBufferEXT(int program, int location, int buffer) { 21 | org.lwjgl.opengl.EXTBindableUniform.glUniformBufferEXT(program, location, buffer); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBSync.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBSync { 4 | 5 | public static final int GL_ALREADY_SIGNALED = (int) 37146; 6 | public static final int GL_CONDITION_SATISFIED = (int) 37148; 7 | public static final int GL_MAX_SERVER_WAIT_TIMEOUT = (int) 37137; 8 | public static final int GL_OBJECT_TYPE = (int) 37138; 9 | public static final int GL_SIGNALED = (int) 37145; 10 | public static final int GL_SYNC_CONDITION = (int) 37139; 11 | public static final int GL_SYNC_FENCE = (int) 37142; 12 | public static final int GL_SYNC_FLAGS = (int) 37141; 13 | public static final int GL_SYNC_FLUSH_COMMANDS_BIT = (int) 1; 14 | public static final int GL_SYNC_GPU_COMMANDS_COMPLETE = (int) 37143; 15 | public static final int GL_SYNC_STATUS = (int) 37140; 16 | public static final int GL_TIMEOUT_EXPIRED = (int) 37147; 17 | public static final long GL_TIMEOUT_IGNORED = (long) -1; 18 | public static final int GL_UNSIGNALED = (int) 37144; 19 | public static final int GL_WAIT_FAILED = (int) 37149; 20 | 21 | public static long glGetInteger64(int pname) { 22 | return org.lwjgl.opengl.ARBSync.glGetInteger64(pname); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/AMDMultiDrawIndirect.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class AMDMultiDrawIndirect { 4 | 5 | public static void glMultiDrawArraysIndirectAMD(int arg0, long arg1, int arg2, int arg3) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static void glMultiDrawArraysIndirectAMD(int arg0, java.nio.ByteBuffer arg1, int arg2, int arg3) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static void glMultiDrawArraysIndirectAMD(int arg0, java.nio.IntBuffer arg1, int arg2, int arg3) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static void glMultiDrawElementsIndirectAMD(int arg0, int arg1, long arg2, int arg3, int arg4) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static void glMultiDrawElementsIndirectAMD(int arg0, int arg1, java.nio.ByteBuffer arg2, int arg3, 22 | int arg4) { 23 | throw new UnsupportedOperationException(); 24 | } 25 | 26 | public static void glMultiDrawElementsIndirectAMD(int arg0, int arg1, java.nio.IntBuffer arg2, int arg3, int arg4) { 27 | throw new UnsupportedOperationException(); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/WaveData.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public class WaveData { 4 | 5 | public final java.nio.ByteBuffer data = null; 6 | public final int format = 0; 7 | public final int samplerate = 0; 8 | 9 | public static org.lwjgl.util.WaveData create(java.io.InputStream arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static org.lwjgl.util.WaveData create(java.lang.String arg0) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static org.lwjgl.util.WaveData create(java.net.URL arg0) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static org.lwjgl.util.WaveData create(java.nio.ByteBuffer arg0) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public static org.lwjgl.util.WaveData create(javax.sound.sampled.AudioInputStream arg0) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | public static org.lwjgl.util.WaveData create(byte[] arg0) { 30 | throw new UnsupportedOperationException(); 31 | } 32 | 33 | public void dispose() { 34 | throw new UnsupportedOperationException(); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/glu/Project.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.glu; 2 | 3 | public class Project extends org.lwjgl.util.glu.Util { 4 | 5 | public static void gluLookAt(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, 6 | float arg7, float arg8) { 7 | throw new UnsupportedOperationException(); 8 | } 9 | 10 | public static void gluPerspective(float arg0, float arg1, float arg2, float arg3) { 11 | throw new UnsupportedOperationException(); 12 | } 13 | 14 | public static void gluPickMatrix(float arg0, float arg1, float arg2, float arg3, java.nio.IntBuffer arg4) { 15 | throw new UnsupportedOperationException(); 16 | } 17 | 18 | public static boolean gluProject(float arg0, float arg1, float arg2, java.nio.FloatBuffer arg3, 19 | java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) { 20 | throw new UnsupportedOperationException(); 21 | } 22 | 23 | public static boolean gluUnProject(float arg0, float arg1, float arg2, java.nio.FloatBuffer arg3, 24 | java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) { 25 | throw new UnsupportedOperationException(); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/openal/OpenALException.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.openal; 2 | 3 | public class OpenALException extends org.lwjglx.openal.OpenALException { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | /** 8 | * Constructor for OpenALException. 9 | */ 10 | public OpenALException() { 11 | super(); 12 | } 13 | 14 | /** 15 | * Constructor that takes an AL error number 16 | */ 17 | public OpenALException(int error_code) { 18 | super("OpenAL error: " + org.lwjgl.openal.AL10.alGetString(error_code) + " (" + error_code + ")"); 19 | } 20 | 21 | /** 22 | * Constructor for OpenALException. 23 | * 24 | * @param message 25 | */ 26 | public OpenALException(String message) { 27 | super(message); 28 | } 29 | 30 | /** 31 | * Constructor for OpenALException. 32 | * 33 | * @param message 34 | * @param cause 35 | */ 36 | public OpenALException(String message, Throwable cause) { 37 | super(message, cause); 38 | } 39 | 40 | /** 41 | * Constructor for OpenALException. 42 | * 43 | * @param cause 44 | */ 45 | public OpenALException(Throwable cause) { 46 | super(cause); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/APPLEVertexArrayRange.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class APPLEVertexArrayRange { 4 | 5 | public static final int GL_DRAW_PIXELS_APPLE = (int) 35338; 6 | public static final int GL_FENCE_APPLE = (int) 35339; 7 | public static final int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE = (int) 34080; 8 | public static final int GL_STORAGE_CACHED_APPLE = (int) 34238; 9 | public static final int GL_STORAGE_SHARED_APPLE = (int) 34239; 10 | public static final int GL_VERTEX_ARRAY_RANGE_APPLE = (int) 34077; 11 | public static final int GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE = (int) 34078; 12 | public static final int GL_VERTEX_ARRAY_RANGE_POINTER_APPLE = (int) 34081; 13 | public static final int GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = (int) 34079; 14 | 15 | public static void glFlushVertexArrayRangeAPPLE(java.nio.ByteBuffer arg0) { 16 | throw new UnsupportedOperationException(); 17 | } 18 | 19 | public static void glVertexArrayParameteriAPPLE(int arg0, int arg1) { 20 | throw new UnsupportedOperationException(); 21 | } 22 | 23 | public static void glVertexArrayRangeAPPLE(java.nio.ByteBuffer arg0) { 24 | throw new UnsupportedOperationException(); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureSRGB.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureSRGB { 4 | 5 | public static final int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = (int) 35915; 6 | public static final int GL_COMPRESSED_SLUMINANCE_EXT = (int) 35914; 7 | public static final int GL_COMPRESSED_SRGB_ALPHA_EXT = (int) 35913; 8 | public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = (int) 35917; 9 | public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = (int) 35918; 10 | public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = (int) 35919; 11 | public static final int GL_COMPRESSED_SRGB_EXT = (int) 35912; 12 | public static final int GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = (int) 35916; 13 | public static final int GL_SLUMINANCE8_ALPHA8_EXT = (int) 35909; 14 | public static final int GL_SLUMINANCE8_EXT = (int) 35911; 15 | public static final int GL_SLUMINANCE_ALPHA_EXT = (int) 35908; 16 | public static final int GL_SLUMINANCE_EXT = (int) 35910; 17 | public static final int GL_SRGB8_ALPHA8_EXT = (int) 35907; 18 | public static final int GL_SRGB8_EXT = (int) 35905; 19 | public static final int GL_SRGB_ALPHA_EXT = (int) 35906; 20 | public static final int GL_SRGB_EXT = (int) 35904; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/Dimension.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public class Dimension { 4 | 5 | public boolean equals(java.lang.Object arg0) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public int getHeight() { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public void getSize(org.lwjgl.util.WritableDimension arg0) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public int getWidth() { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public int hashCode() { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public void setHeight(int arg0) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | public void setSize(int arg0, int arg1) { 30 | throw new UnsupportedOperationException(); 31 | } 32 | 33 | public void setSize(org.lwjgl.util.ReadableDimension arg0) { 34 | throw new UnsupportedOperationException(); 35 | } 36 | 37 | public void setWidth(int arg0) { 38 | throw new UnsupportedOperationException(); 39 | } 40 | 41 | public java.lang.String toString() { 42 | throw new UnsupportedOperationException(); 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ATIEnvmapBumpmap.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ATIEnvmapBumpmap { 4 | 5 | public static final int GL_BUMP_ENVMAP_ATI = (int) 34683; 6 | public static final int GL_BUMP_NUM_TEX_UNITS_ATI = (int) 34679; 7 | public static final int GL_BUMP_ROT_MATRIX_ATI = (int) 34677; 8 | public static final int GL_BUMP_ROT_MATRIX_SIZE_ATI = (int) 34678; 9 | public static final int GL_BUMP_TARGET_ATI = (int) 34684; 10 | public static final int GL_BUMP_TEX_UNITS_ATI = (int) 34680; 11 | public static final int GL_DU8DV8_ATI = (int) 34682; 12 | public static final int GL_DUDV_ATI = (int) 34681; 13 | 14 | public static void glGetTexBumpParameterATI(int arg0, java.nio.FloatBuffer arg1) { 15 | throw new UnsupportedOperationException(); 16 | } 17 | 18 | public static void glGetTexBumpParameterATI(int arg0, java.nio.IntBuffer arg1) { 19 | throw new UnsupportedOperationException(); 20 | } 21 | 22 | public static void glTexBumpParameterATI(int arg0, java.nio.FloatBuffer arg1) { 23 | throw new UnsupportedOperationException(); 24 | } 25 | 26 | public static void glTexBumpParameterATI(int arg0, java.nio.IntBuffer arg1) { 27 | throw new UnsupportedOperationException(); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBVertexBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBVertexBufferObject extends org.lwjgl.opengl.ARBBufferObject { 4 | 5 | public static final int GL_ARRAY_BUFFER_ARB = (int) 34962; 6 | public static final int GL_ARRAY_BUFFER_BINDING_ARB = (int) 34964; 7 | public static final int GL_COLOR_ARRAY_BUFFER_BINDING_ARB = (int) 34968; 8 | public static final int GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB = (int) 34971; 9 | public static final int GL_ELEMENT_ARRAY_BUFFER_ARB = (int) 34963; 10 | public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = (int) 34965; 11 | public static final int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = (int) 34973; 12 | public static final int GL_INDEX_ARRAY_BUFFER_BINDING_ARB = (int) 34969; 13 | public static final int GL_NORMAL_ARRAY_BUFFER_BINDING_ARB = (int) 34967; 14 | public static final int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = (int) 34972; 15 | public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB = (int) 34970; 16 | public static final int GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = (int) 34966; 17 | public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = (int) 34975; 18 | public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = (int) 34974; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBSparseTexture.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBSparseTexture { 4 | 5 | public static final int GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB = (int) 37273; 6 | public static final int GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB = (int) 37274; 7 | public static final int GL_MAX_SPARSE_TEXTURE_SIZE_ARB = (int) 37272; 8 | public static final int GL_NUM_SPARSE_LEVELS_ARB = (int) 37290; 9 | public static final int GL_NUM_VIRTUAL_PAGE_SIZES_ARB = (int) 37288; 10 | public static final int GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB = (int) 37289; 11 | public static final int GL_TEXTURE_SPARSE_ARB = (int) 37286; 12 | public static final int GL_VIRTUAL_PAGE_SIZE_INDEX_ARB = (int) 37287; 13 | public static final int GL_VIRTUAL_PAGE_SIZE_X_ARB = (int) 37269; 14 | public static final int GL_VIRTUAL_PAGE_SIZE_Y_ARB = (int) 37270; 15 | public static final int GL_VIRTUAL_PAGE_SIZE_Z_ARB = (int) 37271; 16 | 17 | public static void glTexPageCommitmentARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, 18 | int height, int depth, boolean commit) { 19 | org.lwjgl.opengl.ARBSparseTexture 20 | .glTexPageCommitmentARB(target, level, xoffset, yoffset, zoffset, width, height, depth, commit); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBWindowPos.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBWindowPos { 4 | 5 | public static void glWindowPos2dARB(double x, double y) { 6 | org.lwjgl.opengl.ARBWindowPos.glWindowPos2dARB(x, y); 7 | } 8 | 9 | public static void glWindowPos2fARB(float x, float y) { 10 | org.lwjgl.opengl.ARBWindowPos.glWindowPos2fARB(x, y); 11 | } 12 | 13 | public static void glWindowPos2iARB(int x, int y) { 14 | org.lwjgl.opengl.ARBWindowPos.glWindowPos2iARB(x, y); 15 | } 16 | 17 | public static void glWindowPos2sARB(short x, short y) { 18 | org.lwjgl.opengl.ARBWindowPos.glWindowPos2sARB(x, y); 19 | } 20 | 21 | public static void glWindowPos3dARB(double x, double y, double z) { 22 | org.lwjgl.opengl.ARBWindowPos.glWindowPos3dARB(x, y, z); 23 | } 24 | 25 | public static void glWindowPos3fARB(float x, float y, float z) { 26 | org.lwjgl.opengl.ARBWindowPos.glWindowPos3fARB(x, y, z); 27 | } 28 | 29 | public static void glWindowPos3iARB(int x, int y, int z) { 30 | org.lwjgl.opengl.ARBWindowPos.glWindowPos3iARB(x, y, z); 31 | } 32 | 33 | public static void glWindowPos3sARB(short x, short y, short z) { 34 | org.lwjgl.opengl.ARBWindowPos.glWindowPos3sARB(x, y, z); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBDrawInstanced.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBDrawInstanced { 4 | 5 | public static void glDrawArraysInstancedARB(int mode, int first, int count, int primcount) { 6 | org.lwjgl.opengl.ARBDrawInstanced.glDrawArraysInstancedARB(mode, first, count, primcount); 7 | } 8 | 9 | public static void glDrawElementsInstancedARB(int mode, int indices_count, int type, long indices_buffer_offset, 10 | int primcount) { 11 | org.lwjgl.opengl.ARBDrawInstanced 12 | .glDrawElementsInstancedARB(mode, indices_count, type, indices_buffer_offset, primcount); 13 | } 14 | 15 | public static void glDrawElementsInstancedARB(int mode, java.nio.ByteBuffer indices, int primcount) { 16 | org.lwjgl.opengl.ARBDrawInstanced.glDrawElementsInstancedARB(mode, indices, primcount); 17 | } 18 | 19 | public static void glDrawElementsInstancedARB(int mode, java.nio.IntBuffer indices, int primcount) { 20 | org.lwjgl.opengl.ARBDrawInstanced.glDrawElementsInstancedARB(mode, indices, primcount); 21 | } 22 | 23 | public static void glDrawElementsInstancedARB(int mode, java.nio.ShortBuffer indices, int primcount) { 24 | org.lwjgl.opengl.ARBDrawInstanced.glDrawElementsInstancedARB(mode, indices, primcount); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTDrawInstanced.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTDrawInstanced { 4 | 5 | public static void glDrawArraysInstancedEXT(int mode, int first, int count, int primcount) { 6 | org.lwjgl.opengl.EXTDrawInstanced.glDrawArraysInstancedEXT(mode, first, count, primcount); 7 | } 8 | 9 | public static void glDrawElementsInstancedEXT(int mode, int indices_count, int type, long indices_buffer_offset, 10 | int primcount) { 11 | org.lwjgl.opengl.EXTDrawInstanced 12 | .glDrawElementsInstancedEXT(mode, indices_count, type, indices_buffer_offset, primcount); 13 | } 14 | 15 | public static void glDrawElementsInstancedEXT(int mode, java.nio.ByteBuffer indices, int primcount) { 16 | org.lwjgl.opengl.EXTDrawInstanced.glDrawElementsInstancedEXT(mode, indices, primcount); 17 | } 18 | 19 | public static void glDrawElementsInstancedEXT(int mode, java.nio.IntBuffer indices, int primcount) { 20 | org.lwjgl.opengl.EXTDrawInstanced.glDrawElementsInstancedEXT(mode, indices, primcount); 21 | } 22 | 23 | public static void glDrawElementsInstancedEXT(int mode, java.nio.ShortBuffer indices, int primcount) { 24 | org.lwjgl.opengl.EXTDrawInstanced.glDrawElementsInstancedEXT(mode, indices, primcount); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/ARBTextureRg.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class ARBTextureRg { 4 | 5 | public static final int GL_R16 = (int) 33322; 6 | public static final int GL_R16F = (int) 33325; 7 | public static final int GL_R16I = (int) 33331; 8 | public static final int GL_R16UI = (int) 33332; 9 | public static final int GL_R32F = (int) 33326; 10 | public static final int GL_R32I = (int) 33333; 11 | public static final int GL_R32UI = (int) 33334; 12 | public static final int GL_R8 = (int) 33321; 13 | public static final int GL_R8I = (int) 33329; 14 | public static final int GL_R8UI = (int) 33330; 15 | public static final int GL_RG16 = (int) 33324; 16 | public static final int GL_RG16F = (int) 33327; 17 | public static final int GL_RG16I = (int) 33337; 18 | public static final int GL_RG16UI = (int) 33338; 19 | public static final int GL_RG32F = (int) 33328; 20 | public static final int GL_RG32I = (int) 33339; 21 | public static final int GL_RG32UI = (int) 33340; 22 | public static final int GL_RG8 = (int) 33323; 23 | public static final int GL_RG8I = (int) 33335; 24 | public static final int GL_RG8UI = (int) 33336; 25 | public static final int GL_RG = (int) 33319; 26 | public static final int GL_RG_INTEGER = (int) 33320; 27 | 28 | } 29 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | 3 | *.[jJ][aA][rR] binary 4 | 5 | *.[pP][nN][gG] binary 6 | *.[jJ][pP][gG] binary 7 | *.[jJ][pP][eE][gG] binary 8 | *.[gG][iI][fF] binary 9 | *.[tT][iI][fF] binary 10 | *.[tT][iI][fF][fF] binary 11 | *.[iI][cC][oO] binary 12 | *.[sS][vV][gG] text 13 | *.[eE][pP][sS] binary 14 | *.[xX][cC][fF] binary 15 | 16 | *.[kK][aA][rR] binary 17 | *.[mM]4[aA] binary 18 | *.[mM][iI][dD] binary 19 | *.[mM][iI][dD][iI] binary 20 | *.[mM][pP]3 binary 21 | *.[oO][gG][gG] binary 22 | *.[rR][aA] binary 23 | 24 | *.7[zZ] binary 25 | *.[gG][zZ] binary 26 | *.[tT][aA][rR] binary 27 | *.[tT][gG][zZ] binary 28 | *.[zZ][iI][pP] binary 29 | 30 | *.[tT][cC][nN] binary 31 | *.[sS][oO] binary 32 | *.[dD][lL][lL] binary 33 | *.[dD][yY][lL][iI][bB] binary 34 | *.[pP][sS][dD] binary 35 | *.[tT][tT][fF] binary 36 | *.[oO][tT][fF] binary 37 | 38 | *.[pP][aA][tT][cC][hH] -text 39 | 40 | *.[bB][aA][tT] text eol=crlf 41 | *.[cC][mM][dD] text eol=crlf 42 | *.[pP][sS]1 text eol=crlf 43 | 44 | *[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary 45 | -------------------------------------------------------------------------------- /java9args.txt: -------------------------------------------------------------------------------- 1 | -Dfile.encoding=UTF-8 2 | -Djava.system.class.loader=com.gtnewhorizons.retrofuturabootstrap.RfbSystemClassLoader 3 | -Djava.security.manager=allow 4 | --add-opens 5 | java.base/jdk.internal.loader=ALL-UNNAMED 6 | --add-opens 7 | java.base/java.net=ALL-UNNAMED 8 | --add-opens 9 | java.base/java.nio=ALL-UNNAMED 10 | --add-opens 11 | java.base/java.io=ALL-UNNAMED 12 | --add-opens 13 | java.base/java.lang=ALL-UNNAMED 14 | --add-opens 15 | java.base/java.lang.invoke=ALL-UNNAMED 16 | --add-opens 17 | java.base/java.lang.ref=ALL-UNNAMED 18 | --add-opens 19 | java.base/java.util.concurrent.locks=ALL-UNNAMED 20 | --add-opens 21 | java.base/java.lang.reflect=ALL-UNNAMED 22 | --add-opens 23 | java.base/java.security=ALL-UNNAMED 24 | --add-opens 25 | java.base/java.text=ALL-UNNAMED 26 | --add-opens 27 | java.base/java.util=ALL-UNNAMED 28 | --add-opens 29 | java.base/jdk.internal.reflect=ALL-UNNAMED 30 | --add-opens 31 | java.base/sun.nio.ch=ALL-UNNAMED 32 | --add-opens 33 | jdk.naming.dns/com.sun.jndi.dns=ALL-UNNAMED,java.naming 34 | --add-opens 35 | java.desktop/sun.awt=ALL-UNNAMED 36 | --add-opens 37 | java.desktop/sun.awt.image=ALL-UNNAMED 38 | --add-opens 39 | java.desktop/com.sun.imageio.plugins.png=ALL-UNNAMED 40 | --add-opens 41 | jdk.dynalink/jdk.dynalink.beans=ALL-UNNAMED 42 | --add-opens 43 | java.sql.rowset/javax.sql.rowset.serial=ALL-UNNAMED 44 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBClearBufferObject.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBClearBufferObject { 4 | 5 | public static void glClearBufferData(int target, int internalformat, int format, int type, 6 | java.nio.ByteBuffer data) { 7 | org.lwjgl.opengl.ARBClearBufferObject.glClearBufferData(target, internalformat, format, type, data); 8 | } 9 | 10 | public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format, 11 | int type, java.nio.ByteBuffer data) { 12 | org.lwjgl.opengl.ARBClearBufferObject 13 | .glClearBufferSubData(target, internalformat, offset, size, format, type, data); 14 | } 15 | 16 | public static void glClearNamedBufferDataEXT(int buffer, int internalformat, int format, int type, 17 | java.nio.ByteBuffer data) { 18 | org.lwjgl.opengl.ARBClearBufferObject.glClearNamedBufferDataEXT(buffer, internalformat, format, type, data); 19 | } 20 | 21 | public static void glClearNamedBufferSubDataEXT(int buffer, int internalformat, long offset, long size, int format, 22 | int type, java.nio.ByteBuffer data) { 23 | org.lwjgl.opengl.ARBClearBufferObject 24 | .glClearNamedBufferSubDataEXT(buffer, internalformat, offset, size, format, type, data); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/WritableColor.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util; 2 | 3 | public interface WritableColor { 4 | 5 | public abstract void readABGR(java.nio.ByteBuffer arg0); 6 | 7 | public abstract void readARGB(java.nio.ByteBuffer arg0); 8 | 9 | public abstract void readBGR(java.nio.ByteBuffer arg0); 10 | 11 | public abstract void readBGRA(java.nio.ByteBuffer arg0); 12 | 13 | public abstract void readRGB(java.nio.ByteBuffer arg0); 14 | 15 | public abstract void readRGBA(java.nio.ByteBuffer arg0); 16 | 17 | public abstract void set(byte arg0, byte arg1, byte arg2); 18 | 19 | public abstract void set(byte arg0, byte arg1, byte arg2, byte arg3); 20 | 21 | public abstract void set(int arg0, int arg1, int arg2); 22 | 23 | public abstract void set(int arg0, int arg1, int arg2, int arg3); 24 | 25 | public abstract void setAlpha(byte arg0); 26 | 27 | public abstract void setAlpha(int arg0); 28 | 29 | public abstract void setBlue(byte arg0); 30 | 31 | public abstract void setBlue(int arg0); 32 | 33 | public abstract void setColor(org.lwjgl.util.ReadableColor arg0); 34 | 35 | public abstract void setGreen(byte arg0); 36 | 37 | public abstract void setGreen(int arg0); 38 | 39 | public abstract void setRed(byte arg0); 40 | 41 | public abstract void setRed(int arg0); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBViewportArray.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBViewportArray { 4 | 5 | public static final int GL_FIRST_VERTEX_CONVENTION = (int) 36429; 6 | public static final int GL_LAST_VERTEX_CONVENTION = (int) 36430; 7 | public static final int GL_LAYER_PROVOKING_VERTEX = (int) 33374; 8 | public static final int GL_MAX_VIEWPORTS = (int) 33371; 9 | public static final int GL_PROVOKING_VERTEX = (int) 36431; 10 | public static final int GL_UNDEFINED_VERTEX = (int) 33376; 11 | public static final int GL_VIEWPORT_BOUNDS_RANGE = (int) 33373; 12 | public static final int GL_VIEWPORT_INDEX_PROVOKING_VERTEX = (int) 33375; 13 | public static final int GL_VIEWPORT_SUBPIXEL_BITS = (int) 33372; 14 | 15 | public static void glDepthRangeIndexed(int index, double n, double f) { 16 | org.lwjgl.opengl.ARBViewportArray.glDepthRangeIndexed(index, n, f); 17 | } 18 | 19 | public static void glScissorIndexed(int index, int left, int bottom, int width, int height) { 20 | org.lwjgl.opengl.ARBViewportArray.glScissorIndexed(index, left, bottom, width, height); 21 | } 22 | 23 | public static void glViewportIndexedf(int index, float x, float y, float w, float h) { 24 | org.lwjgl.opengl.ARBViewportArray.glViewportIndexedf(index, x, y, w, h); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/EXTTextureArray.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class EXTTextureArray { 4 | 5 | public static final int GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT = (int) 34894; 6 | public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = (int) 36052; 7 | public static final int GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = (int) 35071; 8 | public static final int GL_PROXY_TEXTURE_1D_ARRAY_EXT = (int) 35865; 9 | public static final int GL_PROXY_TEXTURE_2D_ARRAY_EXT = (int) 35867; 10 | public static final int GL_SAMPLER_1D_ARRAY_EXT = (int) 36288; 11 | public static final int GL_SAMPLER_1D_ARRAY_SHADOW_EXT = (int) 36291; 12 | public static final int GL_SAMPLER_2D_ARRAY_EXT = (int) 36289; 13 | public static final int GL_SAMPLER_2D_ARRAY_SHADOW_EXT = (int) 36292; 14 | public static final int GL_TEXTURE_1D_ARRAY_EXT = (int) 35864; 15 | public static final int GL_TEXTURE_2D_ARRAY_EXT = (int) 35866; 16 | public static final int GL_TEXTURE_BINDING_1D_ARRAY_EXT = (int) 35868; 17 | public static final int GL_TEXTURE_BINDING_2D_ARRAY_EXT = (int) 35869; 18 | 19 | public static void glFramebufferTextureLayerEXT(int target, int attachment, int texture, int level, int layer) { 20 | org.lwjgl.opengl.EXTTextureArray.glFramebufferTextureLayerEXT(target, attachment, texture, level, layer); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/NVFragmentProgram.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class NVFragmentProgram extends org.lwjgl.opengl.NVProgram { 4 | 5 | public static final int GL_FRAGMENT_PROGRAM_BINDING_NV = (int) 34931; 6 | public static final int GL_FRAGMENT_PROGRAM_NV = (int) 34928; 7 | public static final int GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = (int) 34920; 8 | public static final int GL_MAX_TEXTURE_COORDS_NV = (int) 34929; 9 | public static final int GL_MAX_TEXTURE_IMAGE_UNITS_NV = (int) 34930; 10 | 11 | public static void glGetProgramNamedParameterNV(int arg0, java.nio.ByteBuffer arg1, java.nio.DoubleBuffer arg2) { 12 | throw new UnsupportedOperationException(); 13 | } 14 | 15 | public static void glGetProgramNamedParameterNV(int arg0, java.nio.ByteBuffer arg1, java.nio.FloatBuffer arg2) { 16 | throw new UnsupportedOperationException(); 17 | } 18 | 19 | public static void glProgramNamedParameter4dNV(int arg0, java.nio.ByteBuffer arg1, double arg2, double arg3, 20 | double arg4, double arg5) { 21 | throw new UnsupportedOperationException(); 22 | } 23 | 24 | public static void glProgramNamedParameter4fNV(int arg0, java.nio.ByteBuffer arg1, float arg2, float arg3, 25 | float arg4, float arg5) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/util/mapped/CacheUtil.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.util.mapped; 2 | 3 | public class CacheUtil { 4 | 5 | public static java.nio.ByteBuffer createByteBuffer(int arg0) { 6 | throw new UnsupportedOperationException(); 7 | } 8 | 9 | public static java.nio.CharBuffer createCharBuffer(int arg0) { 10 | throw new UnsupportedOperationException(); 11 | } 12 | 13 | public static java.nio.DoubleBuffer createDoubleBuffer(int arg0) { 14 | throw new UnsupportedOperationException(); 15 | } 16 | 17 | public static java.nio.FloatBuffer createFloatBuffer(int arg0) { 18 | throw new UnsupportedOperationException(); 19 | } 20 | 21 | public static java.nio.IntBuffer createIntBuffer(int arg0) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | 25 | public static java.nio.LongBuffer createLongBuffer(int arg0) { 26 | throw new UnsupportedOperationException(); 27 | } 28 | 29 | public static org.lwjgl.PointerBuffer createPointerBuffer(int arg0) { 30 | throw new UnsupportedOperationException(); 31 | } 32 | 33 | public static java.nio.ShortBuffer createShortBuffer(int arg0) { 34 | throw new UnsupportedOperationException(); 35 | } 36 | 37 | public static int getCacheLineSize() { 38 | throw new UnsupportedOperationException(); 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBFragmentProgram.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBFragmentProgram extends org.lwjgl.opengl.ARBProgram { 4 | 5 | public static final int GL_FRAGMENT_PROGRAM_ARB = (int) 34820; 6 | public static final int GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = (int) 34827; 7 | public static final int GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = (int) 34830; 8 | public static final int GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = (int) 34832; 9 | public static final int GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = (int) 34831; 10 | public static final int GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = (int) 34829; 11 | public static final int GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = (int) 34828; 12 | public static final int GL_MAX_TEXTURE_COORDS_ARB = (int) 34929; 13 | public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = (int) 34930; 14 | public static final int GL_PROGRAM_ALU_INSTRUCTIONS_ARB = (int) 34821; 15 | public static final int GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = (int) 34824; 16 | public static final int GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = (int) 34826; 17 | public static final int GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = (int) 34825; 18 | public static final int GL_PROGRAM_TEX_INDIRECTIONS_ARB = (int) 34823; 19 | public static final int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = (int) 34822; 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/ARBBlendFuncExtended.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class ARBBlendFuncExtended { 4 | 5 | public static final int GL_MAX_DUAL_SOURCE_DRAW_BUFFERS = (int) 35068; 6 | public static final int GL_ONE_MINUS_SRC1_ALPHA = (int) 35067; 7 | public static final int GL_ONE_MINUS_SRC1_COLOR = (int) 35066; 8 | public static final int GL_SRC1_ALPHA = (int) 34185; 9 | public static final int GL_SRC1_COLOR = (int) 35065; 10 | 11 | public static void glBindFragDataLocationIndexed(int program, int colorNumber, int index, 12 | java.lang.CharSequence name) { 13 | org.lwjgl.opengl.ARBBlendFuncExtended.glBindFragDataLocationIndexed(program, colorNumber, index, name); 14 | } 15 | 16 | public static void glBindFragDataLocationIndexed(int program, int colorNumber, int index, 17 | java.nio.ByteBuffer name) { 18 | org.lwjgl.opengl.ARBBlendFuncExtended.glBindFragDataLocationIndexed(program, colorNumber, index, name); 19 | } 20 | 21 | public static int glGetFragDataIndex(int program, java.lang.CharSequence name) { 22 | return org.lwjgl.opengl.ARBBlendFuncExtended.glGetFragDataIndex(program, name); 23 | } 24 | 25 | public static int glGetFragDataIndex(int program, java.nio.ByteBuffer name) { 26 | return org.lwjgl.opengl.ARBBlendFuncExtended.glGetFragDataIndex(program, name); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/mixins/early/game/MixinMinecraftKeyBinding.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.mixins.early.game; 2 | 3 | import net.minecraft.client.Minecraft; 4 | 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.injection.At; 7 | import org.spongepowered.asm.mixin.injection.Redirect; 8 | import org.spongepowered.asm.mixin.injection.Slice; 9 | 10 | /** 11 | * Use raw key events for keybind handling to handle dead keys, etc. 12 | */ 13 | @Mixin(Minecraft.class) 14 | public class MixinMinecraftKeyBinding { 15 | 16 | @Redirect( 17 | method = "runTick", 18 | at = @At(value = "INVOKE", target = "Lnet/minecraft/client/settings/KeyBinding;setKeyBindState(IZ)V"), 19 | slice = @Slice(from = @At(value = "INVOKE", target = "Lorg/lwjgl/input/Keyboard;next()Z", remap = false))) 20 | private void lwjgl3ify$noKeybindUpdateHere(int eventKey, boolean eventKeyState) { 21 | // Disable, handled in the client proxy 22 | } 23 | 24 | @Redirect( 25 | method = "runTick", 26 | at = @At(value = "INVOKE", target = "Lnet/minecraft/client/settings/KeyBinding;onTick(I)V"), 27 | slice = @Slice(from = @At(value = "INVOKE", target = "Lorg/lwjgl/input/Keyboard;next()Z", remap = false))) 28 | private void lwjgl3ify$noKeybindTickHere(int eventKey) { 29 | // Disable, handled in the client proxy 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/me/eigenraven/lwjgl3ify/mixins/early/game/MixinTextureAtlasSprite.java: -------------------------------------------------------------------------------- 1 | package me.eigenraven.lwjgl3ify.mixins.early.game; 2 | 3 | import java.awt.image.BufferedImage; 4 | 5 | import net.minecraft.client.renderer.texture.TextureAtlasSprite; 6 | import net.minecraft.client.resources.IResource; 7 | 8 | import org.spongepowered.asm.mixin.Mixin; 9 | import org.spongepowered.asm.mixin.injection.At; 10 | import org.spongepowered.asm.mixin.injection.Inject; 11 | import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; 12 | import org.spongepowered.asm.mixin.injection.callback.LocalCapture; 13 | 14 | @Mixin(TextureAtlasSprite.class) 15 | public class MixinTextureAtlasSprite { 16 | 17 | @Inject( 18 | method = "loadSpriteFrames(Lnet/minecraft/client/resources/IResource;I)V", 19 | at = @At( 20 | value = "INVOKE", 21 | target = "Ljava/awt/image/BufferedImage;getRGB(IIII[III)[I", 22 | remap = false, 23 | shift = At.Shift.AFTER), 24 | locals = LocalCapture.CAPTURE_FAILHARD) 25 | void cleanupNativeBackedImage(IResource resource, int mipmapLevels, CallbackInfo info, BufferedImage image) { 26 | if (image instanceof AutoCloseable) { 27 | try { 28 | ((AutoCloseable) image).close(); 29 | } catch (Exception e) { 30 | e.printStackTrace(); 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjgl/opengl/EXTFogCoord.java: -------------------------------------------------------------------------------- 1 | package org.lwjgl.opengl; 2 | 3 | public class EXTFogCoord { 4 | 5 | public static final int GL_CURRENT_FOG_COORDINATE_EXT = (int) 33875; 6 | public static final int GL_FOG_COORDINATE_ARRAY_EXT = (int) 33879; 7 | public static final int GL_FOG_COORDINATE_ARRAY_POINTER_EXT = (int) 33878; 8 | public static final int GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = (int) 33877; 9 | public static final int GL_FOG_COORDINATE_ARRAY_TYPE_EXT = (int) 33876; 10 | public static final int GL_FOG_COORDINATE_EXT = (int) 33873; 11 | public static final int GL_FOG_COORDINATE_SOURCE_EXT = (int) 33872; 12 | public static final int GL_FRAGMENT_DEPTH_EXT = (int) 33874; 13 | 14 | public static void glFogCoordPointerEXT(int arg0, int arg1, long arg2) { 15 | throw new UnsupportedOperationException(); 16 | } 17 | 18 | public static void glFogCoordPointerEXT(int arg0, java.nio.DoubleBuffer arg1) { 19 | throw new UnsupportedOperationException(); 20 | } 21 | 22 | public static void glFogCoordPointerEXT(int arg0, java.nio.FloatBuffer arg1) { 23 | throw new UnsupportedOperationException(); 24 | } 25 | 26 | public static void glFogCoorddEXT(double arg0) { 27 | throw new UnsupportedOperationException(); 28 | } 29 | 30 | public static void glFogCoordfEXT(float arg0) { 31 | throw new UnsupportedOperationException(); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/generated/java/org/lwjglx/opengl/AMDSparseTexture.java: -------------------------------------------------------------------------------- 1 | package org.lwjglx.opengl; 2 | 3 | public class AMDSparseTexture { 4 | 5 | public static final int GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD = (int) 37273; 6 | public static final int GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS = (int) 37274; 7 | public static final int GL_MAX_SPARSE_TEXTURE_SIZE_AMD = (int) 37272; 8 | public static final int GL_MIN_LOD_WARNING_AMD = (int) 37276; 9 | public static final int GL_MIN_SPARSE_LEVEL_AMD = (int) 37275; 10 | public static final int GL_TEXTURE_STORAGE_SPARSE_BIT_AMD = (int) 1; 11 | public static final int GL_VIRTUAL_PAGE_SIZE_X_AMD = (int) 37269; 12 | public static final int GL_VIRTUAL_PAGE_SIZE_Y_AMD = (int) 37270; 13 | public static final int GL_VIRTUAL_PAGE_SIZE_Z_AMD = (int) 37271; 14 | 15 | public static void glTexStorageSparseAMD(int target, int internalFormat, int width, int height, int depth, 16 | int layers, int flags) { 17 | org.lwjgl.opengl.AMDSparseTexture 18 | .glTexStorageSparseAMD(target, internalFormat, width, height, depth, layers, flags); 19 | } 20 | 21 | public static void glTextureStorageSparseAMD(int texture, int target, int internalFormat, int width, int height, 22 | int depth, int layers, int flags) { 23 | org.lwjgl.opengl.AMDSparseTexture 24 | .glTextureStorageSparseAMD(texture, target, internalFormat, width, height, depth, layers, flags); 25 | } 26 | 27 | } 28 | --------------------------------------------------------------------------------