diff --git a/modules/overrungl.core/src/main/java/overrungl/util/StackWalkUtil.java b/modules/overrungl.core/src/main/java/overrungl/util/StackWalkUtil.java index 9f3407ce..bfd0626d 100644 --- a/modules/overrungl.core/src/main/java/overrungl/util/StackWalkUtil.java +++ b/modules/overrungl.core/src/main/java/overrungl/util/StackWalkUtil.java @@ -16,8 +16,6 @@ package overrungl.util; -import org.jetbrains.annotations.Nullable; - import java.util.Arrays; /** @@ -26,8 +24,6 @@ * @since 0.1.0 */ final class StackWalkUtil { - private static final StackWalker STACKWALKER = StackWalker.getInstance(StackWalker.Option.RETAIN_CLASS_REFERENCE); - private StackWalkUtil() { } @@ -37,72 +33,6 @@ static StackTraceElement[] stackWalkArray(Object[] a) { .toArray(StackTraceElement[]::new); } - static Object stackWalkGetMethod(Class after) { - return STACKWALKER.walk(s -> { - var iter = s.iterator(); - iter.next(); // skip this method - iter.next(); // skip MemoryStack::pop - - StackWalker.StackFrame frame; - do { - frame = iter.next(); - } while (frame.getDeclaringClass() == after && iter.hasNext()); - - return frame; - }); - } - - private static boolean isSameMethod(StackWalker.StackFrame a, StackWalker.StackFrame b) { - return isSameMethod(a, b, b.getMethodName()); - } - - private static boolean isSameMethod(StackWalker.StackFrame a, StackWalker.StackFrame b, String methodName) { - return a.getDeclaringClass() == b.getDeclaringClass() && - a.getMethodName().equals(methodName); - } - - private static boolean isAutoCloseable(StackWalker.StackFrame element, StackWalker.StackFrame pushed) { - // Java 9 try-with-resources: synthetic $closeResource - if (isSameMethod(element, pushed, "$closeResource")) { - return true; - } - - // Kotlin T.use: kotlin.AutoCloseable::closeFinally - return "kotlin.jdk7.AutoCloseableKt".equals(element.getClassName()) && "closeFinally".equals(element.getMethodName()); - } - - @Nullable - static Object stackWalkCheckPop(Class after, Object pushedObj) { - StackWalker.StackFrame pushed = (StackWalker.StackFrame) pushedObj; - - return StackWalker.getInstance(StackWalker.Option.RETAIN_CLASS_REFERENCE).walk(s -> { - var iter = s.iterator(); - iter.next(); - iter.next(); - - StackWalker.StackFrame element; - do { - element = iter.next(); - } while (element.getDeclaringClass() == after && iter.hasNext()); - - if (isSameMethod(element, pushed)) { - return null; - } - - if (iter.hasNext() && isAutoCloseable(element, pushed)) { - // Some runtimes use a separate method to call AutoCloseable::close in try-with-resources blocks. - // That method suppresses any exceptions thrown by close if necessary. - // When that happens, the pop is 1 level deeper than expected. - element = iter.next(); - if (isSameMethod(element, pushed)) { - return null; - } - } - - return element; - }); - } - static Object[] stackWalkGetTrace() { return StackWalker.getInstance() .walk(s -> s diff --git a/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/OpenGLGenerator.kt b/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/OpenGLGenerator.kt index ecc470e6..6a46b37b 100644 --- a/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/OpenGLGenerator.kt +++ b/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/OpenGLGenerator.kt @@ -186,9 +186,8 @@ class OpenGLFile( """ ${fileHeader.prependIndent("|")} |package overrungl.opengl${ext.packageName}; - - |import overrungl.*; - |import overrun.marshal.*; + |import overrungl.NativeType; + |import overrungl.opengl.*; |import java.lang.foreign.*; |/** @@ -208,31 +207,32 @@ class OpenGLFile( append(" ") if (overload) { appendLine("@overrun.marshal.gen.Skip") - append(" default ") + append(" ") } if (f.nativeType != null) append("@NativeType(\"${f.nativeType}\") ") - append("${f.returnType} ${f.name}(") + append("default ${f.returnType} ${f.name}(") f.params.forEachIndexed { index, it -> if (index != 0) append(", ") if (it.nativeType != null) append("@NativeType(\"${it.nativeType}\") ") append("${it.type} ${it.name}") } - append(")") + appendLine(") {") } functions.forEach { f -> appendFuncHeader(f, false) - append(';') + appendLine(" throw new ContextException();") + appendLine(" }") appendLine() // overloads if (f.overloads.isNotEmpty()) { f.overloads.forEach { overload -> appendFuncHeader(overload, true) - appendLine(" {") appendLine(overload.content!!.prependIndent(" ")) appendLine(" }") + appendLine() } } } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXMultisample.java index 740fc176..d31c61ba 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXMultisample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXMultisample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXTbuffer.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXTbuffer.java index 3de6aebf..25502120 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXTbuffer.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXTbuffer.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GL3DFXTbuffer { - void glTbufferMask3DFX(int mask); + default void glTbufferMask3DFX(int mask) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXTextureCompressionFXT1.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXTextureCompressionFXT1.java index bbeb7ea2..32e3520d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXTextureCompressionFXT1.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GL3DFXTextureCompressionFXT1.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLGREMEDYFrameTerminator.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLGREMEDYFrameTerminator.java index c052b37a..7bd884a1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLGREMEDYFrameTerminator.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLGREMEDYFrameTerminator.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLGREMEDYFrameTerminator { - void glFrameTerminatorGREMEDY(); + default void glFrameTerminatorGREMEDY() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLGREMEDYStringMarker.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLGREMEDYStringMarker.java index a5e7952b..a144be39 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLGREMEDYStringMarker.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLGREMEDYStringMarker.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLGREMEDYStringMarker { - void glStringMarkerGREMEDY(int len, @NativeType("const void *") MemorySegment string); + default void glStringMarkerGREMEDY(int len, @NativeType("const void *") MemorySegment string) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPConvolutionBorderModes.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPConvolutionBorderModes.java index b7f54913..19e59eda 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPConvolutionBorderModes.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPConvolutionBorderModes.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPImageTransform.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPImageTransform.java index 912f4c0f..eb8bafd4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPImageTransform.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPImageTransform.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -41,10 +40,28 @@ public interface GLHPImageTransform { int GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8162; int GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8163; - void glImageTransformParameteriHP(int target, int pname, int param); - void glImageTransformParameterfHP(int target, int pname, float param); - void glImageTransformParameterivHP(int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glImageTransformParameterfvHP(int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glGetImageTransformParameterivHP(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetImageTransformParameterfvHP(int target, int pname, @NativeType("GLfloat *") MemorySegment params); + default void glImageTransformParameteriHP(int target, int pname, int param) { + throw new ContextException(); + } + + default void glImageTransformParameterfHP(int target, int pname, float param) { + throw new ContextException(); + } + + default void glImageTransformParameterivHP(int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glImageTransformParameterfvHP(int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetImageTransformParameterivHP(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetImageTransformParameterfvHP(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPOcclusionTest.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPOcclusionTest.java index 8b38a598..28bdec7b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPOcclusionTest.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPOcclusionTest.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPTextureLighting.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPTextureLighting.java index 6b30158b..1738004b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPTextureLighting.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLHPTextureLighting.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRBlendFuncSeparate.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRBlendFuncSeparate.java index bcc7e87f..f8a3f30b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRBlendFuncSeparate.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRBlendFuncSeparate.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLINGRBlendFuncSeparate { - void glBlendFuncSeparateINGR(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha); + default void glBlendFuncSeparateINGR(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRColorClamp.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRColorClamp.java index 5e3c1698..67db05f2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRColorClamp.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRColorClamp.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRInterlaceRead.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRInterlaceRead.java index c6bb0f22..75f26d08 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRInterlaceRead.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLINGRInterlaceRead.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLInterlace.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLInterlace.java index 53b40760..a130cfe5 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLInterlace.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLInterlace.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLResample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLResample.java index abb9de97..0c7dded0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLResample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLResample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLSubsample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLSubsample.java index ac757fc7..123eaea9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLSubsample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOMLSubsample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOVRMultiview.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOVRMultiview.java index 27b840db..ac6cbaac 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOVRMultiview.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLOVRMultiview.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLOVRMultiview { int GL_MAX_VIEWS_OVR = 0x9631; int GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR = 0x9633; - void glFramebufferTextureMultiviewOVR(int target, int attachment, int texture, int level, int baseViewIndex, int numViews); + default void glFramebufferTextureMultiviewOVR(int target, int attachment, int texture, int level, int baseViewIndex, int numViews) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLPGIMiscHints.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLPGIMiscHints.java index ef9e658c..bb0a9f37 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLPGIMiscHints.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLPGIMiscHints.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -46,5 +45,8 @@ public interface GLPGIMiscHints { int GL_WIDE_LINE_HINT_PGI = 0x1A222; int GL_BACK_NORMALS_HINT_PGI = 0x1A223; - void glHintPGI(int target, int mode); + default void glHintPGI(int target, int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLPGIVertexHints.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLPGIVertexHints.java index 79889b47..3e83b639 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLPGIVertexHints.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLPGIVertexHints.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLRENDScreenCoordinates.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLRENDScreenCoordinates.java index ff2e913c..53c76546 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLRENDScreenCoordinates.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLRENDScreenCoordinates.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLS3S3tc.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLS3S3tc.java index 46f385f7..163e4b36 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLS3S3tc.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLS3S3tc.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLWINPhongShading.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLWINPhongShading.java index 44615b1e..1bf61c08 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLWINPhongShading.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLWINPhongShading.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLWINSpecularFog.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLWINSpecularFog.java index 83e0e6f7..26c7a6d1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLWINSpecularFog.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLWINSpecularFog.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDBlendMinmaxFactor.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDBlendMinmaxFactor.java index 2d0c47cf..9f5d4802 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDBlendMinmaxFactor.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDBlendMinmaxFactor.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDebugOutput.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDebugOutput.java index 4ea01004..0f9f589f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDebugOutput.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDebugOutput.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -40,12 +39,25 @@ public interface GLAMDDebugOutput { int GL_DEBUG_CATEGORY_APPLICATION_AMD = 0x914F; int GL_DEBUG_CATEGORY_OTHER_AMD = 0x9150; - void glDebugMessageEnableAMD(int category, int severity, int count, @NativeType("const GLuint *") MemorySegment ids, boolean enabled); - void glDebugMessageInsertAMD(int category, int severity, int id, int length, @NativeType("const GLchar *") MemorySegment buf); - void glDebugMessageCallbackAMD(@NativeType("GLDEBUGPROCAMD") MemorySegment callback, @NativeType("void *") MemorySegment userParam); + default void glDebugMessageEnableAMD(int category, int severity, int count, @NativeType("const GLuint *") MemorySegment ids, boolean enabled) { + throw new ContextException(); + } + + default void glDebugMessageInsertAMD(int category, int severity, int id, int length, @NativeType("const GLchar *") MemorySegment buf) { + throw new ContextException(); + } + + default void glDebugMessageCallbackAMD(@NativeType("GLDEBUGPROCAMD") MemorySegment callback, @NativeType("void *") MemorySegment userParam) { + throw new ContextException(); + } + @overrun.marshal.gen.Skip default void glDebugMessageCallbackAMD(Arena arena, GLDebugProcAMD callback, @NativeType("void *") MemorySegment userParam) { glDebugMessageCallbackAMD(callback.stub(arena), userParam); } - int glGetDebugMessageLogAMD(int count, int bufSize, @NativeType("GLenum *") MemorySegment categories, @NativeType("GLenum *") MemorySegment severities, @NativeType("GLuint *") MemorySegment ids, @NativeType("GLsizei *") MemorySegment lengths, @NativeType("GLchar *") MemorySegment message); + + default int glGetDebugMessageLogAMD(int count, int bufSize, @NativeType("GLenum *") MemorySegment categories, @NativeType("GLenum *") MemorySegment severities, @NativeType("GLuint *") MemorySegment ids, @NativeType("GLsizei *") MemorySegment lengths, @NativeType("GLchar *") MemorySegment message) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDepthClampSeparate.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDepthClampSeparate.java index 3179eee8..92751a08 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDepthClampSeparate.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDepthClampSeparate.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDrawBuffersBlend.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDrawBuffersBlend.java index a60124e9..1f9b0b04 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDrawBuffersBlend.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDDrawBuffersBlend.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,8 +25,20 @@ */ public interface GLAMDDrawBuffersBlend { - void glBlendFuncIndexedAMD(int buf, int src, int dst); - void glBlendFuncSeparateIndexedAMD(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha); - void glBlendEquationIndexedAMD(int buf, int mode); - void glBlendEquationSeparateIndexedAMD(int buf, int modeRGB, int modeAlpha); + default void glBlendFuncIndexedAMD(int buf, int src, int dst) { + throw new ContextException(); + } + + default void glBlendFuncSeparateIndexedAMD(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) { + throw new ContextException(); + } + + default void glBlendEquationIndexedAMD(int buf, int mode) { + throw new ContextException(); + } + + default void glBlendEquationSeparateIndexedAMD(int buf, int modeRGB, int modeAlpha) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDFramebufferMultisampleAdvanced.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDFramebufferMultisampleAdvanced.java index 2aee13f0..04dcd618 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDFramebufferMultisampleAdvanced.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDFramebufferMultisampleAdvanced.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,6 +31,12 @@ public interface GLAMDFramebufferMultisampleAdvanced { int GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD = 0x91B6; int GL_SUPPORTED_MULTISAMPLE_MODES_AMD = 0x91B7; - void glRenderbufferStorageMultisampleAdvancedAMD(int target, int samples, int storageSamples, int internalformat, int width, int height); - void glNamedRenderbufferStorageMultisampleAdvancedAMD(int renderbuffer, int samples, int storageSamples, int internalformat, int width, int height); + default void glRenderbufferStorageMultisampleAdvancedAMD(int target, int samples, int storageSamples, int internalformat, int width, int height) { + throw new ContextException(); + } + + default void glNamedRenderbufferStorageMultisampleAdvancedAMD(int renderbuffer, int samples, int storageSamples, int internalformat, int width, int height) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDFramebufferSamplePositions.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDFramebufferSamplePositions.java index c92fa084..4bf3e035 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDFramebufferSamplePositions.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDFramebufferSamplePositions.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,8 +29,20 @@ public interface GLAMDFramebufferSamplePositions { int GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD = 0x91AF; int GL_ALL_PIXELS_AMD = 0xFFFFFFFF; - void glFramebufferSamplePositionsfvAMD(int target, int numsamples, int pixelindex, @NativeType("const GLfloat *") MemorySegment values); - void glNamedFramebufferSamplePositionsfvAMD(int framebuffer, int numsamples, int pixelindex, @NativeType("const GLfloat *") MemorySegment values); - void glGetFramebufferParameterfvAMD(int target, int pname, int numsamples, int pixelindex, int size, @NativeType("GLfloat *") MemorySegment values); - void glGetNamedFramebufferParameterfvAMD(int framebuffer, int pname, int numsamples, int pixelindex, int size, @NativeType("GLfloat *") MemorySegment values); + default void glFramebufferSamplePositionsfvAMD(int target, int numsamples, int pixelindex, @NativeType("const GLfloat *") MemorySegment values) { + throw new ContextException(); + } + + default void glNamedFramebufferSamplePositionsfvAMD(int framebuffer, int numsamples, int pixelindex, @NativeType("const GLfloat *") MemorySegment values) { + throw new ContextException(); + } + + default void glGetFramebufferParameterfvAMD(int target, int pname, int numsamples, int pixelindex, int size, @NativeType("GLfloat *") MemorySegment values) { + throw new ContextException(); + } + + default void glGetNamedFramebufferParameterfvAMD(int framebuffer, int pname, int numsamples, int pixelindex, int size, @NativeType("GLfloat *") MemorySegment values) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDGpuShaderHalfFloat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDGpuShaderHalfFloat.java index 820aaf04..6a54d3ad 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDGpuShaderHalfFloat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDGpuShaderHalfFloat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDGpuShaderInt64.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDGpuShaderInt64.java index 7e8ad8ea..b4d20f58 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDGpuShaderInt64.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDGpuShaderInt64.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -50,38 +49,140 @@ public interface GLAMDGpuShaderInt64 { int GL_UNSIGNED_INT64_VEC3_NV = 0x8FF6; int GL_UNSIGNED_INT64_VEC4_NV = 0x8FF7; - void glUniform1i64NV(int location, long x); - void glUniform2i64NV(int location, long x, long y); - void glUniform3i64NV(int location, long x, long y, long z); - void glUniform4i64NV(int location, long x, long y, long z, long w); - void glUniform1i64vNV(int location, int count, @NativeType("const GLint64EXT *") MemorySegment value); - void glUniform2i64vNV(int location, int count, @NativeType("const GLint64EXT *") MemorySegment value); - void glUniform3i64vNV(int location, int count, @NativeType("const GLint64EXT *") MemorySegment value); - void glUniform4i64vNV(int location, int count, @NativeType("const GLint64EXT *") MemorySegment value); - void glUniform1ui64NV(int location, long x); - void glUniform2ui64NV(int location, long x, long y); - void glUniform3ui64NV(int location, long x, long y, long z); - void glUniform4ui64NV(int location, long x, long y, long z, long w); - void glUniform1ui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); - void glUniform2ui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); - void glUniform3ui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); - void glUniform4ui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); - void glGetUniformi64vNV(int program, int location, @NativeType("GLint64EXT *") MemorySegment params); - void glGetUniformui64vNV(int program, int location, @NativeType("GLuint64EXT *") MemorySegment params); - void glProgramUniform1i64NV(int program, int location, long x); - void glProgramUniform2i64NV(int program, int location, long x, long y); - void glProgramUniform3i64NV(int program, int location, long x, long y, long z); - void glProgramUniform4i64NV(int program, int location, long x, long y, long z, long w); - void glProgramUniform1i64vNV(int program, int location, int count, @NativeType("const GLint64EXT *") MemorySegment value); - void glProgramUniform2i64vNV(int program, int location, int count, @NativeType("const GLint64EXT *") MemorySegment value); - void glProgramUniform3i64vNV(int program, int location, int count, @NativeType("const GLint64EXT *") MemorySegment value); - void glProgramUniform4i64vNV(int program, int location, int count, @NativeType("const GLint64EXT *") MemorySegment value); - void glProgramUniform1ui64NV(int program, int location, long x); - void glProgramUniform2ui64NV(int program, int location, long x, long y); - void glProgramUniform3ui64NV(int program, int location, long x, long y, long z); - void glProgramUniform4ui64NV(int program, int location, long x, long y, long z, long w); - void glProgramUniform1ui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); - void glProgramUniform2ui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); - void glProgramUniform3ui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); - void glProgramUniform4ui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); + default void glUniform1i64NV(int location, long x) { + throw new ContextException(); + } + + default void glUniform2i64NV(int location, long x, long y) { + throw new ContextException(); + } + + default void glUniform3i64NV(int location, long x, long y, long z) { + throw new ContextException(); + } + + default void glUniform4i64NV(int location, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glUniform1i64vNV(int location, int count, @NativeType("const GLint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform2i64vNV(int location, int count, @NativeType("const GLint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform3i64vNV(int location, int count, @NativeType("const GLint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform4i64vNV(int location, int count, @NativeType("const GLint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform1ui64NV(int location, long x) { + throw new ContextException(); + } + + default void glUniform2ui64NV(int location, long x, long y) { + throw new ContextException(); + } + + default void glUniform3ui64NV(int location, long x, long y, long z) { + throw new ContextException(); + } + + default void glUniform4ui64NV(int location, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glUniform1ui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform2ui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform3ui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform4ui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glGetUniformi64vNV(int program, int location, @NativeType("GLint64EXT *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetUniformui64vNV(int program, int location, @NativeType("GLuint64EXT *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramUniform1i64NV(int program, int location, long x) { + throw new ContextException(); + } + + default void glProgramUniform2i64NV(int program, int location, long x, long y) { + throw new ContextException(); + } + + default void glProgramUniform3i64NV(int program, int location, long x, long y, long z) { + throw new ContextException(); + } + + default void glProgramUniform4i64NV(int program, int location, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glProgramUniform1i64vNV(int program, int location, int count, @NativeType("const GLint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform2i64vNV(int program, int location, int count, @NativeType("const GLint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform3i64vNV(int program, int location, int count, @NativeType("const GLint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform4i64vNV(int program, int location, int count, @NativeType("const GLint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform1ui64NV(int program, int location, long x) { + throw new ContextException(); + } + + default void glProgramUniform2ui64NV(int program, int location, long x, long y) { + throw new ContextException(); + } + + default void glProgramUniform3ui64NV(int program, int location, long x, long y, long z) { + throw new ContextException(); + } + + default void glProgramUniform4ui64NV(int program, int location, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glProgramUniform1ui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform2ui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform3ui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform4ui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDInterleavedElements.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDInterleavedElements.java index ee7c255b..fda788bb 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDInterleavedElements.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDInterleavedElements.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLAMDInterleavedElements { int GL_VERTEX_ELEMENT_SWIZZLE_AMD = 0x91A4; int GL_VERTEX_ID_SWIZZLE_AMD = 0x91A5; - void glVertexAttribParameteriAMD(int index, int pname, int param); + default void glVertexAttribParameteriAMD(int index, int pname, int param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDMultiDrawIndirect.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDMultiDrawIndirect.java index aa94e4ba..1d4a3fbf 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDMultiDrawIndirect.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDMultiDrawIndirect.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLAMDMultiDrawIndirect { - void glMultiDrawArraysIndirectAMD(int mode, @NativeType("const void *") MemorySegment indirect, int primcount, int stride); - void glMultiDrawElementsIndirectAMD(int mode, int type, @NativeType("const void *") MemorySegment indirect, int primcount, int stride); + default void glMultiDrawArraysIndirectAMD(int mode, @NativeType("const void *") MemorySegment indirect, int primcount, int stride) { + throw new ContextException(); + } + + default void glMultiDrawElementsIndirectAMD(int mode, int type, @NativeType("const void *") MemorySegment indirect, int primcount, int stride) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDNameGenDelete.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDNameGenDelete.java index a47b4f6d..000ae45a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDNameGenDelete.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDNameGenDelete.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,7 +30,16 @@ public interface GLAMDNameGenDelete { int GL_VERTEX_ARRAY_OBJECT_AMD = 0x9154; int GL_SAMPLER_OBJECT_AMD = 0x9155; - void glGenNamesAMD(int identifier, int num, @NativeType("GLuint *") MemorySegment names); - void glDeleteNamesAMD(int identifier, int num, @NativeType("const GLuint *") MemorySegment names); - boolean glIsNameAMD(int identifier, int name); + default void glGenNamesAMD(int identifier, int num, @NativeType("GLuint *") MemorySegment names) { + throw new ContextException(); + } + + default void glDeleteNamesAMD(int identifier, int num, @NativeType("const GLuint *") MemorySegment names) { + throw new ContextException(); + } + + default boolean glIsNameAMD(int identifier, int name) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDOcclusionQueryEvent.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDOcclusionQueryEvent.java index 777ae596..e63ab6ee 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDOcclusionQueryEvent.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDOcclusionQueryEvent.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,5 +31,8 @@ public interface GLAMDOcclusionQueryEvent { int GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008; int GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF; - void glQueryObjectParameteruiAMD(int target, int id, int pname, int param); + default void glQueryObjectParameteruiAMD(int target, int id, int pname, int param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDPerformanceMonitor.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDPerformanceMonitor.java index fc4c6b21..335c89f6 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDPerformanceMonitor.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDPerformanceMonitor.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -33,15 +32,48 @@ public interface GLAMDPerformanceMonitor { int GL_PERFMON_RESULT_SIZE_AMD = 0x8BC5; int GL_PERFMON_RESULT_AMD = 0x8BC6; - void glGetPerfMonitorGroupsAMD(@NativeType("GLint *") MemorySegment numGroups, int groupsSize, @NativeType("GLuint *") MemorySegment groups); - void glGetPerfMonitorCountersAMD(int group, @NativeType("GLint *") MemorySegment numCounters, @NativeType("GLint *") MemorySegment maxActiveCounters, int counterSize, @NativeType("GLuint *") MemorySegment counters); - void glGetPerfMonitorGroupStringAMD(int group, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLchar *") MemorySegment groupString); - void glGetPerfMonitorCounterStringAMD(int group, int counter, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLchar *") MemorySegment counterString); - void glGetPerfMonitorCounterInfoAMD(int group, int counter, int pname, @NativeType("void *") MemorySegment data); - void glGenPerfMonitorsAMD(int n, @NativeType("GLuint *") MemorySegment monitors); - void glDeletePerfMonitorsAMD(int n, @NativeType("GLuint *") MemorySegment monitors); - void glSelectPerfMonitorCountersAMD(int monitor, boolean enable, int group, int numCounters, @NativeType("GLuint *") MemorySegment counterList); - void glBeginPerfMonitorAMD(int monitor); - void glEndPerfMonitorAMD(int monitor); - void glGetPerfMonitorCounterDataAMD(int monitor, int pname, int dataSize, @NativeType("GLuint *") MemorySegment data, @NativeType("GLint *") MemorySegment bytesWritten); + default void glGetPerfMonitorGroupsAMD(@NativeType("GLint *") MemorySegment numGroups, int groupsSize, @NativeType("GLuint *") MemorySegment groups) { + throw new ContextException(); + } + + default void glGetPerfMonitorCountersAMD(int group, @NativeType("GLint *") MemorySegment numCounters, @NativeType("GLint *") MemorySegment maxActiveCounters, int counterSize, @NativeType("GLuint *") MemorySegment counters) { + throw new ContextException(); + } + + default void glGetPerfMonitorGroupStringAMD(int group, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLchar *") MemorySegment groupString) { + throw new ContextException(); + } + + default void glGetPerfMonitorCounterStringAMD(int group, int counter, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLchar *") MemorySegment counterString) { + throw new ContextException(); + } + + default void glGetPerfMonitorCounterInfoAMD(int group, int counter, int pname, @NativeType("void *") MemorySegment data) { + throw new ContextException(); + } + + default void glGenPerfMonitorsAMD(int n, @NativeType("GLuint *") MemorySegment monitors) { + throw new ContextException(); + } + + default void glDeletePerfMonitorsAMD(int n, @NativeType("GLuint *") MemorySegment monitors) { + throw new ContextException(); + } + + default void glSelectPerfMonitorCountersAMD(int monitor, boolean enable, int group, int numCounters, @NativeType("GLuint *") MemorySegment counterList) { + throw new ContextException(); + } + + default void glBeginPerfMonitorAMD(int monitor) { + throw new ContextException(); + } + + default void glEndPerfMonitorAMD(int monitor) { + throw new ContextException(); + } + + default void glGetPerfMonitorCounterDataAMD(int monitor, int pname, int dataSize, @NativeType("GLuint *") MemorySegment data, @NativeType("GLint *") MemorySegment bytesWritten) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDPinnedMemory.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDPinnedMemory.java index f684d59d..37c6dc5b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDPinnedMemory.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDPinnedMemory.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDQueryBufferObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDQueryBufferObject.java index d407c6b2..1ad3e8f9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDQueryBufferObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDQueryBufferObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDSamplePositions.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDSamplePositions.java index 0c2664fa..12be90db 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDSamplePositions.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDSamplePositions.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLAMDSamplePositions { - void glSetMultisamplefvAMD(int pname, int index, @NativeType("const GLfloat *") MemorySegment val); + default void glSetMultisamplefvAMD(int pname, int index, @NativeType("const GLfloat *") MemorySegment val) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDSparseTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDSparseTexture.java index 90597020..084aaa91 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDSparseTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDSparseTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -35,6 +34,12 @@ public interface GLAMDSparseTexture { int GL_MIN_LOD_WARNING_AMD = 0x919C; int GL_TEXTURE_STORAGE_SPARSE_BIT_AMD = 0x00000001; - void glTexStorageSparseAMD(int target, int internalFormat, int width, int height, int depth, int layers, int flags); - void glTextureStorageSparseAMD(int texture, int target, int internalFormat, int width, int height, int depth, int layers, int flags); + default void glTexStorageSparseAMD(int target, int internalFormat, int width, int height, int depth, int layers, int flags) { + throw new ContextException(); + } + + default void glTextureStorageSparseAMD(int texture, int target, int internalFormat, int width, int height, int depth, int layers, int flags) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDStencilOperationExtended.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDStencilOperationExtended.java index 09a8eb78..38eb4d01 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDStencilOperationExtended.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDStencilOperationExtended.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLAMDStencilOperationExtended { int GL_STENCIL_OP_VALUE_AMD = 0x874C; int GL_STENCIL_BACK_OP_VALUE_AMD = 0x874D; - void glStencilOpValueAMD(int face, int value); + default void glStencilOpValueAMD(int face, int value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDTransformFeedback4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDTransformFeedback4.java index 9ccfc0bb..c211e268 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDTransformFeedback4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDTransformFeedback4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDVertexShaderTessellator.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDVertexShaderTessellator.java index 8764368d..a59474d2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDVertexShaderTessellator.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLAMDVertexShaderTessellator.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.amd; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -33,6 +32,12 @@ public interface GLAMDVertexShaderTessellator { int GL_DISCRETE_AMD = 0x9006; int GL_CONTINUOUS_AMD = 0x9007; - void glTessellationFactorAMD(float factor); - void glTessellationModeAMD(int mode); + default void glTessellationFactorAMD(float factor) { + throw new ContextException(); + } + + default void glTessellationModeAMD(int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEAuxDepthStencil.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEAuxDepthStencil.java index 738d41a4..8004c177 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEAuxDepthStencil.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEAuxDepthStencil.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEClientStorage.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEClientStorage.java index 33a6b4fa..809a7b6b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEClientStorage.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEClientStorage.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEElementArray.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEElementArray.java index d7443e78..228fac3f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEElementArray.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEElementArray.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,9 +28,24 @@ public interface GLAPPLEElementArray { int GL_ELEMENT_ARRAY_TYPE_APPLE = 0x8A0D; int GL_ELEMENT_ARRAY_POINTER_APPLE = 0x8A0E; - void glElementPointerAPPLE(int type, @NativeType("const void *") MemorySegment pointer); - void glDrawElementArrayAPPLE(int mode, int first, int count); - void glDrawRangeElementArrayAPPLE(int mode, int start, int end, int first, int count); - void glMultiDrawElementArrayAPPLE(int mode, @NativeType("const GLint *") MemorySegment first, @NativeType("const GLsizei *") MemorySegment count, int primcount); - void glMultiDrawRangeElementArrayAPPLE(int mode, int start, int end, @NativeType("const GLint *") MemorySegment first, @NativeType("const GLsizei *") MemorySegment count, int primcount); + default void glElementPointerAPPLE(int type, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glDrawElementArrayAPPLE(int mode, int first, int count) { + throw new ContextException(); + } + + default void glDrawRangeElementArrayAPPLE(int mode, int start, int end, int first, int count) { + throw new ContextException(); + } + + default void glMultiDrawElementArrayAPPLE(int mode, @NativeType("const GLint *") MemorySegment first, @NativeType("const GLsizei *") MemorySegment count, int primcount) { + throw new ContextException(); + } + + default void glMultiDrawRangeElementArrayAPPLE(int mode, int start, int end, @NativeType("const GLint *") MemorySegment first, @NativeType("const GLsizei *") MemorySegment count, int primcount) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFence.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFence.java index 4a65baac..a91d65b8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFence.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFence.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,12 +27,36 @@ public interface GLAPPLEFence { int GL_DRAW_PIXELS_APPLE = 0x8A0A; int GL_FENCE_APPLE = 0x8A0B; - void glGenFencesAPPLE(int n, @NativeType("GLuint *") MemorySegment fences); - void glDeleteFencesAPPLE(int n, @NativeType("const GLuint *") MemorySegment fences); - void glSetFenceAPPLE(int fence); - boolean glIsFenceAPPLE(int fence); - boolean glTestFenceAPPLE(int fence); - void glFinishFenceAPPLE(int fence); - boolean glTestObjectAPPLE(int object, int name); - void glFinishObjectAPPLE(int object, int name); + default void glGenFencesAPPLE(int n, @NativeType("GLuint *") MemorySegment fences) { + throw new ContextException(); + } + + default void glDeleteFencesAPPLE(int n, @NativeType("const GLuint *") MemorySegment fences) { + throw new ContextException(); + } + + default void glSetFenceAPPLE(int fence) { + throw new ContextException(); + } + + default boolean glIsFenceAPPLE(int fence) { + throw new ContextException(); + } + + default boolean glTestFenceAPPLE(int fence) { + throw new ContextException(); + } + + default void glFinishFenceAPPLE(int fence) { + throw new ContextException(); + } + + default boolean glTestObjectAPPLE(int object, int name) { + throw new ContextException(); + } + + default void glFinishObjectAPPLE(int object, int name) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFloatPixels.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFloatPixels.java index fe135980..2e8d2756 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFloatPixels.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFloatPixels.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFlushBufferRange.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFlushBufferRange.java index 8e689609..5d3ef0c3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFlushBufferRange.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEFlushBufferRange.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,6 +27,12 @@ public interface GLAPPLEFlushBufferRange { int GL_BUFFER_SERIALIZED_MODIFY_APPLE = 0x8A12; int GL_BUFFER_FLUSHING_UNMAP_APPLE = 0x8A13; - void glBufferParameteriAPPLE(int target, int pname, int param); - void glFlushMappedBufferRangeAPPLE(int target, long offset, long size); + default void glBufferParameteriAPPLE(int target, int pname, int param) { + throw new ContextException(); + } + + default void glFlushMappedBufferRangeAPPLE(int target, long offset, long size) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEObjectPurgeable.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEObjectPurgeable.java index 68d8f331..7cf06a92 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEObjectPurgeable.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEObjectPurgeable.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,7 +31,16 @@ public interface GLAPPLEObjectPurgeable { int GL_UNDEFINED_APPLE = 0x8A1C; int GL_PURGEABLE_APPLE = 0x8A1D; - int glObjectPurgeableAPPLE(int objectType, int name, int option); - int glObjectUnpurgeableAPPLE(int objectType, int name, int option); - void glGetObjectParameterivAPPLE(int objectType, int name, int pname, @NativeType("GLint *") MemorySegment params); + default int glObjectPurgeableAPPLE(int objectType, int name, int option) { + throw new ContextException(); + } + + default int glObjectUnpurgeableAPPLE(int objectType, int name, int option) { + throw new ContextException(); + } + + default void glGetObjectParameterivAPPLE(int objectType, int name, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLERgb422.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLERgb422.java index 1cd57016..5452d2e9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLERgb422.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLERgb422.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLERowBytes.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLERowBytes.java index 3e644484..300a17c2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLERowBytes.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLERowBytes.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLESpecularVector.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLESpecularVector.java index c59df175..9ccbe630 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLESpecularVector.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLESpecularVector.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLETextureRange.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLETextureRange.java index 47d74d95..80afa037 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLETextureRange.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLETextureRange.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,6 +31,12 @@ public interface GLAPPLETextureRange { int GL_STORAGE_CACHED_APPLE = 0x85BE; int GL_STORAGE_SHARED_APPLE = 0x85BF; - void glTextureRangeAPPLE(int target, int length, @NativeType("const void *") MemorySegment pointer); - void glGetTexParameterPointervAPPLE(int target, int pname, @NativeType("void **") MemorySegment params); + default void glTextureRangeAPPLE(int target, int length, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glGetTexParameterPointervAPPLE(int target, int pname, @NativeType("void **") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLETransformHint.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLETransformHint.java index a02de7a6..67b789a1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLETransformHint.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLETransformHint.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexArrayObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexArrayObject.java index 5e7961ab..cf7d4fef 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexArrayObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexArrayObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,8 +26,20 @@ public interface GLAPPLEVertexArrayObject { int GL_VERTEX_ARRAY_BINDING_APPLE = 0x85B5; - void glBindVertexArrayAPPLE(int array); - void glDeleteVertexArraysAPPLE(int n, @NativeType("const GLuint *") MemorySegment arrays); - void glGenVertexArraysAPPLE(int n, @NativeType("GLuint *") MemorySegment arrays); - boolean glIsVertexArrayAPPLE(int array); + default void glBindVertexArrayAPPLE(int array) { + throw new ContextException(); + } + + default void glDeleteVertexArraysAPPLE(int n, @NativeType("const GLuint *") MemorySegment arrays) { + throw new ContextException(); + } + + default void glGenVertexArraysAPPLE(int n, @NativeType("GLuint *") MemorySegment arrays) { + throw new ContextException(); + } + + default boolean glIsVertexArrayAPPLE(int array) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexArrayRange.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexArrayRange.java index 2fcea17a..ed3c6989 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexArrayRange.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexArrayRange.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,7 +30,16 @@ public interface GLAPPLEVertexArrayRange { int GL_VERTEX_ARRAY_RANGE_POINTER_APPLE = 0x8521; int GL_STORAGE_CLIENT_APPLE = 0x85B4; - void glVertexArrayRangeAPPLE(int length, @NativeType("void *") MemorySegment pointer); - void glFlushVertexArrayRangeAPPLE(int length, @NativeType("void *") MemorySegment pointer); - void glVertexArrayParameteriAPPLE(int pname, int param); + default void glVertexArrayRangeAPPLE(int length, @NativeType("void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glFlushVertexArrayRangeAPPLE(int length, @NativeType("void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glVertexArrayParameteriAPPLE(int pname, int param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexProgramEvaluators.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexProgramEvaluators.java index e1bf3ab5..13a43cc0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexProgramEvaluators.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEVertexProgramEvaluators.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -36,11 +35,32 @@ public interface GLAPPLEVertexProgramEvaluators { int GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE = 0x8A08; int GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE = 0x8A09; - void glEnableVertexAttribAPPLE(int index, int pname); - void glDisableVertexAttribAPPLE(int index, int pname); - boolean glIsVertexAttribEnabledAPPLE(int index, int pname); - void glMapVertexAttrib1dAPPLE(int index, int size, double u1, double u2, int stride, int order, @NativeType("const GLdouble *") MemorySegment points); - void glMapVertexAttrib1fAPPLE(int index, int size, float u1, float u2, int stride, int order, @NativeType("const GLfloat *") MemorySegment points); - void glMapVertexAttrib2dAPPLE(int index, int size, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, @NativeType("const GLdouble *") MemorySegment points); - void glMapVertexAttrib2fAPPLE(int index, int size, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, @NativeType("const GLfloat *") MemorySegment points); + default void glEnableVertexAttribAPPLE(int index, int pname) { + throw new ContextException(); + } + + default void glDisableVertexAttribAPPLE(int index, int pname) { + throw new ContextException(); + } + + default boolean glIsVertexAttribEnabledAPPLE(int index, int pname) { + throw new ContextException(); + } + + default void glMapVertexAttrib1dAPPLE(int index, int size, double u1, double u2, int stride, int order, @NativeType("const GLdouble *") MemorySegment points) { + throw new ContextException(); + } + + default void glMapVertexAttrib1fAPPLE(int index, int size, float u1, float u2, int stride, int order, @NativeType("const GLfloat *") MemorySegment points) { + throw new ContextException(); + } + + default void glMapVertexAttrib2dAPPLE(int index, int size, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, @NativeType("const GLdouble *") MemorySegment points) { + throw new ContextException(); + } + + default void glMapVertexAttrib2fAPPLE(int index, int size, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, @NativeType("const GLfloat *") MemorySegment points) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEYcbcr422.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEYcbcr422.java index 54c949ad..329f0e4d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEYcbcr422.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/apple/GLAPPLEYcbcr422.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.apple; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBBindlessTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBBindlessTexture.java index 8a760a7a..53b15f06 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBBindlessTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBBindlessTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,20 +26,68 @@ public interface GLARBBindlessTexture { int GL_UNSIGNED_INT64_ARB = 0x140F; - long glGetTextureHandleARB(int texture); - long glGetTextureSamplerHandleARB(int texture, int sampler); - void glMakeTextureHandleResidentARB(long handle); - void glMakeTextureHandleNonResidentARB(long handle); - long glGetImageHandleARB(int texture, int level, boolean layered, int layer, int format); - void glMakeImageHandleResidentARB(long handle, int access); - void glMakeImageHandleNonResidentARB(long handle); - void glUniformHandleui64ARB(int location, long value); - void glUniformHandleui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glProgramUniformHandleui64ARB(int program, int location, long value); - void glProgramUniformHandleui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment values); - boolean glIsTextureHandleResidentARB(long handle); - boolean glIsImageHandleResidentARB(long handle); - void glVertexAttribL1ui64ARB(int index, long x); - void glVertexAttribL1ui64vARB(int index, @NativeType("const GLuint64EXT *") MemorySegment v); - void glGetVertexAttribLui64vARB(int index, int pname, @NativeType("GLuint64EXT *") MemorySegment params); + default long glGetTextureHandleARB(int texture) { + throw new ContextException(); + } + + default long glGetTextureSamplerHandleARB(int texture, int sampler) { + throw new ContextException(); + } + + default void glMakeTextureHandleResidentARB(long handle) { + throw new ContextException(); + } + + default void glMakeTextureHandleNonResidentARB(long handle) { + throw new ContextException(); + } + + default long glGetImageHandleARB(int texture, int level, boolean layered, int layer, int format) { + throw new ContextException(); + } + + default void glMakeImageHandleResidentARB(long handle, int access) { + throw new ContextException(); + } + + default void glMakeImageHandleNonResidentARB(long handle) { + throw new ContextException(); + } + + default void glUniformHandleui64ARB(int location, long value) { + throw new ContextException(); + } + + default void glUniformHandleui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformHandleui64ARB(int program, int location, long value) { + throw new ContextException(); + } + + default void glProgramUniformHandleui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment values) { + throw new ContextException(); + } + + default boolean glIsTextureHandleResidentARB(long handle) { + throw new ContextException(); + } + + default boolean glIsImageHandleResidentARB(long handle) { + throw new ContextException(); + } + + default void glVertexAttribL1ui64ARB(int index, long x) { + throw new ContextException(); + } + + default void glVertexAttribL1ui64vARB(int index, @NativeType("const GLuint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glGetVertexAttribLui64vARB(int index, int pname, @NativeType("GLuint64EXT *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBCLEvent.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBCLEvent.java index 13a3ce5b..0cacfdf9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBCLEvent.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBCLEvent.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLARBCLEvent { int GL_SYNC_CL_EVENT_ARB = 0x8240; int GL_SYNC_CL_EVENT_COMPLETE_ARB = 0x8241; - @NativeType("GLsync") MemorySegment glCreateSyncFromCLeventARB(@NativeType("struct _cl_context *") MemorySegment context, @NativeType("struct _cl_event *") MemorySegment event, int flags); + @NativeType("GLsync") default MemorySegment glCreateSyncFromCLeventARB(@NativeType("struct _cl_context *") MemorySegment context, @NativeType("struct _cl_event *") MemorySegment event, int flags) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBColorBufferFloat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBColorBufferFloat.java index 00724ba8..a49b6b47 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBColorBufferFloat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBColorBufferFloat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,5 +30,8 @@ public interface GLARBColorBufferFloat { int GL_CLAMP_READ_COLOR_ARB = 0x891C; int GL_FIXED_ONLY_ARB = 0x891D; - void glClampColorARB(int target, int clamp); + default void glClampColorARB(int target, int clamp) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBComputeVariableGroupSize.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBComputeVariableGroupSize.java index 344e3376..08107f97 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBComputeVariableGroupSize.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBComputeVariableGroupSize.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLARBComputeVariableGroupSize { int GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB = 0x9345; int GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB = 0x91BF; - void glDispatchComputeGroupSizeARB(int num_groups_x, int num_groups_y, int num_groups_z, int group_size_x, int group_size_y, int group_size_z); + default void glDispatchComputeGroupSizeARB(int num_groups_x, int num_groups_y, int num_groups_z, int group_size_x, int group_size_y, int group_size_z) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDebugOutput.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDebugOutput.java index 2d785b54..6f4aaaff 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDebugOutput.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDebugOutput.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -48,12 +47,25 @@ public interface GLARBDebugOutput { int GL_DEBUG_SEVERITY_MEDIUM_ARB = 0x9147; int GL_DEBUG_SEVERITY_LOW_ARB = 0x9148; - void glDebugMessageControlARB(int source, int type, int severity, int count, @NativeType("const GLuint *") MemorySegment ids, boolean enabled); - void glDebugMessageInsertARB(int source, int type, int id, int severity, int length, @NativeType("const GLchar *") MemorySegment buf); - void glDebugMessageCallbackARB(@NativeType("GLDEBUGPROCARB") MemorySegment callback, @NativeType("const void *") MemorySegment userParam); + default void glDebugMessageControlARB(int source, int type, int severity, int count, @NativeType("const GLuint *") MemorySegment ids, boolean enabled) { + throw new ContextException(); + } + + default void glDebugMessageInsertARB(int source, int type, int id, int severity, int length, @NativeType("const GLchar *") MemorySegment buf) { + throw new ContextException(); + } + + default void glDebugMessageCallbackARB(@NativeType("GLDEBUGPROCARB") MemorySegment callback, @NativeType("const void *") MemorySegment userParam) { + throw new ContextException(); + } + @overrun.marshal.gen.Skip default void glDebugMessageCallbackARB(Arena arena, overrungl.opengl.GLDebugProc callback, @NativeType("const void *") MemorySegment userParam) { glDebugMessageCallbackARB(callback.stub(arena), userParam); } - int glGetDebugMessageLogARB(int count, int bufSize, @NativeType("GLenum *") MemorySegment sources, @NativeType("GLenum *") MemorySegment types, @NativeType("GLuint *") MemorySegment ids, @NativeType("GLenum *") MemorySegment severities, @NativeType("GLsizei *") MemorySegment lengths, @NativeType("GLchar *") MemorySegment messageLog); + + default int glGetDebugMessageLogARB(int count, int bufSize, @NativeType("GLenum *") MemorySegment sources, @NativeType("GLenum *") MemorySegment types, @NativeType("GLuint *") MemorySegment ids, @NativeType("GLenum *") MemorySegment severities, @NativeType("GLsizei *") MemorySegment lengths, @NativeType("GLchar *") MemorySegment messageLog) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDepthTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDepthTexture.java index 1531431b..dd785016 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDepthTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDepthTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawBuffers.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawBuffers.java index 209d702c..e7139d07 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawBuffers.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawBuffers.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -43,5 +42,8 @@ public interface GLARBDrawBuffers { int GL_DRAW_BUFFER14_ARB = 0x8833; int GL_DRAW_BUFFER15_ARB = 0x8834; - void glDrawBuffersARB(int n, @NativeType("const GLenum *") MemorySegment bufs); + default void glDrawBuffersARB(int n, @NativeType("const GLenum *") MemorySegment bufs) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawBuffersBlend.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawBuffersBlend.java index 6ea9b85d..c3072fde 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawBuffersBlend.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawBuffersBlend.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,8 +25,20 @@ */ public interface GLARBDrawBuffersBlend { - void glBlendEquationiARB(int buf, int mode); - void glBlendEquationSeparateiARB(int buf, int modeRGB, int modeAlpha); - void glBlendFunciARB(int buf, int src, int dst); - void glBlendFuncSeparateiARB(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha); + default void glBlendEquationiARB(int buf, int mode) { + throw new ContextException(); + } + + default void glBlendEquationSeparateiARB(int buf, int modeRGB, int modeAlpha) { + throw new ContextException(); + } + + default void glBlendFunciARB(int buf, int src, int dst) { + throw new ContextException(); + } + + default void glBlendFuncSeparateiARB(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawInstanced.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawInstanced.java index 598e1d20..b5a7cb52 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawInstanced.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBDrawInstanced.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLARBDrawInstanced { - void glDrawArraysInstancedARB(int mode, int first, int count, int primcount); - void glDrawElementsInstancedARB(int mode, int count, int type, @NativeType("const void *") MemorySegment indices, int primcount); + default void glDrawArraysInstancedARB(int mode, int first, int count, int primcount) { + throw new ContextException(); + } + + default void glDrawElementsInstancedARB(int mode, int count, int type, @NativeType("const void *") MemorySegment indices, int primcount) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBES32Compatibility.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBES32Compatibility.java index b7c8b55f..0713347b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBES32Compatibility.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBES32Compatibility.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLARBES32Compatibility { int GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB = 0x9381; int GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB = 0x9382; - void glPrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW); + default void glPrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBFragmentProgram.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBFragmentProgram.java index 1e0914ab..ee7574fe 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBFragmentProgram.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBFragmentProgram.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -104,23 +103,80 @@ public interface GLARBFragmentProgram { int GL_MATRIX30_ARB = 0x88DE; int GL_MATRIX31_ARB = 0x88DF; - void glProgramStringARB(int target, int format, int len, @NativeType("const void *") MemorySegment string); - void glBindProgramARB(int target, int program); - void glDeleteProgramsARB(int n, @NativeType("const GLuint *") MemorySegment programs); - void glGenProgramsARB(int n, @NativeType("GLuint *") MemorySegment programs); - void glProgramEnvParameter4dARB(int target, int index, double x, double y, double z, double w); - void glProgramEnvParameter4dvARB(int target, int index, @NativeType("const GLdouble *") MemorySegment params); - void glProgramEnvParameter4fARB(int target, int index, float x, float y, float z, float w); - void glProgramEnvParameter4fvARB(int target, int index, @NativeType("const GLfloat *") MemorySegment params); - void glProgramLocalParameter4dARB(int target, int index, double x, double y, double z, double w); - void glProgramLocalParameter4dvARB(int target, int index, @NativeType("const GLdouble *") MemorySegment params); - void glProgramLocalParameter4fARB(int target, int index, float x, float y, float z, float w); - void glProgramLocalParameter4fvARB(int target, int index, @NativeType("const GLfloat *") MemorySegment params); - void glGetProgramEnvParameterdvARB(int target, int index, @NativeType("GLdouble *") MemorySegment params); - void glGetProgramEnvParameterfvARB(int target, int index, @NativeType("GLfloat *") MemorySegment params); - void glGetProgramLocalParameterdvARB(int target, int index, @NativeType("GLdouble *") MemorySegment params); - void glGetProgramLocalParameterfvARB(int target, int index, @NativeType("GLfloat *") MemorySegment params); - void glGetProgramivARB(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetProgramStringARB(int target, int pname, @NativeType("void *") MemorySegment string); - boolean glIsProgramARB(int program); + default void glProgramStringARB(int target, int format, int len, @NativeType("const void *") MemorySegment string) { + throw new ContextException(); + } + + default void glBindProgramARB(int target, int program) { + throw new ContextException(); + } + + default void glDeleteProgramsARB(int n, @NativeType("const GLuint *") MemorySegment programs) { + throw new ContextException(); + } + + default void glGenProgramsARB(int n, @NativeType("GLuint *") MemorySegment programs) { + throw new ContextException(); + } + + default void glProgramEnvParameter4dARB(int target, int index, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glProgramEnvParameter4dvARB(int target, int index, @NativeType("const GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramEnvParameter4fARB(int target, int index, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glProgramEnvParameter4fvARB(int target, int index, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramLocalParameter4dARB(int target, int index, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glProgramLocalParameter4dvARB(int target, int index, @NativeType("const GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramLocalParameter4fARB(int target, int index, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glProgramLocalParameter4fvARB(int target, int index, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramEnvParameterdvARB(int target, int index, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramEnvParameterfvARB(int target, int index, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramLocalParameterdvARB(int target, int index, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramLocalParameterfvARB(int target, int index, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramivARB(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramStringARB(int target, int pname, @NativeType("void *") MemorySegment string) { + throw new ContextException(); + } + + default boolean glIsProgramARB(int program) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBFragmentShader.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBFragmentShader.java index ce3272f9..12476b48 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBFragmentShader.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBFragmentShader.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGLSpirv.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGLSpirv.java index 05d54f02..61ca1306 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGLSpirv.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGLSpirv.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLARBGLSpirv { int GL_SHADER_BINARY_FORMAT_SPIR_V_ARB = 0x9551; int GL_SPIR_V_BINARY_ARB = 0x9552; - void glSpecializeShaderARB(int shader, @NativeType("const GLchar *") MemorySegment pEntryPoint, int numSpecializationConstants, @NativeType("const GLuint *") MemorySegment pConstantIndex, @NativeType("const GLuint *") MemorySegment pConstantValue); + default void glSpecializeShaderARB(int shader, @NativeType("const GLchar *") MemorySegment pEntryPoint, int numSpecializationConstants, @NativeType("const GLuint *") MemorySegment pConstantIndex, @NativeType("const GLuint *") MemorySegment pConstantValue) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGeometryShader4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGeometryShader4.java index 0f340104..c856f9f5 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGeometryShader4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGeometryShader4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -44,8 +43,20 @@ public interface GLARBGeometryShader4 { int GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB = 0x8DE0; int GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB = 0x8DE1; - void glProgramParameteriARB(int program, int pname, int value); - void glFramebufferTextureARB(int target, int attachment, int texture, int level); - void glFramebufferTextureLayerARB(int target, int attachment, int texture, int level, int layer); - void glFramebufferTextureFaceARB(int target, int attachment, int texture, int level, int face); + default void glProgramParameteriARB(int program, int pname, int value) { + throw new ContextException(); + } + + default void glFramebufferTextureARB(int target, int attachment, int texture, int level) { + throw new ContextException(); + } + + default void glFramebufferTextureLayerARB(int target, int attachment, int texture, int level, int layer) { + throw new ContextException(); + } + + default void glFramebufferTextureFaceARB(int target, int attachment, int texture, int level, int face) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGpuShaderInt64.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGpuShaderInt64.java index 938da543..5075ef18 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGpuShaderInt64.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBGpuShaderInt64.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -33,40 +32,148 @@ public interface GLARBGpuShaderInt64 { int GL_UNSIGNED_INT64_VEC3_ARB = 0x8FF6; int GL_UNSIGNED_INT64_VEC4_ARB = 0x8FF7; - void glUniform1i64ARB(int location, long x); - void glUniform2i64ARB(int location, long x, long y); - void glUniform3i64ARB(int location, long x, long y, long z); - void glUniform4i64ARB(int location, long x, long y, long z, long w); - void glUniform1i64vARB(int location, int count, @NativeType("const GLint64 *") MemorySegment value); - void glUniform2i64vARB(int location, int count, @NativeType("const GLint64 *") MemorySegment value); - void glUniform3i64vARB(int location, int count, @NativeType("const GLint64 *") MemorySegment value); - void glUniform4i64vARB(int location, int count, @NativeType("const GLint64 *") MemorySegment value); - void glUniform1ui64ARB(int location, long x); - void glUniform2ui64ARB(int location, long x, long y); - void glUniform3ui64ARB(int location, long x, long y, long z); - void glUniform4ui64ARB(int location, long x, long y, long z, long w); - void glUniform1ui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glUniform2ui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glUniform3ui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glUniform4ui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glGetUniformi64vARB(int program, int location, @NativeType("GLint64 *") MemorySegment params); - void glGetUniformui64vARB(int program, int location, @NativeType("GLuint64 *") MemorySegment params); - void glGetnUniformi64vARB(int program, int location, int bufSize, @NativeType("GLint64 *") MemorySegment params); - void glGetnUniformui64vARB(int program, int location, int bufSize, @NativeType("GLuint64 *") MemorySegment params); - void glProgramUniform1i64ARB(int program, int location, long x); - void glProgramUniform2i64ARB(int program, int location, long x, long y); - void glProgramUniform3i64ARB(int program, int location, long x, long y, long z); - void glProgramUniform4i64ARB(int program, int location, long x, long y, long z, long w); - void glProgramUniform1i64vARB(int program, int location, int count, @NativeType("const GLint64 *") MemorySegment value); - void glProgramUniform2i64vARB(int program, int location, int count, @NativeType("const GLint64 *") MemorySegment value); - void glProgramUniform3i64vARB(int program, int location, int count, @NativeType("const GLint64 *") MemorySegment value); - void glProgramUniform4i64vARB(int program, int location, int count, @NativeType("const GLint64 *") MemorySegment value); - void glProgramUniform1ui64ARB(int program, int location, long x); - void glProgramUniform2ui64ARB(int program, int location, long x, long y); - void glProgramUniform3ui64ARB(int program, int location, long x, long y, long z); - void glProgramUniform4ui64ARB(int program, int location, long x, long y, long z, long w); - void glProgramUniform1ui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glProgramUniform2ui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glProgramUniform3ui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glProgramUniform4ui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment value); + default void glUniform1i64ARB(int location, long x) { + throw new ContextException(); + } + + default void glUniform2i64ARB(int location, long x, long y) { + throw new ContextException(); + } + + default void glUniform3i64ARB(int location, long x, long y, long z) { + throw new ContextException(); + } + + default void glUniform4i64ARB(int location, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glUniform1i64vARB(int location, int count, @NativeType("const GLint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform2i64vARB(int location, int count, @NativeType("const GLint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform3i64vARB(int location, int count, @NativeType("const GLint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform4i64vARB(int location, int count, @NativeType("const GLint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform1ui64ARB(int location, long x) { + throw new ContextException(); + } + + default void glUniform2ui64ARB(int location, long x, long y) { + throw new ContextException(); + } + + default void glUniform3ui64ARB(int location, long x, long y, long z) { + throw new ContextException(); + } + + default void glUniform4ui64ARB(int location, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glUniform1ui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform2ui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform3ui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform4ui64vARB(int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glGetUniformi64vARB(int program, int location, @NativeType("GLint64 *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetUniformui64vARB(int program, int location, @NativeType("GLuint64 *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetnUniformi64vARB(int program, int location, int bufSize, @NativeType("GLint64 *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetnUniformui64vARB(int program, int location, int bufSize, @NativeType("GLuint64 *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramUniform1i64ARB(int program, int location, long x) { + throw new ContextException(); + } + + default void glProgramUniform2i64ARB(int program, int location, long x, long y) { + throw new ContextException(); + } + + default void glProgramUniform3i64ARB(int program, int location, long x, long y, long z) { + throw new ContextException(); + } + + default void glProgramUniform4i64ARB(int program, int location, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glProgramUniform1i64vARB(int program, int location, int count, @NativeType("const GLint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform2i64vARB(int program, int location, int count, @NativeType("const GLint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform3i64vARB(int program, int location, int count, @NativeType("const GLint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform4i64vARB(int program, int location, int count, @NativeType("const GLint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform1ui64ARB(int program, int location, long x) { + throw new ContextException(); + } + + default void glProgramUniform2ui64ARB(int program, int location, long x, long y) { + throw new ContextException(); + } + + default void glProgramUniform3ui64ARB(int program, int location, long x, long y, long z) { + throw new ContextException(); + } + + default void glProgramUniform4ui64ARB(int program, int location, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glProgramUniform1ui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform2ui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform3ui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform4ui64vARB(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBHalfFloatPixel.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBHalfFloatPixel.java index b65c5a16..a1eb8142 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBHalfFloatPixel.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBHalfFloatPixel.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBImaging.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBImaging.java index 36b081e0..b1d2bf6f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBImaging.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBImaging.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -78,36 +77,132 @@ public interface GLARBImaging { int GL_REPLICATE_BORDER = 0x8153; int GL_CONVOLUTION_BORDER_COLOR = 0x8154; - void glColorTable(int target, int internalformat, int width, int format, int type, @NativeType("const void *") MemorySegment table); - void glColorTableParameterfv(int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glColorTableParameteriv(int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glCopyColorTable(int target, int internalformat, int x, int y, int width); - void glGetColorTable(int target, int format, int type, @NativeType("void *") MemorySegment table); - void glGetColorTableParameterfv(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetColorTableParameteriv(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glColorSubTable(int target, int start, int count, int format, int type, @NativeType("const void *") MemorySegment data); - void glCopyColorSubTable(int target, int start, int x, int y, int width); - void glConvolutionFilter1D(int target, int internalformat, int width, int format, int type, @NativeType("const void *") MemorySegment image); - void glConvolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, @NativeType("const void *") MemorySegment image); - void glConvolutionParameterf(int target, int pname, float params); - void glConvolutionParameterfv(int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glConvolutionParameteri(int target, int pname, int params); - void glConvolutionParameteriv(int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glCopyConvolutionFilter1D(int target, int internalformat, int x, int y, int width); - void glCopyConvolutionFilter2D(int target, int internalformat, int x, int y, int width, int height); - void glGetConvolutionFilter(int target, int format, int type, @NativeType("void *") MemorySegment image); - void glGetConvolutionParameterfv(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetConvolutionParameteriv(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetSeparableFilter(int target, int format, int type, @NativeType("void *") MemorySegment row, @NativeType("void *") MemorySegment column, @NativeType("void *") MemorySegment span); - void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, @NativeType("const void *") MemorySegment row, @NativeType("const void *") MemorySegment column); - void glGetHistogram(int target, boolean reset, int format, int type, @NativeType("void *") MemorySegment values); - void glGetHistogramParameterfv(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetHistogramParameteriv(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetMinmax(int target, boolean reset, int format, int type, @NativeType("void *") MemorySegment values); - void glGetMinmaxParameterfv(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetMinmaxParameteriv(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glHistogram(int target, int width, int internalformat, boolean sink); - void glMinmax(int target, int internalformat, boolean sink); - void glResetHistogram(int target); - void glResetMinmax(int target); + default void glColorTable(int target, int internalformat, int width, int format, int type, @NativeType("const void *") MemorySegment table) { + throw new ContextException(); + } + + default void glColorTableParameterfv(int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glColorTableParameteriv(int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glCopyColorTable(int target, int internalformat, int x, int y, int width) { + throw new ContextException(); + } + + default void glGetColorTable(int target, int format, int type, @NativeType("void *") MemorySegment table) { + throw new ContextException(); + } + + default void glGetColorTableParameterfv(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetColorTableParameteriv(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glColorSubTable(int target, int start, int count, int format, int type, @NativeType("const void *") MemorySegment data) { + throw new ContextException(); + } + + default void glCopyColorSubTable(int target, int start, int x, int y, int width) { + throw new ContextException(); + } + + default void glConvolutionFilter1D(int target, int internalformat, int width, int format, int type, @NativeType("const void *") MemorySegment image) { + throw new ContextException(); + } + + default void glConvolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, @NativeType("const void *") MemorySegment image) { + throw new ContextException(); + } + + default void glConvolutionParameterf(int target, int pname, float params) { + throw new ContextException(); + } + + default void glConvolutionParameterfv(int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glConvolutionParameteri(int target, int pname, int params) { + throw new ContextException(); + } + + default void glConvolutionParameteriv(int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glCopyConvolutionFilter1D(int target, int internalformat, int x, int y, int width) { + throw new ContextException(); + } + + default void glCopyConvolutionFilter2D(int target, int internalformat, int x, int y, int width, int height) { + throw new ContextException(); + } + + default void glGetConvolutionFilter(int target, int format, int type, @NativeType("void *") MemorySegment image) { + throw new ContextException(); + } + + default void glGetConvolutionParameterfv(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetConvolutionParameteriv(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetSeparableFilter(int target, int format, int type, @NativeType("void *") MemorySegment row, @NativeType("void *") MemorySegment column, @NativeType("void *") MemorySegment span) { + throw new ContextException(); + } + + default void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, @NativeType("const void *") MemorySegment row, @NativeType("const void *") MemorySegment column) { + throw new ContextException(); + } + + default void glGetHistogram(int target, boolean reset, int format, int type, @NativeType("void *") MemorySegment values) { + throw new ContextException(); + } + + default void glGetHistogramParameterfv(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetHistogramParameteriv(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMinmax(int target, boolean reset, int format, int type, @NativeType("void *") MemorySegment values) { + throw new ContextException(); + } + + default void glGetMinmaxParameterfv(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMinmaxParameteriv(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glHistogram(int target, int width, int internalformat, boolean sink) { + throw new ContextException(); + } + + default void glMinmax(int target, int internalformat, boolean sink) { + throw new ContextException(); + } + + default void glResetHistogram(int target) { + throw new ContextException(); + } + + default void glResetMinmax(int target) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBIndirectParameters.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBIndirectParameters.java index 14a79872..90fc2982 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBIndirectParameters.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBIndirectParameters.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,6 +27,12 @@ public interface GLARBIndirectParameters { int GL_PARAMETER_BUFFER_ARB = 0x80EE; int GL_PARAMETER_BUFFER_BINDING_ARB = 0x80EF; - void glMultiDrawArraysIndirectCountARB(int mode, @NativeType("const void *") MemorySegment indirect, long drawcount, int maxdrawcount, int stride); - void glMultiDrawElementsIndirectCountARB(int mode, int type, @NativeType("const void *") MemorySegment indirect, long drawcount, int maxdrawcount, int stride); + default void glMultiDrawArraysIndirectCountARB(int mode, @NativeType("const void *") MemorySegment indirect, long drawcount, int maxdrawcount, int stride) { + throw new ContextException(); + } + + default void glMultiDrawElementsIndirectCountARB(int mode, int type, @NativeType("const void *") MemorySegment indirect, long drawcount, int maxdrawcount, int stride) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBInstancedArrays.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBInstancedArrays.java index 2cc7b900..1fe3dd84 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBInstancedArrays.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBInstancedArrays.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,5 +26,8 @@ public interface GLARBInstancedArrays { int GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE; - void glVertexAttribDivisorARB(int index, int divisor); + default void glVertexAttribDivisorARB(int index, int divisor) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBInternalformatQuery2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBInternalformatQuery2.java index 6ef86dd3..72dc3581 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBInternalformatQuery2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBInternalformatQuery2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMatrixPalette.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMatrixPalette.java index 8cf2e932..f5f9895e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMatrixPalette.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMatrixPalette.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -36,9 +35,24 @@ public interface GLARBMatrixPalette { int GL_MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848; int GL_MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849; - void glCurrentPaletteMatrixARB(int index); - void glMatrixIndexubvARB(int size, @NativeType("const GLubyte *") MemorySegment indices); - void glMatrixIndexusvARB(int size, @NativeType("const GLushort *") MemorySegment indices); - void glMatrixIndexuivARB(int size, @NativeType("const GLuint *") MemorySegment indices); - void glMatrixIndexPointerARB(int size, int type, int stride, @NativeType("const void *") MemorySegment pointer); + default void glCurrentPaletteMatrixARB(int index) { + throw new ContextException(); + } + + default void glMatrixIndexubvARB(int size, @NativeType("const GLubyte *") MemorySegment indices) { + throw new ContextException(); + } + + default void glMatrixIndexusvARB(int size, @NativeType("const GLushort *") MemorySegment indices) { + throw new ContextException(); + } + + default void glMatrixIndexuivARB(int size, @NativeType("const GLuint *") MemorySegment indices) { + throw new ContextException(); + } + + default void glMatrixIndexPointerARB(int size, int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMultisample.java index bd907a47..c018b261 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMultisample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMultisample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -35,5 +34,8 @@ public interface GLARBMultisample { int GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB; int GL_MULTISAMPLE_BIT_ARB = 0x20000000; - void glSampleCoverageARB(float value, boolean invert); + default void glSampleCoverageARB(float value, boolean invert) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMultitexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMultitexture.java index 8d19dde6..c37b1e30 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMultitexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBMultitexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -61,38 +60,140 @@ public interface GLARBMultitexture { int GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1; int GL_MAX_TEXTURE_UNITS_ARB = 0x84E2; - void glActiveTextureARB(int texture); - void glClientActiveTextureARB(int texture); - void glMultiTexCoord1dARB(int target, double s); - void glMultiTexCoord1dvARB(int target, @NativeType("const GLdouble *") MemorySegment v); - void glMultiTexCoord1fARB(int target, float s); - void glMultiTexCoord1fvARB(int target, @NativeType("const GLfloat *") MemorySegment v); - void glMultiTexCoord1iARB(int target, int s); - void glMultiTexCoord1ivARB(int target, @NativeType("const GLint *") MemorySegment v); - void glMultiTexCoord1sARB(int target, short s); - void glMultiTexCoord1svARB(int target, @NativeType("const GLshort *") MemorySegment v); - void glMultiTexCoord2dARB(int target, double s, double t); - void glMultiTexCoord2dvARB(int target, @NativeType("const GLdouble *") MemorySegment v); - void glMultiTexCoord2fARB(int target, float s, float t); - void glMultiTexCoord2fvARB(int target, @NativeType("const GLfloat *") MemorySegment v); - void glMultiTexCoord2iARB(int target, int s, int t); - void glMultiTexCoord2ivARB(int target, @NativeType("const GLint *") MemorySegment v); - void glMultiTexCoord2sARB(int target, short s, short t); - void glMultiTexCoord2svARB(int target, @NativeType("const GLshort *") MemorySegment v); - void glMultiTexCoord3dARB(int target, double s, double t, double r); - void glMultiTexCoord3dvARB(int target, @NativeType("const GLdouble *") MemorySegment v); - void glMultiTexCoord3fARB(int target, float s, float t, float r); - void glMultiTexCoord3fvARB(int target, @NativeType("const GLfloat *") MemorySegment v); - void glMultiTexCoord3iARB(int target, int s, int t, int r); - void glMultiTexCoord3ivARB(int target, @NativeType("const GLint *") MemorySegment v); - void glMultiTexCoord3sARB(int target, short s, short t, short r); - void glMultiTexCoord3svARB(int target, @NativeType("const GLshort *") MemorySegment v); - void glMultiTexCoord4dARB(int target, double s, double t, double r, double q); - void glMultiTexCoord4dvARB(int target, @NativeType("const GLdouble *") MemorySegment v); - void glMultiTexCoord4fARB(int target, float s, float t, float r, float q); - void glMultiTexCoord4fvARB(int target, @NativeType("const GLfloat *") MemorySegment v); - void glMultiTexCoord4iARB(int target, int s, int t, int r, int q); - void glMultiTexCoord4ivARB(int target, @NativeType("const GLint *") MemorySegment v); - void glMultiTexCoord4sARB(int target, short s, short t, short r, short q); - void glMultiTexCoord4svARB(int target, @NativeType("const GLshort *") MemorySegment v); + default void glActiveTextureARB(int texture) { + throw new ContextException(); + } + + default void glClientActiveTextureARB(int texture) { + throw new ContextException(); + } + + default void glMultiTexCoord1dARB(int target, double s) { + throw new ContextException(); + } + + default void glMultiTexCoord1dvARB(int target, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord1fARB(int target, float s) { + throw new ContextException(); + } + + default void glMultiTexCoord1fvARB(int target, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord1iARB(int target, int s) { + throw new ContextException(); + } + + default void glMultiTexCoord1ivARB(int target, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord1sARB(int target, short s) { + throw new ContextException(); + } + + default void glMultiTexCoord1svARB(int target, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord2dARB(int target, double s, double t) { + throw new ContextException(); + } + + default void glMultiTexCoord2dvARB(int target, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord2fARB(int target, float s, float t) { + throw new ContextException(); + } + + default void glMultiTexCoord2fvARB(int target, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord2iARB(int target, int s, int t) { + throw new ContextException(); + } + + default void glMultiTexCoord2ivARB(int target, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord2sARB(int target, short s, short t) { + throw new ContextException(); + } + + default void glMultiTexCoord2svARB(int target, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord3dARB(int target, double s, double t, double r) { + throw new ContextException(); + } + + default void glMultiTexCoord3dvARB(int target, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord3fARB(int target, float s, float t, float r) { + throw new ContextException(); + } + + default void glMultiTexCoord3fvARB(int target, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord3iARB(int target, int s, int t, int r) { + throw new ContextException(); + } + + default void glMultiTexCoord3ivARB(int target, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord3sARB(int target, short s, short t, short r) { + throw new ContextException(); + } + + default void glMultiTexCoord3svARB(int target, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord4dARB(int target, double s, double t, double r, double q) { + throw new ContextException(); + } + + default void glMultiTexCoord4dvARB(int target, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord4fARB(int target, float s, float t, float r, float q) { + throw new ContextException(); + } + + default void glMultiTexCoord4fvARB(int target, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord4iARB(int target, int s, int t, int r, int q) { + throw new ContextException(); + } + + default void glMultiTexCoord4ivARB(int target, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord4sARB(int target, short s, short t, short r, short q) { + throw new ContextException(); + } + + default void glMultiTexCoord4svARB(int target, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBOcclusionQuery.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBOcclusionQuery.java index cb510a95..140562ff 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBOcclusionQuery.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBOcclusionQuery.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,12 +30,36 @@ public interface GLARBOcclusionQuery { int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867; int GL_SAMPLES_PASSED_ARB = 0x8914; - void glGenQueriesARB(int n, @NativeType("GLuint *") MemorySegment ids); - void glDeleteQueriesARB(int n, @NativeType("const GLuint *") MemorySegment ids); - boolean glIsQueryARB(int id); - void glBeginQueryARB(int target, int id); - void glEndQueryARB(int target); - void glGetQueryivARB(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetQueryObjectivARB(int id, int pname, @NativeType("GLint *") MemorySegment params); - void glGetQueryObjectuivARB(int id, int pname, @NativeType("GLuint *") MemorySegment params); + default void glGenQueriesARB(int n, @NativeType("GLuint *") MemorySegment ids) { + throw new ContextException(); + } + + default void glDeleteQueriesARB(int n, @NativeType("const GLuint *") MemorySegment ids) { + throw new ContextException(); + } + + default boolean glIsQueryARB(int id) { + throw new ContextException(); + } + + default void glBeginQueryARB(int target, int id) { + throw new ContextException(); + } + + default void glEndQueryARB(int target) { + throw new ContextException(); + } + + default void glGetQueryivARB(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetQueryObjectivARB(int id, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetQueryObjectuivARB(int id, int pname, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBParallelShaderCompile.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBParallelShaderCompile.java index 1f04de7b..41869a4e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBParallelShaderCompile.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBParallelShaderCompile.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLARBParallelShaderCompile { int GL_MAX_SHADER_COMPILER_THREADS_ARB = 0x91B0; int GL_COMPLETION_STATUS_ARB = 0x91B1; - void glMaxShaderCompilerThreadsARB(int count); + default void glMaxShaderCompilerThreadsARB(int count) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPipelineStatisticsQuery.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPipelineStatisticsQuery.java index 25d35468..4649cf71 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPipelineStatisticsQuery.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPipelineStatisticsQuery.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPixelBufferObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPixelBufferObject.java index 4bb6e3d1..219b4893 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPixelBufferObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPixelBufferObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPointParameters.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPointParameters.java index c452e8a1..e94d5f92 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPointParameters.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPointParameters.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,6 +29,12 @@ public interface GLARBPointParameters { int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128; int GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129; - void glPointParameterfARB(int pname, float param); - void glPointParameterfvARB(int pname, @NativeType("const GLfloat *") MemorySegment params); + default void glPointParameterfARB(int pname, float param) { + throw new ContextException(); + } + + default void glPointParameterfvARB(int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPointSprite.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPointSprite.java index f5976b49..daad528e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPointSprite.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBPointSprite.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBRobustness.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBRobustness.java index 21661dd7..39cd6876 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBRobustness.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBRobustness.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -33,12 +32,36 @@ public interface GLARBRobustness { int GL_INNOCENT_CONTEXT_RESET_ARB = 0x8254; int GL_GUILTY_CONTEXT_RESET_ARB = 0x8253; - int glGetGraphicsResetStatusARB(); - void glGetnCompressedTexImageARB(int target, int lod, int bufSize, @NativeType("void*") MemorySegment img); - void glGetnTexImageARB(int target, int level, int format, int type, int bufSize, @NativeType("void*") MemorySegment img); - void glGetnUniformdvARB(int program, int location, int bufSize, @NativeType("GLdouble*") MemorySegment params); - void glGetnUniformfvARB(int program, int location, int bufSize, @NativeType("GLfloat*") MemorySegment params); - void glGetnUniformivARB(int program, int location, int bufSize, @NativeType("GLint*") MemorySegment params); - void glGetnUniformuivARB(int program, int location, int bufSize, @NativeType("GLuint*") MemorySegment params); - void glReadnPixelsARB(int x, int y, int width, int height, int format, int type, int bufSize, @NativeType("void*") MemorySegment data); + default int glGetGraphicsResetStatusARB() { + throw new ContextException(); + } + + default void glGetnCompressedTexImageARB(int target, int lod, int bufSize, @NativeType("void*") MemorySegment img) { + throw new ContextException(); + } + + default void glGetnTexImageARB(int target, int level, int format, int type, int bufSize, @NativeType("void*") MemorySegment img) { + throw new ContextException(); + } + + default void glGetnUniformdvARB(int program, int location, int bufSize, @NativeType("GLdouble*") MemorySegment params) { + throw new ContextException(); + } + + default void glGetnUniformfvARB(int program, int location, int bufSize, @NativeType("GLfloat*") MemorySegment params) { + throw new ContextException(); + } + + default void glGetnUniformivARB(int program, int location, int bufSize, @NativeType("GLint*") MemorySegment params) { + throw new ContextException(); + } + + default void glGetnUniformuivARB(int program, int location, int bufSize, @NativeType("GLuint*") MemorySegment params) { + throw new ContextException(); + } + + default void glReadnPixelsARB(int x, int y, int width, int height, int format, int type, int bufSize, @NativeType("void*") MemorySegment data) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSampleLocations.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSampleLocations.java index 93d92e62..8c893a5e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSampleLocations.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSampleLocations.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,7 +33,16 @@ public interface GLARBSampleLocations { int GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB = 0x9342; int GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB = 0x9343; - void glEvaluateDepthValuesARB(); - void glFramebufferSampleLocationsfvARB(int target, int start, int count, @NativeType("const GLfloat *v") MemorySegment v); - void glNamedFramebufferSampleLocationsfvARB(int framebuffer, int start, int count, @NativeType("const GLfloat *v") MemorySegment v); + default void glEvaluateDepthValuesARB() { + throw new ContextException(); + } + + default void glFramebufferSampleLocationsfvARB(int target, int start, int count, @NativeType("const GLfloat *v") MemorySegment v) { + throw new ContextException(); + } + + default void glNamedFramebufferSampleLocationsfvARB(int framebuffer, int start, int count, @NativeType("const GLfloat *v") MemorySegment v) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSampleShading.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSampleShading.java index 5bc7a42e..1f7f9f88 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSampleShading.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSampleShading.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLARBSampleShading { int GL_SAMPLE_SHADING_ARB = 0x8C36; int GL_MIN_SAMPLE_SHADING_VALUE_ARB = 0x8C37; - void glMinSampleShadingARB(float value); + default void glMinSampleShadingARB(float value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShaderObjects.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShaderObjects.java index fb3fa28e..ccea15ae 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShaderObjects.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShaderObjects.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -60,43 +59,160 @@ public interface GLARBShaderObjects { int GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87; int GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88; - void glDeleteObjectARB(int obj); - int glGetHandleARB(int pname); - void glDetachObjectARB(int containerObj, int attachedObj); - int glCreateShaderObjectARB(int shaderType); - void glShaderSourceARB(int shaderObj, int count, @NativeType("const GLcharARB**") MemorySegment string, @NativeType("const GLint*") MemorySegment length); - void glCompileShaderARB(int shaderObj); - int glCreateProgramObjectARB(); - void glAttachObjectARB(int containerObj, int obj); - void glLinkProgramARB(int programObj); - void glUseProgramObjectARB(int programObj); - void glValidateProgramARB(int programObj); - void glUniform1fARB(int location, float v0); - void glUniform2fARB(int location, float v0, float v1); - void glUniform3fARB(int location, float v0, float v1, float v2); - void glUniform4fARB(int location, float v0, float v1, float v2, float v3); - void glUniform1iARB(int location, int v0); - void glUniform2iARB(int location, int v0, int v1); - void glUniform3iARB(int location, int v0, int v1, int v2); - void glUniform4iARB(int location, int v0, int v1, int v2, int v3); - void glUniform1fvARB(int location, int count, @NativeType("const GLfloat*") MemorySegment value); - void glUniform2fvARB(int location, int count, @NativeType("const GLfloat*") MemorySegment value); - void glUniform3fvARB(int location, int count, @NativeType("const GLfloat*") MemorySegment value); - void glUniform4fvARB(int location, int count, @NativeType("const GLfloat*") MemorySegment value); - void glUniform1ivARB(int location, int count, @NativeType("const GLint*") MemorySegment value); - void glUniform2ivARB(int location, int count, @NativeType("const GLint*") MemorySegment value); - void glUniform3ivARB(int location, int count, @NativeType("const GLint*") MemorySegment value); - void glUniform4ivARB(int location, int count, @NativeType("const GLint*") MemorySegment value); - void glUniformMatrix2fvARB(int location, int count, boolean transpose, @NativeType("const GLfloat*") MemorySegment value); - void glUniformMatrix3fvARB(int location, int count, boolean transpose, @NativeType("const GLfloat*") MemorySegment value); - void glUniformMatrix4fvARB(int location, int count, boolean transpose, @NativeType("const GLfloat*") MemorySegment value); - void glGetObjectParameterfvARB(int obj, int pname, @NativeType("GLfloat*") MemorySegment params); - void glGetObjectParameterivARB(int obj, int pname, @NativeType("GLint*") MemorySegment params); - void glGetInfoLogARB(int obj, int maxLength, @NativeType("GLsizei*") MemorySegment length, @NativeType("GLcharARB*") MemorySegment infoLog); - void glGetAttachedObjectsARB(int containerObj, int maxCount, @NativeType("GLsizei*") MemorySegment count, @NativeType("GLhandleARB*") MemorySegment obj); - int glGetUniformLocationARB(int programObj, @NativeType("const GLcharARB*") MemorySegment name); - void glGetActiveUniformARB(int programObj, int index, int maxLength, @NativeType("GLsizei*") MemorySegment length, @NativeType("GLint*") MemorySegment size, @NativeType("GLenum*") MemorySegment type, @NativeType("GLcharARB*") MemorySegment name); - void glGetUniformfvARB(int programObj, int location, @NativeType("GLfloat*") MemorySegment params); - void glGetUniformivARB(int programObj, int location, @NativeType("GLint*") MemorySegment params); - void glGetShaderSourceARB(int obj, int maxLength, @NativeType("GLsizei*") MemorySegment length, @NativeType("GLcharARB*") MemorySegment source); + default void glDeleteObjectARB(int obj) { + throw new ContextException(); + } + + default int glGetHandleARB(int pname) { + throw new ContextException(); + } + + default void glDetachObjectARB(int containerObj, int attachedObj) { + throw new ContextException(); + } + + default int glCreateShaderObjectARB(int shaderType) { + throw new ContextException(); + } + + default void glShaderSourceARB(int shaderObj, int count, @NativeType("const GLcharARB**") MemorySegment string, @NativeType("const GLint*") MemorySegment length) { + throw new ContextException(); + } + + default void glCompileShaderARB(int shaderObj) { + throw new ContextException(); + } + + default int glCreateProgramObjectARB() { + throw new ContextException(); + } + + default void glAttachObjectARB(int containerObj, int obj) { + throw new ContextException(); + } + + default void glLinkProgramARB(int programObj) { + throw new ContextException(); + } + + default void glUseProgramObjectARB(int programObj) { + throw new ContextException(); + } + + default void glValidateProgramARB(int programObj) { + throw new ContextException(); + } + + default void glUniform1fARB(int location, float v0) { + throw new ContextException(); + } + + default void glUniform2fARB(int location, float v0, float v1) { + throw new ContextException(); + } + + default void glUniform3fARB(int location, float v0, float v1, float v2) { + throw new ContextException(); + } + + default void glUniform4fARB(int location, float v0, float v1, float v2, float v3) { + throw new ContextException(); + } + + default void glUniform1iARB(int location, int v0) { + throw new ContextException(); + } + + default void glUniform2iARB(int location, int v0, int v1) { + throw new ContextException(); + } + + default void glUniform3iARB(int location, int v0, int v1, int v2) { + throw new ContextException(); + } + + default void glUniform4iARB(int location, int v0, int v1, int v2, int v3) { + throw new ContextException(); + } + + default void glUniform1fvARB(int location, int count, @NativeType("const GLfloat*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform2fvARB(int location, int count, @NativeType("const GLfloat*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform3fvARB(int location, int count, @NativeType("const GLfloat*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform4fvARB(int location, int count, @NativeType("const GLfloat*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform1ivARB(int location, int count, @NativeType("const GLint*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform2ivARB(int location, int count, @NativeType("const GLint*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform3ivARB(int location, int count, @NativeType("const GLint*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform4ivARB(int location, int count, @NativeType("const GLint*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniformMatrix2fvARB(int location, int count, boolean transpose, @NativeType("const GLfloat*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniformMatrix3fvARB(int location, int count, boolean transpose, @NativeType("const GLfloat*") MemorySegment value) { + throw new ContextException(); + } + + default void glUniformMatrix4fvARB(int location, int count, boolean transpose, @NativeType("const GLfloat*") MemorySegment value) { + throw new ContextException(); + } + + default void glGetObjectParameterfvARB(int obj, int pname, @NativeType("GLfloat*") MemorySegment params) { + throw new ContextException(); + } + + default void glGetObjectParameterivARB(int obj, int pname, @NativeType("GLint*") MemorySegment params) { + throw new ContextException(); + } + + default void glGetInfoLogARB(int obj, int maxLength, @NativeType("GLsizei*") MemorySegment length, @NativeType("GLcharARB*") MemorySegment infoLog) { + throw new ContextException(); + } + + default void glGetAttachedObjectsARB(int containerObj, int maxCount, @NativeType("GLsizei*") MemorySegment count, @NativeType("GLhandleARB*") MemorySegment obj) { + throw new ContextException(); + } + + default int glGetUniformLocationARB(int programObj, @NativeType("const GLcharARB*") MemorySegment name) { + throw new ContextException(); + } + + default void glGetActiveUniformARB(int programObj, int index, int maxLength, @NativeType("GLsizei*") MemorySegment length, @NativeType("GLint*") MemorySegment size, @NativeType("GLenum*") MemorySegment type, @NativeType("GLcharARB*") MemorySegment name) { + throw new ContextException(); + } + + default void glGetUniformfvARB(int programObj, int location, @NativeType("GLfloat*") MemorySegment params) { + throw new ContextException(); + } + + default void glGetUniformivARB(int programObj, int location, @NativeType("GLint*") MemorySegment params) { + throw new ContextException(); + } + + default void glGetShaderSourceARB(int obj, int maxLength, @NativeType("GLsizei*") MemorySegment length, @NativeType("GLcharARB*") MemorySegment source) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadingLanguageInclude.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadingLanguageInclude.java index 1a871688..3a6e38ac 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadingLanguageInclude.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadingLanguageInclude.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,10 +28,28 @@ public interface GLARBShadingLanguageInclude { int GL_NAMED_STRING_LENGTH_ARB = 0x8DE9; int GL_NAMED_STRING_TYPE_ARB = 0x8DEA; - void glNamedStringARB(int type, int nameLen, @NativeType("const GLchar*") MemorySegment name, int stringLen, @NativeType("const GLchar*") MemorySegment string); - void glDeleteNamedStringARB(int nameLen, @NativeType("const GLchar*") MemorySegment name); - void glCompileShaderIncludeARB(int shader, int count, @NativeType("const GLchar *const*") MemorySegment path, @NativeType("const GLint*") MemorySegment length); - boolean glIsNamedStringARB(int nameLen, @NativeType("const GLchar*") MemorySegment name); - void glGetNamedStringARB(int nameLen, @NativeType("const GLchar*") MemorySegment name, int bufSize, @NativeType("GLint*") MemorySegment stringLen, @NativeType("GLchar*") MemorySegment string); - void glGetNamedStringivARB(int nameLen, @NativeType("const GLchar*") MemorySegment name, int pname, @NativeType("GLint*") MemorySegment params); + default void glNamedStringARB(int type, int nameLen, @NativeType("const GLchar*") MemorySegment name, int stringLen, @NativeType("const GLchar*") MemorySegment string) { + throw new ContextException(); + } + + default void glDeleteNamedStringARB(int nameLen, @NativeType("const GLchar*") MemorySegment name) { + throw new ContextException(); + } + + default void glCompileShaderIncludeARB(int shader, int count, @NativeType("const GLchar *const*") MemorySegment path, @NativeType("const GLint*") MemorySegment length) { + throw new ContextException(); + } + + default boolean glIsNamedStringARB(int nameLen, @NativeType("const GLchar*") MemorySegment name) { + throw new ContextException(); + } + + default void glGetNamedStringARB(int nameLen, @NativeType("const GLchar*") MemorySegment name, int bufSize, @NativeType("GLint*") MemorySegment stringLen, @NativeType("GLchar*") MemorySegment string) { + throw new ContextException(); + } + + default void glGetNamedStringivARB(int nameLen, @NativeType("const GLchar*") MemorySegment name, int pname, @NativeType("GLint*") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadow.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadow.java index 503bf0b6..bc145da3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadow.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadow.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadowAmbient.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadowAmbient.java index 0bf95f48..5a5db5fb 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadowAmbient.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBShadowAmbient.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSparseBuffer.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSparseBuffer.java index db1bd597..178c3fe4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSparseBuffer.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSparseBuffer.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,7 +27,16 @@ public interface GLARBSparseBuffer { int GL_SPARSE_STORAGE_BIT_ARB = 0x0400; int GL_SPARSE_BUFFER_PAGE_SIZE_ARB = 0x82F8; - void glBufferPageCommitmentARB(int target, long offset, long size, boolean commit); - void glNamedBufferPageCommitmentEXT(int buffer, long offset, long size, boolean commit); - void glNamedBufferPageCommitmentARB(int buffer, long offset, long size, boolean commit); + default void glBufferPageCommitmentARB(int target, long offset, long size, boolean commit) { + throw new ContextException(); + } + + default void glNamedBufferPageCommitmentEXT(int buffer, long offset, long size, boolean commit) { + throw new ContextException(); + } + + default void glNamedBufferPageCommitmentARB(int buffer, long offset, long size, boolean commit) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSparseTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSparseTexture.java index bf379694..34744101 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSparseTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBSparseTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -37,5 +36,8 @@ public interface GLARBSparseTexture { int GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB = 0x919A; int GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB = 0x91A9; - void glTexPageCommitmentARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, boolean commit); + default void glTexPageCommitmentARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, boolean commit) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureBorderClamp.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureBorderClamp.java index 598ddaaa..dae12362 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureBorderClamp.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureBorderClamp.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureBufferObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureBufferObject.java index 3d042c07..d00db87a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureBufferObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureBufferObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,5 +30,8 @@ public interface GLARBTextureBufferObject { int GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB = 0x8C2D; int GL_TEXTURE_BUFFER_FORMAT_ARB = 0x8C2E; - void glTexBufferARB(int target, int internalFormat, int buffer); + default void glTexBufferARB(int target, int internalFormat, int buffer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCompression.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCompression.java index 81e4b7d7..eb8a921c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCompression.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCompression.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -37,11 +36,32 @@ public interface GLARBTextureCompression { int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2; int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3; - void glCompressedTexImage3DARB(int target, int level, int internalFormat, int width, int height, int depth, int border, int imageSize, @NativeType("const void*") MemorySegment data); - void glCompressedTexImage2DARB(int target, int level, int internalFormat, int width, int height, int border, int imageSize, @NativeType("const void*") MemorySegment data); - void glCompressedTexImage1DARB(int target, int level, int internalFormat, int width, int border, int imageSize, @NativeType("const void*") MemorySegment data); - void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, @NativeType("const void*") MemorySegment data); - void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, @NativeType("const void*") MemorySegment data); - void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, @NativeType("const void*") MemorySegment data); - void glGetCompressedTexImageARB(int target, int level, @NativeType("void*") MemorySegment img); + default void glCompressedTexImage3DARB(int target, int level, int internalFormat, int width, int height, int depth, int border, int imageSize, @NativeType("const void*") MemorySegment data) { + throw new ContextException(); + } + + default void glCompressedTexImage2DARB(int target, int level, int internalFormat, int width, int height, int border, int imageSize, @NativeType("const void*") MemorySegment data) { + throw new ContextException(); + } + + default void glCompressedTexImage1DARB(int target, int level, int internalFormat, int width, int border, int imageSize, @NativeType("const void*") MemorySegment data) { + throw new ContextException(); + } + + default void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, @NativeType("const void*") MemorySegment data) { + throw new ContextException(); + } + + default void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, @NativeType("const void*") MemorySegment data) { + throw new ContextException(); + } + + default void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, @NativeType("const void*") MemorySegment data) { + throw new ContextException(); + } + + default void glGetCompressedTexImageARB(int target, int level, @NativeType("void*") MemorySegment img) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCompressionBptc.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCompressionBptc.java index 7123996a..e52dec8f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCompressionBptc.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCompressionBptc.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCubeMap.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCubeMap.java index ed357c56..d03ec6c2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCubeMap.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCubeMap.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCubeMapArray.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCubeMapArray.java index 81677195..523cf8bf 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCubeMapArray.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureCubeMapArray.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureEnvCombine.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureEnvCombine.java index 2bb47c38..be169d1b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureEnvCombine.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureEnvCombine.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureEnvDot3.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureEnvDot3.java index 9cfc4055..114e3b88 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureEnvDot3.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureEnvDot3.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureFilterMinmax.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureFilterMinmax.java index c767f9ee..3b814cc8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureFilterMinmax.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureFilterMinmax.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureFloat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureFloat.java index 45ab5d98..77056a27 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureFloat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureFloat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureGather.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureGather.java index ab9c1b24..710b9a40 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureGather.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureGather.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureMirroredRepeat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureMirroredRepeat.java index da8ed21a..7b88fc63 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureMirroredRepeat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureMirroredRepeat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureRectangle.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureRectangle.java index a8285b54..3b9d7975 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureRectangle.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTextureRectangle.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTransformFeedbackOverflowQuery.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTransformFeedbackOverflowQuery.java index cb5a874c..2bd65993 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTransformFeedbackOverflowQuery.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTransformFeedbackOverflowQuery.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTransposeMatrix.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTransposeMatrix.java index 63208c80..0a2a85c7 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTransposeMatrix.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBTransposeMatrix.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,8 +29,20 @@ public interface GLARBTransposeMatrix { int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5; int GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6; - void glLoadTransposeMatrixfARB(@NativeType("const GLfloat*") MemorySegment m); - void glLoadTransposeMatrixdARB(@NativeType("const GLdouble*") MemorySegment m); - void glMultTransposeMatrixfARB(@NativeType("const GLfloat*") MemorySegment m); - void glMultTransposeMatrixdARB(@NativeType("const GLdouble*") MemorySegment m); + default void glLoadTransposeMatrixfARB(@NativeType("const GLfloat*") MemorySegment m) { + throw new ContextException(); + } + + default void glLoadTransposeMatrixdARB(@NativeType("const GLdouble*") MemorySegment m) { + throw new ContextException(); + } + + default void glMultTransposeMatrixfARB(@NativeType("const GLfloat*") MemorySegment m) { + throw new ContextException(); + } + + default void glMultTransposeMatrixdARB(@NativeType("const GLdouble*") MemorySegment m) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexBlend.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexBlend.java index 6bfb752e..bbb4d9b7 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexBlend.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexBlend.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -68,14 +67,44 @@ public interface GLARBVertexBlend { int GL_MODELVIEW30_ARB = 0x873E; int GL_MODELVIEW31_ARB = 0x873F; - void glWeightbvARB(int size, @NativeType("const GLbyte*") MemorySegment weights); - void glWeightsvARB(int size, @NativeType("const GLshort*") MemorySegment weights); - void glWeightivARB(int size, @NativeType("const GLint*") MemorySegment weights); - void glWeightfvARB(int size, @NativeType("const GLfloat*") MemorySegment weights); - void glWeightdvARB(int size, @NativeType("const GLdouble*") MemorySegment weights); - void glWeightubvARB(int size, @NativeType("const GLubyte*") MemorySegment weights); - void glWeightusvARB(int size, @NativeType("const GLushort*") MemorySegment weights); - void glWeightuivARB(int size, @NativeType("const GLuint*") MemorySegment weights); - void glWeightPointerARB(int size, int type, int stride, @NativeType("const void*") MemorySegment pointer); - void glVertexBlendARB(int count); + default void glWeightbvARB(int size, @NativeType("const GLbyte*") MemorySegment weights) { + throw new ContextException(); + } + + default void glWeightsvARB(int size, @NativeType("const GLshort*") MemorySegment weights) { + throw new ContextException(); + } + + default void glWeightivARB(int size, @NativeType("const GLint*") MemorySegment weights) { + throw new ContextException(); + } + + default void glWeightfvARB(int size, @NativeType("const GLfloat*") MemorySegment weights) { + throw new ContextException(); + } + + default void glWeightdvARB(int size, @NativeType("const GLdouble*") MemorySegment weights) { + throw new ContextException(); + } + + default void glWeightubvARB(int size, @NativeType("const GLubyte*") MemorySegment weights) { + throw new ContextException(); + } + + default void glWeightusvARB(int size, @NativeType("const GLushort*") MemorySegment weights) { + throw new ContextException(); + } + + default void glWeightuivARB(int size, @NativeType("const GLuint*") MemorySegment weights) { + throw new ContextException(); + } + + default void glWeightPointerARB(int size, int type, int stride, @NativeType("const void*") MemorySegment pointer) { + throw new ContextException(); + } + + default void glVertexBlendARB(int count) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexBufferObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexBufferObject.java index 9566b4bb..f7766a2a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexBufferObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexBufferObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -57,15 +56,48 @@ public interface GLARBVertexBufferObject { int GL_DYNAMIC_READ_ARB = 0x88E9; int GL_DYNAMIC_COPY_ARB = 0x88EA; - void glBindBufferARB(int target, int buffer); - void glDeleteBuffersARB(int n, @NativeType("const GLuint*") MemorySegment buffers); - void glGenBuffersARB(int n, @NativeType("GLuint*") MemorySegment buffers); - boolean glIsBufferARB(int buffer); - void glBufferDataARB(int target, long size, @NativeType("const void*") MemorySegment data, int usage); - void glBufferSubDataARB(int target, long offset, long size, @NativeType("const void*") MemorySegment data); - void glGetBufferSubDataARB(int target, long offset, long size, @NativeType("void*") MemorySegment data); - @NativeType("void*") MemorySegment glMapBufferARB(int target, int access); - boolean glUnmapBufferARB(int target); - void glGetBufferParameterivARB(int target, int pname, @NativeType("GLint*") MemorySegment params); - void glGetBufferPointervARB(int target, int pname, @NativeType("void**") MemorySegment params); + default void glBindBufferARB(int target, int buffer) { + throw new ContextException(); + } + + default void glDeleteBuffersARB(int n, @NativeType("const GLuint*") MemorySegment buffers) { + throw new ContextException(); + } + + default void glGenBuffersARB(int n, @NativeType("GLuint*") MemorySegment buffers) { + throw new ContextException(); + } + + default boolean glIsBufferARB(int buffer) { + throw new ContextException(); + } + + default void glBufferDataARB(int target, long size, @NativeType("const void*") MemorySegment data, int usage) { + throw new ContextException(); + } + + default void glBufferSubDataARB(int target, long offset, long size, @NativeType("const void*") MemorySegment data) { + throw new ContextException(); + } + + default void glGetBufferSubDataARB(int target, long offset, long size, @NativeType("void*") MemorySegment data) { + throw new ContextException(); + } + + @NativeType("void*") default MemorySegment glMapBufferARB(int target, int access) { + throw new ContextException(); + } + + default boolean glUnmapBufferARB(int target) { + throw new ContextException(); + } + + default void glGetBufferParameterivARB(int target, int pname, @NativeType("GLint*") MemorySegment params) { + throw new ContextException(); + } + + default void glGetBufferPointervARB(int target, int pname, @NativeType("void**") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexProgram.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexProgram.java index c9b3a516..068d213c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexProgram.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexProgram.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -42,47 +41,176 @@ public interface GLARBVertexProgram { int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2; int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3; - void glVertexAttrib1dARB(int index, double x); - void glVertexAttrib1dvARB(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttrib1fARB(int index, float x); - void glVertexAttrib1fvARB(int index, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttrib1sARB(int index, short x); - void glVertexAttrib1svARB(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib2dARB(int index, double x, double y); - void glVertexAttrib2dvARB(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttrib2fARB(int index, float x, float y); - void glVertexAttrib2fvARB(int index, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttrib2sARB(int index, short x, short y); - void glVertexAttrib2svARB(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib3dARB(int index, double x, double y, double z); - void glVertexAttrib3dvARB(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttrib3fARB(int index, float x, float y, float z); - void glVertexAttrib3fvARB(int index, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttrib3sARB(int index, short x, short y, short z); - void glVertexAttrib3svARB(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib4NbvARB(int index, @NativeType("const GLbyte *") MemorySegment v); - void glVertexAttrib4NivARB(int index, @NativeType("const GLint *") MemorySegment v); - void glVertexAttrib4NsvARB(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w); - void glVertexAttrib4NubvARB(int index, @NativeType("const GLubyte *") MemorySegment v); - void glVertexAttrib4NuivARB(int index, @NativeType("const GLuint *") MemorySegment v); - void glVertexAttrib4NusvARB(int index, @NativeType("const GLushort *") MemorySegment v); - void glVertexAttrib4bvARB(int index, @NativeType("const GLbyte *") MemorySegment v); - void glVertexAttrib4dARB(int index, double x, double y, double z, double w); - void glVertexAttrib4dvARB(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttrib4fARB(int index, float x, float y, float z, float w); - void glVertexAttrib4fvARB(int index, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttrib4ivARB(int index, @NativeType("const GLint *") MemorySegment v); - void glVertexAttrib4sARB(int index, short x, short y, short z, short w); - void glVertexAttrib4svARB(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib4ubvARB(int index, @NativeType("const GLubyte *") MemorySegment v); - void glVertexAttrib4uivARB(int index, @NativeType("const GLuint *") MemorySegment v); - void glVertexAttrib4usvARB(int index, @NativeType("const GLushort *") MemorySegment v); - void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, @NativeType("const void *") MemorySegment pointer); - void glEnableVertexAttribArrayARB(int index); - void glDisableVertexAttribArrayARB(int index); - void glGetVertexAttribdvARB(int index, int pname, @NativeType("GLdouble *") MemorySegment params); - void glGetVertexAttribfvARB(int index, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetVertexAttribivARB(int index, int pname, @NativeType("GLint *") MemorySegment params); - void glGetVertexAttribPointervARB(int index, int pname, @NativeType("void **") MemorySegment pointer); + default void glVertexAttrib1dARB(int index, double x) { + throw new ContextException(); + } + + default void glVertexAttrib1dvARB(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib1fARB(int index, float x) { + throw new ContextException(); + } + + default void glVertexAttrib1fvARB(int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib1sARB(int index, short x) { + throw new ContextException(); + } + + default void glVertexAttrib1svARB(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib2dARB(int index, double x, double y) { + throw new ContextException(); + } + + default void glVertexAttrib2dvARB(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib2fARB(int index, float x, float y) { + throw new ContextException(); + } + + default void glVertexAttrib2fvARB(int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib2sARB(int index, short x, short y) { + throw new ContextException(); + } + + default void glVertexAttrib2svARB(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib3dARB(int index, double x, double y, double z) { + throw new ContextException(); + } + + default void glVertexAttrib3dvARB(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib3fARB(int index, float x, float y, float z) { + throw new ContextException(); + } + + default void glVertexAttrib3fvARB(int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib3sARB(int index, short x, short y, short z) { + throw new ContextException(); + } + + default void glVertexAttrib3svARB(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4NbvARB(int index, @NativeType("const GLbyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4NivARB(int index, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4NsvARB(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w) { + throw new ContextException(); + } + + default void glVertexAttrib4NubvARB(int index, @NativeType("const GLubyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4NuivARB(int index, @NativeType("const GLuint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4NusvARB(int index, @NativeType("const GLushort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4bvARB(int index, @NativeType("const GLbyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4dARB(int index, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glVertexAttrib4dvARB(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4fARB(int index, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glVertexAttrib4fvARB(int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4ivARB(int index, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4sARB(int index, short x, short y, short z, short w) { + throw new ContextException(); + } + + default void glVertexAttrib4svARB(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4ubvARB(int index, @NativeType("const GLubyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4uivARB(int index, @NativeType("const GLuint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4usvARB(int index, @NativeType("const GLushort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glEnableVertexAttribArrayARB(int index) { + throw new ContextException(); + } + + default void glDisableVertexAttribArrayARB(int index) { + throw new ContextException(); + } + + default void glGetVertexAttribdvARB(int index, int pname, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribfvARB(int index, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribivARB(int index, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribPointervARB(int index, int pname, @NativeType("void **") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexShader.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexShader.java index 123cdd76..e5b6d87b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexShader.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBVertexShader.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -33,7 +32,16 @@ public interface GLARBVertexShader { int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89; int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A; - void glBindAttribLocationARB(int programObj, int index, @NativeType("const GLcharARB *") MemorySegment name); - void glGetActiveAttribARB(int programObj, int index, int maxLength, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLint *") MemorySegment size, @NativeType("GLenum *") MemorySegment type, @NativeType("GLcharARB *") MemorySegment name); - int glGetAttribLocationARB(int programObj, @NativeType("const GLcharARB *") MemorySegment name); + default void glBindAttribLocationARB(int programObj, int index, @NativeType("const GLcharARB *") MemorySegment name) { + throw new ContextException(); + } + + default void glGetActiveAttribARB(int programObj, int index, int maxLength, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLint *") MemorySegment size, @NativeType("GLenum *") MemorySegment type, @NativeType("GLcharARB *") MemorySegment name) { + throw new ContextException(); + } + + default int glGetAttribLocationARB(int programObj, @NativeType("const GLcharARB *") MemorySegment name) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBViewportArray.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBViewportArray.java index 8fcf0f6d..25c650ac 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBViewportArray.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBViewportArray.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLARBViewportArray { - void glDepthRangeArraydvNV(int first, int count, @NativeType("const GLdouble *") MemorySegment v); - void glDepthRangeIndexeddNV(int index, double n, double f); + default void glDepthRangeArraydvNV(int first, int count, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glDepthRangeIndexeddNV(int index, double n, double f) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBWindowPos.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBWindowPos.java index f54b370d..710a69f8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBWindowPos.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/arb/GLARBWindowPos.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.arb; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,20 +25,68 @@ */ public interface GLARBWindowPos { - void glWindowPos2dARB(double x, double y); - void glWindowPos2dvARB(@NativeType("const GLdouble *") MemorySegment v); - void glWindowPos2fARB(float x, float y); - void glWindowPos2fvARB(@NativeType("const GLfloat *") MemorySegment v); - void glWindowPos2iARB(int x, int y); - void glWindowPos2ivARB(@NativeType("const GLint *") MemorySegment v); - void glWindowPos2sARB(short x, short y); - void glWindowPos2svARB(@NativeType("const GLshort *") MemorySegment v); - void glWindowPos3dARB(double x, double y, double z); - void glWindowPos3dvARB(@NativeType("const GLdouble *") MemorySegment v); - void glWindowPos3fARB(float x, float y, float z); - void glWindowPos3fvARB(@NativeType("const GLfloat *") MemorySegment v); - void glWindowPos3iARB(int x, int y, int z); - void glWindowPos3ivARB(@NativeType("const GLint *") MemorySegment v); - void glWindowPos3sARB(short x, short y, short z); - void glWindowPos3svARB(@NativeType("const GLshort *") MemorySegment v); + default void glWindowPos2dARB(double x, double y) { + throw new ContextException(); + } + + default void glWindowPos2dvARB(@NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos2fARB(float x, float y) { + throw new ContextException(); + } + + default void glWindowPos2fvARB(@NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos2iARB(int x, int y) { + throw new ContextException(); + } + + default void glWindowPos2ivARB(@NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos2sARB(short x, short y) { + throw new ContextException(); + } + + default void glWindowPos2svARB(@NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos3dARB(double x, double y, double z) { + throw new ContextException(); + } + + default void glWindowPos3dvARB(@NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos3fARB(float x, float y, float z) { + throw new ContextException(); + } + + default void glWindowPos3fvARB(@NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos3iARB(int x, int y, int z) { + throw new ContextException(); + } + + default void glWindowPos3ivARB(@NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos3sARB(short x, short y, short z) { + throw new ContextException(); + } + + default void glWindowPos3svARB(@NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIDrawBuffers.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIDrawBuffers.java index a4c2c642..8d68a03d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIDrawBuffers.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIDrawBuffers.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -43,5 +42,8 @@ public interface GLATIDrawBuffers { int GL_DRAW_BUFFER14_ATI = 0x8833; int GL_DRAW_BUFFER15_ATI = 0x8834; - void glDrawBuffersATI(int n, @NativeType("const GLenum *") MemorySegment bufs); + default void glDrawBuffersATI(int n, @NativeType("const GLenum *") MemorySegment bufs) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIElementArray.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIElementArray.java index 962c51b7..a088c8e3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIElementArray.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIElementArray.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,7 +28,16 @@ public interface GLATIElementArray { int GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769; int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A; - void glElementPointerATI(int type, @NativeType("const void *") MemorySegment pointer); - void glDrawElementArrayATI(int mode, int count); - void glDrawRangeElementArrayATI(int mode, int start, int end, int count); + default void glElementPointerATI(int type, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glDrawElementArrayATI(int mode, int count) { + throw new ContextException(); + } + + default void glDrawRangeElementArrayATI(int mode, int start, int end, int count) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIEnvmapBumpmap.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIEnvmapBumpmap.java index 0171ffb7..a4904ef6 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIEnvmapBumpmap.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIEnvmapBumpmap.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,8 +33,20 @@ public interface GLATIEnvmapBumpmap { int GL_BUMP_ENVMAP_ATI = 0x877B; int GL_BUMP_TARGET_ATI = 0x877C; - void glTexBumpParameterivATI(int pname, @NativeType("const GLint *") MemorySegment param); - void glTexBumpParameterfvATI(int pname, @NativeType("const GLfloat *") MemorySegment param); - void glGetTexBumpParameterivATI(int pname, @NativeType("GLint *") MemorySegment param); - void glGetTexBumpParameterfvATI(int pname, @NativeType("GLfloat *") MemorySegment param); + default void glTexBumpParameterivATI(int pname, @NativeType("const GLint *") MemorySegment param) { + throw new ContextException(); + } + + default void glTexBumpParameterfvATI(int pname, @NativeType("const GLfloat *") MemorySegment param) { + throw new ContextException(); + } + + default void glGetTexBumpParameterivATI(int pname, @NativeType("GLint *") MemorySegment param) { + throw new ContextException(); + } + + default void glGetTexBumpParameterfvATI(int pname, @NativeType("GLfloat *") MemorySegment param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIFragmentShader.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIFragmentShader.java index 9dd1f54f..0e293efb 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIFragmentShader.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIFragmentShader.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -130,18 +129,60 @@ public interface GLATIFragmentShader { int GL_NEGATE_BIT_ATI = 0x00000004; int GL_BIAS_BIT_ATI = 0x00000008; - int glGenFragmentShadersATI(int range); - void glBindFragmentShaderATI(int id); - void glDeleteFragmentShaderATI(int id); - void glBeginFragmentShaderATI(); - void glEndFragmentShaderATI(); - void glPassTexCoordATI(int dst, int coord, int swizzle); - void glSampleMapATI(int dst, int interp, int swizzle); - void glColorFragmentOp1ATI(int op, int dst, int dstMask, int dstMod, int arg1, int arg1Rep, int arg1Mod); - void glColorFragmentOp2ATI(int op, int dst, int dstMask, int dstMod, int arg1, int arg1Rep, int arg1Mod, int arg2, int arg2Rep, int arg2Mod); - void glColorFragmentOp3ATI(int op, int dst, int dstMask, int dstMod, int arg1, int arg1Rep, int arg1Mod, int arg2, int arg2Rep, int arg2Mod, int arg3, int arg3Rep, int arg3Mod); - void glAlphaFragmentOp1ATI(int op, int dst, int dstMod, int arg1, int arg1Rep, int arg1Mod); - void glAlphaFragmentOp2ATI(int op, int dst, int dstMod, int arg1, int arg1Rep, int arg1Mod, int arg2, int arg2Rep, int arg2Mod); - void glAlphaFragmentOp3ATI(int op, int dst, int dstMod, int arg1, int arg1Rep, int arg1Mod, int arg2, int arg2Rep, int arg2Mod, int arg3, int arg3Rep, int arg3Mod); - void glSetFragmentShaderConstantATI(int dst, @NativeType("const GLfloat *") MemorySegment value); + default int glGenFragmentShadersATI(int range) { + throw new ContextException(); + } + + default void glBindFragmentShaderATI(int id) { + throw new ContextException(); + } + + default void glDeleteFragmentShaderATI(int id) { + throw new ContextException(); + } + + default void glBeginFragmentShaderATI() { + throw new ContextException(); + } + + default void glEndFragmentShaderATI() { + throw new ContextException(); + } + + default void glPassTexCoordATI(int dst, int coord, int swizzle) { + throw new ContextException(); + } + + default void glSampleMapATI(int dst, int interp, int swizzle) { + throw new ContextException(); + } + + default void glColorFragmentOp1ATI(int op, int dst, int dstMask, int dstMod, int arg1, int arg1Rep, int arg1Mod) { + throw new ContextException(); + } + + default void glColorFragmentOp2ATI(int op, int dst, int dstMask, int dstMod, int arg1, int arg1Rep, int arg1Mod, int arg2, int arg2Rep, int arg2Mod) { + throw new ContextException(); + } + + default void glColorFragmentOp3ATI(int op, int dst, int dstMask, int dstMod, int arg1, int arg1Rep, int arg1Mod, int arg2, int arg2Rep, int arg2Mod, int arg3, int arg3Rep, int arg3Mod) { + throw new ContextException(); + } + + default void glAlphaFragmentOp1ATI(int op, int dst, int dstMod, int arg1, int arg1Rep, int arg1Mod) { + throw new ContextException(); + } + + default void glAlphaFragmentOp2ATI(int op, int dst, int dstMod, int arg1, int arg1Rep, int arg1Mod, int arg2, int arg2Rep, int arg2Mod) { + throw new ContextException(); + } + + default void glAlphaFragmentOp3ATI(int op, int dst, int dstMod, int arg1, int arg1Rep, int arg1Mod, int arg2, int arg2Rep, int arg2Mod, int arg3, int arg3Rep, int arg3Mod) { + throw new ContextException(); + } + + default void glSetFragmentShaderConstantATI(int dst, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIMapObjectBuffer.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIMapObjectBuffer.java index 58b3277a..e0947ba9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIMapObjectBuffer.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIMapObjectBuffer.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLATIMapObjectBuffer { - @NativeType("void*") MemorySegment glMapObjectBufferATI(int buffer); - void glUnmapObjectBufferATI(int buffer); + @NativeType("void*") default MemorySegment glMapObjectBufferATI(int buffer) { + throw new ContextException(); + } + + default void glUnmapObjectBufferATI(int buffer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIMeminfo.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIMeminfo.java index 323fdfcd..fdc4972f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIMeminfo.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIMeminfo.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIPixelFormatFloat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIPixelFormatFloat.java index 4525e399..1d75851e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIPixelFormatFloat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIPixelFormatFloat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIPnTriangles.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIPnTriangles.java index 15c22bc5..4f3ff91a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIPnTriangles.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIPnTriangles.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -35,6 +34,12 @@ public interface GLATIPnTriangles { int GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7; int GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8; - void glPNTrianglesiATI(int pname, int param); - void glPNTrianglesfATI(int pname, float param); + default void glPNTrianglesiATI(int pname, int param) { + throw new ContextException(); + } + + default void glPNTrianglesfATI(int pname, float param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATISeparateStencil.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATISeparateStencil.java index c91a8f56..c3236526 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATISeparateStencil.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATISeparateStencil.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,6 +29,12 @@ public interface GLATISeparateStencil { int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802; int GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803; - void glStencilOpSeparateATI(int face, int sfail, int dpfail, int dppass); - void glStencilFuncSeparateATI(int frontfunc, int backfunc, int ref, int mask); + default void glStencilOpSeparateATI(int face, int sfail, int dpfail, int dppass) { + throw new ContextException(); + } + + default void glStencilFuncSeparateATI(int frontfunc, int backfunc, int ref, int mask) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextFragmentShader.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextFragmentShader.java index 85c0c96a..b842b10d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextFragmentShader.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextFragmentShader.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureEnvCombine3.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureEnvCombine3.java index 4354fe2b..68b66387 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureEnvCombine3.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureEnvCombine3.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureFloat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureFloat.java index 238fa1e4..22828659 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureFloat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureFloat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureMirrorOnce.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureMirrorOnce.java index 32df2621..d3bb0123 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureMirrorOnce.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATITextureMirrorOnce.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexArrayObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexArrayObject.java index 25a657a3..86c3b05e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexArrayObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexArrayObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,16 +33,52 @@ public interface GLATIVertexArrayObject { int GL_ARRAY_OBJECT_BUFFER_ATI = 0x8766; int GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767; - int glNewObjectBufferATI(int size, @NativeType("const void *") MemorySegment pointer, int usage); - boolean glIsObjectBufferATI(int buffer); - void glUpdateObjectBufferATI(int buffer, int offset, int size, @NativeType("const void *") MemorySegment pointer, int preserve); - void glGetObjectBufferfvATI(int buffer, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetObjectBufferivATI(int buffer, int pname, @NativeType("GLint *") MemorySegment params); - void glFreeObjectBufferATI(int buffer); - void glArrayObjectATI(int array, int size, int type, int stride, int buffer, int offset); - void glGetArrayObjectfvATI(int array, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetArrayObjectivATI(int array, int pname, @NativeType("GLint *") MemorySegment params); - void glVariantArrayObjectATI(int id, int type, int stride, int buffer, int offset); - void glGetVariantArrayObjectfvATI(int id, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetVariantArrayObjectivATI(int id, int pname, @NativeType("GLint *") MemorySegment params); + default int glNewObjectBufferATI(int size, @NativeType("const void *") MemorySegment pointer, int usage) { + throw new ContextException(); + } + + default boolean glIsObjectBufferATI(int buffer) { + throw new ContextException(); + } + + default void glUpdateObjectBufferATI(int buffer, int offset, int size, @NativeType("const void *") MemorySegment pointer, int preserve) { + throw new ContextException(); + } + + default void glGetObjectBufferfvATI(int buffer, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetObjectBufferivATI(int buffer, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glFreeObjectBufferATI(int buffer) { + throw new ContextException(); + } + + default void glArrayObjectATI(int array, int size, int type, int stride, int buffer, int offset) { + throw new ContextException(); + } + + default void glGetArrayObjectfvATI(int array, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetArrayObjectivATI(int array, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glVariantArrayObjectATI(int id, int type, int stride, int buffer, int offset) { + throw new ContextException(); + } + + default void glGetVariantArrayObjectfvATI(int id, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVariantArrayObjectivATI(int id, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexAttribArrayObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexAttribArrayObject.java index 28f7bf88..a9b62857 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexAttribArrayObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexAttribArrayObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,7 +25,16 @@ */ public interface GLATIVertexAttribArrayObject { - void glVertexAttribArrayObjectATI(int index, int size, int type, boolean normalized, int stride, int buffer, int offset); - void glGetVertexAttribArrayObjectfvATI(int index, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetVertexAttribArrayObjectivATI(int index, int pname, @NativeType("GLint *") MemorySegment params); + default void glVertexAttribArrayObjectATI(int index, int size, int type, boolean normalized, int stride, int buffer, int offset) { + throw new ContextException(); + } + + default void glGetVertexAttribArrayObjectfvATI(int index, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribArrayObjectivATI(int index, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexStreams.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexStreams.java index 2f31d8ea..986993a2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexStreams.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ati/GLATIVertexStreams.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ati; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -36,49 +35,184 @@ public interface GLATIVertexStreams { int GL_VERTEX_STREAM7_ATI = 0x8773; int GL_VERTEX_SOURCE_ATI = 0x8774; - void glVertexStream1sATI(int stream, short x); - void glVertexStream1svATI(int stream, @NativeType("const GLshort *") MemorySegment coords); - void glVertexStream1iATI(int stream, int x); - void glVertexStream1ivATI(int stream, @NativeType("const GLint *") MemorySegment coords); - void glVertexStream1fATI(int stream, float x); - void glVertexStream1fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords); - void glVertexStream1dATI(int stream, double x); - void glVertexStream1dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords); - void glVertexStream2sATI(int stream, short x, short y); - void glVertexStream2svATI(int stream, @NativeType("const GLshort *") MemorySegment coords); - void glVertexStream2iATI(int stream, int x, int y); - void glVertexStream2ivATI(int stream, @NativeType("const GLint *") MemorySegment coords); - void glVertexStream2fATI(int stream, float x, float y); - void glVertexStream2fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords); - void glVertexStream2dATI(int stream, double x, double y); - void glVertexStream2dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords); - void glVertexStream3sATI(int stream, short x, short y, short z); - void glVertexStream3svATI(int stream, @NativeType("const GLshort *") MemorySegment coords); - void glVertexStream3iATI(int stream, int x, int y, int z); - void glVertexStream3ivATI(int stream, @NativeType("const GLint *") MemorySegment coords); - void glVertexStream3fATI(int stream, float x, float y, float z); - void glVertexStream3fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords); - void glVertexStream3dATI(int stream, double x, double y, double z); - void glVertexStream3dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords); - void glVertexStream4sATI(int stream, short x, short y, short z, short w); - void glVertexStream4svATI(int stream, @NativeType("const GLshort *") MemorySegment coords); - void glVertexStream4iATI(int stream, int x, int y, int z, int w); - void glVertexStream4ivATI(int stream, @NativeType("const GLint *") MemorySegment coords); - void glVertexStream4fATI(int stream, float x, float y, float z, float w); - void glVertexStream4fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords); - void glVertexStream4dATI(int stream, double x, double y, double z, double w); - void glVertexStream4dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords); - void glNormalStream3bATI(int stream, byte nx, byte ny, byte nz); - void glNormalStream3bvATI(int stream, @NativeType("const GLbyte *") MemorySegment coords); - void glNormalStream3sATI(int stream, short nx, short ny, short nz); - void glNormalStream3svATI(int stream, @NativeType("const GLshort *") MemorySegment coords); - void glNormalStream3iATI(int stream, int nx, int ny, int nz); - void glNormalStream3ivATI(int stream, @NativeType("const GLint *") MemorySegment coords); - void glNormalStream3fATI(int stream, float nx, float ny, float nz); - void glNormalStream3fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords); - void glNormalStream3dATI(int stream, double nx, double ny, double nz); - void glNormalStream3dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords); - void glClientActiveVertexStreamATI(int stream); - void glVertexBlendEnviATI(int pname, int param); - void glVertexBlendEnvfATI(int pname, float param); + default void glVertexStream1sATI(int stream, short x) { + throw new ContextException(); + } + + default void glVertexStream1svATI(int stream, @NativeType("const GLshort *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream1iATI(int stream, int x) { + throw new ContextException(); + } + + default void glVertexStream1ivATI(int stream, @NativeType("const GLint *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream1fATI(int stream, float x) { + throw new ContextException(); + } + + default void glVertexStream1fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream1dATI(int stream, double x) { + throw new ContextException(); + } + + default void glVertexStream1dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream2sATI(int stream, short x, short y) { + throw new ContextException(); + } + + default void glVertexStream2svATI(int stream, @NativeType("const GLshort *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream2iATI(int stream, int x, int y) { + throw new ContextException(); + } + + default void glVertexStream2ivATI(int stream, @NativeType("const GLint *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream2fATI(int stream, float x, float y) { + throw new ContextException(); + } + + default void glVertexStream2fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream2dATI(int stream, double x, double y) { + throw new ContextException(); + } + + default void glVertexStream2dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream3sATI(int stream, short x, short y, short z) { + throw new ContextException(); + } + + default void glVertexStream3svATI(int stream, @NativeType("const GLshort *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream3iATI(int stream, int x, int y, int z) { + throw new ContextException(); + } + + default void glVertexStream3ivATI(int stream, @NativeType("const GLint *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream3fATI(int stream, float x, float y, float z) { + throw new ContextException(); + } + + default void glVertexStream3fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream3dATI(int stream, double x, double y, double z) { + throw new ContextException(); + } + + default void glVertexStream3dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream4sATI(int stream, short x, short y, short z, short w) { + throw new ContextException(); + } + + default void glVertexStream4svATI(int stream, @NativeType("const GLshort *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream4iATI(int stream, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glVertexStream4ivATI(int stream, @NativeType("const GLint *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream4fATI(int stream, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glVertexStream4fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertexStream4dATI(int stream, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glVertexStream4dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords) { + throw new ContextException(); + } + + default void glNormalStream3bATI(int stream, byte nx, byte ny, byte nz) { + throw new ContextException(); + } + + default void glNormalStream3bvATI(int stream, @NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glNormalStream3sATI(int stream, short nx, short ny, short nz) { + throw new ContextException(); + } + + default void glNormalStream3svATI(int stream, @NativeType("const GLshort *") MemorySegment coords) { + throw new ContextException(); + } + + default void glNormalStream3iATI(int stream, int nx, int ny, int nz) { + throw new ContextException(); + } + + default void glNormalStream3ivATI(int stream, @NativeType("const GLint *") MemorySegment coords) { + throw new ContextException(); + } + + default void glNormalStream3fATI(int stream, float nx, float ny, float nz) { + throw new ContextException(); + } + + default void glNormalStream3fvATI(int stream, @NativeType("const GLfloat *") MemorySegment coords) { + throw new ContextException(); + } + + default void glNormalStream3dATI(int stream, double nx, double ny, double nz) { + throw new ContextException(); + } + + default void glNormalStream3dvATI(int stream, @NativeType("const GLdouble *") MemorySegment coords) { + throw new ContextException(); + } + + default void glClientActiveVertexStreamATI(int stream) { + throw new ContextException(); + } + + default void glVertexBlendEnviATI(int pname, int param) { + throw new ContextException(); + } + + default void glVertexBlendEnvfATI(int pname, float param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXT422Pixels.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXT422Pixels.java index fd905467..b3824988 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXT422Pixels.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXT422Pixels.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTAbgr.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTAbgr.java index cd8fec5d..0f670c80 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTAbgr.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTAbgr.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBgra.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBgra.java index e8503633..f1e8f865 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBgra.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBgra.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBindableUniform.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBindableUniform.java index 6f106c96..6ee5d678 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBindableUniform.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBindableUniform.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,7 +31,16 @@ public interface GLEXTBindableUniform { int GL_UNIFORM_BUFFER_EXT = 0x8DEE; int GL_UNIFORM_BUFFER_BINDING_EXT = 0x8DEF; - void glUniformBufferEXT(int program, int location, int buffer); - int glGetUniformBufferSizeEXT(int program, int location); - long glGetUniformOffsetEXT(int program, int location); + default void glUniformBufferEXT(int program, int location, int buffer) { + throw new ContextException(); + } + + default int glGetUniformBufferSizeEXT(int program, int location) { + throw new ContextException(); + } + + default long glGetUniformOffsetEXT(int program, int location) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendColor.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendColor.java index 59ffdc80..ee524b68 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendColor.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendColor.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,5 +30,8 @@ public interface GLEXTBlendColor { int GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004; int GL_BLEND_COLOR_EXT = 0x8005; - void glBlendColorEXT(float red, float green, float blue, float alpha); + default void glBlendColorEXT(float red, float green, float blue, float alpha) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendEquationSeparate.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendEquationSeparate.java index c0945a1c..6c088567 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendEquationSeparate.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendEquationSeparate.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLEXTBlendEquationSeparate { int GL_BLEND_EQUATION_RGB_EXT = 0x8009; int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D; - void glBlendEquationSeparateEXT(int modeRGB, int modeAlpha); + default void glBlendEquationSeparateEXT(int modeRGB, int modeAlpha) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendFuncSeparate.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendFuncSeparate.java index c101b5f8..29319c9e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendFuncSeparate.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendFuncSeparate.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLEXTBlendFuncSeparate { int GL_BLEND_DST_ALPHA_EXT = 0x80CA; int GL_BLEND_SRC_ALPHA_EXT = 0x80CB; - void glBlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha); + default void glBlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendMinmax.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendMinmax.java index 53d5b900..117a4837 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendMinmax.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendMinmax.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLEXTBlendMinmax { int GL_FUNC_ADD_EXT = 0x8006; int GL_BLEND_EQUATION_EXT = 0x8009; - void glBlendEquationEXT(int mode); + default void glBlendEquationEXT(int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendSubtract.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendSubtract.java index 4c95420b..f2b4b6f3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendSubtract.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTBlendSubtract.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTClipVolumeHint.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTClipVolumeHint.java index f41f47bd..d6776a02 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTClipVolumeHint.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTClipVolumeHint.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCmyka.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCmyka.java index b138d4bf..1c95a237 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCmyka.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCmyka.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTColorSubtable.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTColorSubtable.java index d5a83a9c..6a06a25f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTColorSubtable.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTColorSubtable.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTColorSubtable { - void glColorSubTableEXT(int target, int start, int count, int format, int type, @NativeType("const void *") MemorySegment data); - void glCopyColorSubTableEXT(int target, int start, int x, int y, int width); + default void glColorSubTableEXT(int target, int start, int count, int format, int type, @NativeType("const void *") MemorySegment data) { + throw new ContextException(); + } + + default void glCopyColorSubTableEXT(int target, int start, int x, int y, int width) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCompiledVertexArray.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCompiledVertexArray.java index 7c6f0b17..c167e351 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCompiledVertexArray.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCompiledVertexArray.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,6 +27,12 @@ public interface GLEXTCompiledVertexArray { int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8; int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9; - void glLockArraysEXT(int first, int count); - void glUnlockArraysEXT(); + default void glLockArraysEXT(int first, int count) { + throw new ContextException(); + } + + default void glUnlockArraysEXT() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTConvolution.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTConvolution.java index fd507ea5..2a53f944 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTConvolution.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTConvolution.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -46,17 +45,56 @@ public interface GLEXTConvolution { int GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022; int GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023; - void glConvolutionFilter1DEXT(int target, int internalformat, int width, int format, int type, @NativeType("const void *") MemorySegment image); - void glConvolutionFilter2DEXT(int target, int internalformat, int width, int height, int format, int type, @NativeType("const void *") MemorySegment image); - void glConvolutionParameterfEXT(int target, int pname, float params); - void glConvolutionParameterfvEXT(int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glConvolutionParameteriEXT(int target, int pname, int params); - void glConvolutionParameterivEXT(int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glCopyConvolutionFilter1DEXT(int target, int internalformat, int x, int y, int width); - void glCopyConvolutionFilter2DEXT(int target, int internalformat, int x, int y, int width, int height); - void glGetConvolutionFilterEXT(int target, int format, int type, @NativeType("void *") MemorySegment image); - void glGetConvolutionParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetConvolutionParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetSeparableFilterEXT(int target, int format, int type, @NativeType("void *") MemorySegment row, @NativeType("void *") MemorySegment column, @NativeType("void *") MemorySegment span); - void glSeparableFilter2DEXT(int target, int internalformat, int width, int height, int format, int type, @NativeType("const void *") MemorySegment row, @NativeType("const void *") MemorySegment column); + default void glConvolutionFilter1DEXT(int target, int internalformat, int width, int format, int type, @NativeType("const void *") MemorySegment image) { + throw new ContextException(); + } + + default void glConvolutionFilter2DEXT(int target, int internalformat, int width, int height, int format, int type, @NativeType("const void *") MemorySegment image) { + throw new ContextException(); + } + + default void glConvolutionParameterfEXT(int target, int pname, float params) { + throw new ContextException(); + } + + default void glConvolutionParameterfvEXT(int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glConvolutionParameteriEXT(int target, int pname, int params) { + throw new ContextException(); + } + + default void glConvolutionParameterivEXT(int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glCopyConvolutionFilter1DEXT(int target, int internalformat, int x, int y, int width) { + throw new ContextException(); + } + + default void glCopyConvolutionFilter2DEXT(int target, int internalformat, int x, int y, int width, int height) { + throw new ContextException(); + } + + default void glGetConvolutionFilterEXT(int target, int format, int type, @NativeType("void *") MemorySegment image) { + throw new ContextException(); + } + + default void glGetConvolutionParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetConvolutionParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetSeparableFilterEXT(int target, int format, int type, @NativeType("void *") MemorySegment row, @NativeType("void *") MemorySegment column, @NativeType("void *") MemorySegment span) { + throw new ContextException(); + } + + default void glSeparableFilter2DEXT(int target, int internalformat, int width, int height, int format, int type, @NativeType("const void *") MemorySegment row, @NativeType("const void *") MemorySegment column) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCoordinateFrame.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCoordinateFrame.java index 3ac5c3c1..b89fa0d6 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCoordinateFrame.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCoordinateFrame.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -40,26 +39,92 @@ public interface GLEXTCoordinateFrame { int GL_MAP1_BINORMAL_EXT = 0x8446; int GL_MAP2_BINORMAL_EXT = 0x8447; - void glTangent3bEXT(byte tx, byte ty, byte tz); - void glTangent3bvEXT(@NativeType("const GLbyte *") MemorySegment v); - void glTangent3dEXT(double tx, double ty, double tz); - void glTangent3dvEXT(@NativeType("const GLdouble *") MemorySegment v); - void glTangent3fEXT(float tx, float ty, float tz); - void glTangent3fvEXT(@NativeType("const GLfloat *") MemorySegment v); - void glTangent3iEXT(int tx, int ty, int tz); - void glTangent3ivEXT(@NativeType("const GLint *") MemorySegment v); - void glTangent3sEXT(short tx, short ty, short tz); - void glTangent3svEXT(@NativeType("const GLshort *") MemorySegment v); - void glBinormal3bEXT(byte bx, byte by, byte bz); - void glBinormal3bvEXT(@NativeType("const GLbyte *") MemorySegment v); - void glBinormal3dEXT(double bx, double by, double bz); - void glBinormal3dvEXT(@NativeType("const GLdouble *") MemorySegment v); - void glBinormal3fEXT(float bx, float by, float bz); - void glBinormal3fvEXT(@NativeType("const GLfloat *") MemorySegment v); - void glBinormal3iEXT(int bx, int by, int bz); - void glBinormal3ivEXT(@NativeType("const GLint *") MemorySegment v); - void glBinormal3sEXT(short bx, short by, short bz); - void glBinormal3svEXT(@NativeType("const GLshort *") MemorySegment v); - void glTangentPointerEXT(int type, int stride, @NativeType("const void *") MemorySegment pointer); - void glBinormalPointerEXT(int type, int stride, @NativeType("const void *") MemorySegment pointer); + default void glTangent3bEXT(byte tx, byte ty, byte tz) { + throw new ContextException(); + } + + default void glTangent3bvEXT(@NativeType("const GLbyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glTangent3dEXT(double tx, double ty, double tz) { + throw new ContextException(); + } + + default void glTangent3dvEXT(@NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glTangent3fEXT(float tx, float ty, float tz) { + throw new ContextException(); + } + + default void glTangent3fvEXT(@NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glTangent3iEXT(int tx, int ty, int tz) { + throw new ContextException(); + } + + default void glTangent3ivEXT(@NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glTangent3sEXT(short tx, short ty, short tz) { + throw new ContextException(); + } + + default void glTangent3svEXT(@NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glBinormal3bEXT(byte bx, byte by, byte bz) { + throw new ContextException(); + } + + default void glBinormal3bvEXT(@NativeType("const GLbyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glBinormal3dEXT(double bx, double by, double bz) { + throw new ContextException(); + } + + default void glBinormal3dvEXT(@NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glBinormal3fEXT(float bx, float by, float bz) { + throw new ContextException(); + } + + default void glBinormal3fvEXT(@NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glBinormal3iEXT(int bx, int by, int bz) { + throw new ContextException(); + } + + default void glBinormal3ivEXT(@NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glBinormal3sEXT(short bx, short by, short bz) { + throw new ContextException(); + } + + default void glBinormal3svEXT(@NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glTangentPointerEXT(int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glBinormalPointerEXT(int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCopyTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCopyTexture.java index c887636d..1d82f52f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCopyTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCopyTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,9 +25,24 @@ */ public interface GLEXTCopyTexture { - void glCopyTexImage1DEXT(int target, int level, int internalformat, int x, int y, int width, int border); - void glCopyTexImage2DEXT(int target, int level, int internalformat, int x, int y, int width, int height, int border); - void glCopyTexSubImage1DEXT(int target, int level, int xoffset, int x, int y, int width); - void glCopyTexSubImage2DEXT(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height); - void glCopyTexSubImage3DEXT(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height); + default void glCopyTexImage1DEXT(int target, int level, int internalformat, int x, int y, int width, int border) { + throw new ContextException(); + } + + default void glCopyTexImage2DEXT(int target, int level, int internalformat, int x, int y, int width, int height, int border) { + throw new ContextException(); + } + + default void glCopyTexSubImage1DEXT(int target, int level, int xoffset, int x, int y, int width) { + throw new ContextException(); + } + + default void glCopyTexSubImage2DEXT(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) { + throw new ContextException(); + } + + default void glCopyTexSubImage3DEXT(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCullVertex.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCullVertex.java index e03bb2a0..e840b630 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCullVertex.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTCullVertex.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,6 +28,12 @@ public interface GLEXTCullVertex { int GL_CULL_VERTEX_EYE_POSITION_EXT = 0x81AB; int GL_CULL_VERTEX_OBJECT_POSITION_EXT = 0x81AC; - void glCullParameterdvEXT(int pname, @NativeType("GLdouble *") MemorySegment params); - void glCullParameterfvEXT(int pname, @NativeType("GLfloat *") MemorySegment params); + default void glCullParameterdvEXT(int pname, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glCullParameterfvEXT(int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDebugLabel.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDebugLabel.java index 426ffa11..18b62926 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDebugLabel.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDebugLabel.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,6 +31,12 @@ public interface GLEXTDebugLabel { int GL_QUERY_OBJECT_EXT = 0x9153; int GL_VERTEX_ARRAY_OBJECT_EXT = 0x9154; - void glLabelObjectEXT(int type, int object, int length, @NativeType("const GLchar *") MemorySegment label); - void glGetObjectLabelEXT(int type, int object, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLchar *") MemorySegment label); + default void glLabelObjectEXT(int type, int object, int length, @NativeType("const GLchar *") MemorySegment label) { + throw new ContextException(); + } + + default void glGetObjectLabelEXT(int type, int object, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLchar *") MemorySegment label) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDebugMarker.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDebugMarker.java index bbb05256..0d041b7a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDebugMarker.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDebugMarker.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,7 +25,16 @@ */ public interface GLEXTDebugMarker { - void glInsertEventMarkerEXT(int length, @NativeType("const GLchar *") MemorySegment marker); - void glPushGroupMarkerEXT(int length, @NativeType("const GLchar *") MemorySegment marker); - void glPopGroupMarkerEXT(); + default void glInsertEventMarkerEXT(int length, @NativeType("const GLchar *") MemorySegment marker) { + throw new ContextException(); + } + + default void glPushGroupMarkerEXT(int length, @NativeType("const GLchar *") MemorySegment marker) { + throw new ContextException(); + } + + default void glPopGroupMarkerEXT() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDepthBoundsTest.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDepthBoundsTest.java index a805f86a..f2c719d8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDepthBoundsTest.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDepthBoundsTest.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLEXTDepthBoundsTest { int GL_DEPTH_BOUNDS_TEST_EXT = 0x8890; int GL_DEPTH_BOUNDS_EXT = 0x8891; - void glDepthBoundsEXT(double zmin, double zmax); + default void glDepthBoundsEXT(double zmin, double zmax) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDirectStateAccess.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDirectStateAccess.java index d4f0a6ff..41ffec55 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDirectStateAccess.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDirectStateAccess.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,259 +28,1024 @@ public interface GLEXTDirectStateAccess { int GL_TRANSPOSE_PROGRAM_MATRIX_EXT = 0x8E2E; int GL_PROGRAM_MATRIX_STACK_DEPTH_EXT = 0x8E2F; - void glMatrixLoadfEXT(int mode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixLoaddEXT(int mode, @NativeType("const GLdouble *") MemorySegment m); - void glMatrixMultfEXT(int mode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixMultdEXT(int mode, @NativeType("const GLdouble *") MemorySegment m); - void glMatrixLoadIdentityEXT(int mode); - void glMatrixRotatefEXT(int mode, float angle, float x, float y, float z); - void glMatrixRotatedEXT(int mode, double angle, double x, double y, double z); - void glMatrixScalefEXT(int mode, float x, float y, float z); - void glMatrixScaledEXT(int mode, double x, double y, double z); - void glMatrixTranslatefEXT(int mode, float x, float y, float z); - void glMatrixTranslatedEXT(int mode, double x, double y, double z); - void glMatrixFrustumEXT(int mode, double left, double right, double bottom, double top, double zNear, double zFar); - void glMatrixOrthoEXT(int mode, double left, double right, double bottom, double top, double zNear, double zFar); - void glMatrixPopEXT(int mode); - void glMatrixPushEXT(int mode); - void glClientAttribDefaultEXT(int mask); - void glPushClientAttribDefaultEXT(int mask); - void glTextureParameterfEXT(int texture, int target, int pname, float param); - void glTextureParameterfvEXT(int texture, int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glTextureParameteriEXT(int texture, int target, int pname, int param); - void glTextureParameterivEXT(int texture, int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glTextureImage1DEXT(int texture, int target, int level, int internalformat, int width, int border, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glTextureImage2DEXT(int texture, int target, int level, int internalformat, int width, int height, int border, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glTextureSubImage1DEXT(int texture, int target, int level, int xoffset, int width, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glTextureSubImage2DEXT(int texture, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glCopyTextureImage1DEXT(int texture, int target, int level, int internalformat, int x, int y, int width, int border); - void glCopyTextureImage2DEXT(int texture, int target, int level, int internalformat, int x, int y, int width, int height, int border); - void glCopyTextureSubImage1DEXT(int texture, int target, int level, int xoffset, int x, int y, int width); - void glCopyTextureSubImage2DEXT(int texture, int target, int level, int xoffset, int yoffset, int x, int y, int width, int height); - void glGetTextureImageEXT(int texture, int target, int level, int format, int type, @NativeType("void *") MemorySegment pixels); - void glGetTextureParameterfvEXT(int texture, int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetTextureParameterivEXT(int texture, int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetTextureLevelParameterfvEXT(int texture, int target, int level, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetTextureLevelParameterivEXT(int texture, int target, int level, int pname, @NativeType("GLint *") MemorySegment params); - void glTextureImage3DEXT(int texture, int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glTextureSubImage3DEXT(int texture, int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glCopyTextureSubImage3DEXT(int texture, int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height); - void glBindMultiTextureEXT(int texunit, int target, int texture); - void glMultiTexCoordPointerEXT(int texunit, int size, int type, int stride, @NativeType("const void *") MemorySegment pointer); - void glMultiTexEnvfEXT(int texunit, int target, int pname, float param); - void glMultiTexEnvfvEXT(int texunit, int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glMultiTexEnviEXT(int texunit, int target, int pname, int param); - void glMultiTexEnvivEXT(int texunit, int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glMultiTexGendEXT(int texunit, int coord, int pname, double param); - void glMultiTexGendvEXT(int texunit, int coord, int pname, @NativeType("const GLdouble *") MemorySegment params); - void glMultiTexGenfEXT(int texunit, int coord, int pname, float param); - void glMultiTexGenfvEXT(int texunit, int coord, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glMultiTexGeniEXT(int texunit, int coord, int pname, int param); - void glMultiTexGenivEXT(int texunit, int coord, int pname, @NativeType("const GLint *") MemorySegment params); - void glGetMultiTexEnvfvEXT(int texunit, int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetMultiTexEnvivEXT(int texunit, int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetMultiTexGendvEXT(int texunit, int coord, int pname, @NativeType("GLdouble *") MemorySegment params); - void glGetMultiTexGenfvEXT(int texunit, int coord, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetMultiTexGenivEXT(int texunit, int coord, int pname, @NativeType("GLint *") MemorySegment params); - void glMultiTexParameteriEXT(int texunit, int target, int pname, int param); - void glMultiTexParameterivEXT(int texunit, int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glMultiTexParameterfEXT(int texunit, int target, int pname, float param); - void glMultiTexParameterfvEXT(int texunit, int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glMultiTexImage1DEXT(int texunit, int target, int level, int internalformat, int width, int border, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glMultiTexImage2DEXT(int texunit, int target, int level, int internalformat, int width, int height, int border, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glMultiTexSubImage1DEXT(int texunit, int target, int level, int xoffset, int width, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glMultiTexSubImage2DEXT(int texunit, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glCopyMultiTexImage1DEXT(int texunit, int target, int level, int internalformat, int x, int y, int width, int border); - void glCopyMultiTexImage2DEXT(int texunit, int target, int level, int internalformat, int x, int y, int width, int height, int border); - void glCopyMultiTexSubImage1DEXT(int texunit, int target, int level, int xoffset, int x, int y, int width); - void glCopyMultiTexSubImage2DEXT(int texunit, int target, int level, int xoffset, int yoffset, int x, int y, int width, int height); - void glGetMultiTexImageEXT(int texunit, int target, int level, int format, int type, @NativeType("void *") MemorySegment pixels); - void glGetMultiTexParameterfvEXT(int texunit, int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetMultiTexParameterivEXT(int texunit, int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetMultiTexLevelParameterfvEXT(int texunit, int target, int level, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetMultiTexLevelParameterivEXT(int texunit, int target, int level, int pname, @NativeType("GLint *") MemorySegment params); - void glMultiTexImage3DEXT(int texunit, int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glMultiTexSubImage3DEXT(int texunit, int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glCopyMultiTexSubImage3DEXT(int texunit, int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height); - void glEnableClientStateIndexedEXT(int array, int index); - void glDisableClientStateIndexedEXT(int array, int index); - void glGetFloatIndexedvEXT(int target, int index, @NativeType("GLfloat *") MemorySegment data); - void glGetDoubleIndexedvEXT(int target, int index, @NativeType("GLdouble *") MemorySegment data); - void glGetPointerIndexedvEXT(int target, int index, @NativeType("void **") MemorySegment data); - void glEnableIndexedEXT(int target, int index); - void glDisableIndexedEXT(int target, int index); - boolean glIsEnabledIndexedEXT(int target, int index); - void glGetIntegerIndexedvEXT(int target, int index, @NativeType("GLint *") MemorySegment data); - void glGetBooleanIndexedvEXT(int target, int index, @NativeType("GLboolean *") MemorySegment data); - void glCompressedTextureImage3DEXT(int texture, int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedTextureImage2DEXT(int texture, int target, int level, int internalformat, int width, int height, int border, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedTextureImage1DEXT(int texture, int target, int level, int internalformat, int width, int border, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedTextureSubImage3DEXT(int texture, int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedTextureSubImage2DEXT(int texture, int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedTextureSubImage1DEXT(int texture, int target, int level, int xoffset, int width, int format, int imageSize, @NativeType("const void *") MemorySegment bits); - void glGetCompressedTextureImageEXT(int texture, int target, int lod, @NativeType("void *") MemorySegment img); - void glCompressedMultiTexImage3DEXT(int texunit, int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedMultiTexImage2DEXT(int texunit, int target, int level, int internalformat, int width, int height, int border, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedMultiTexImage1DEXT(int texunit, int target, int level, int internalformat, int width, int border, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedMultiTexSubImage3DEXT(int texunit, int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedMultiTexSubImage2DEXT(int texunit, int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, @NativeType("const void *") MemorySegment bits); - void glCompressedMultiTexSubImage1DEXT(int texunit, int target, int level, int xoffset, int width, int format, int imageSize, @NativeType("const void *") MemorySegment bits); - void glGetCompressedMultiTexImageEXT(int texunit, int target, int lod, @NativeType("void *") MemorySegment img); - void glMatrixLoadTransposefEXT(int mode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixLoadTransposedEXT(int mode, @NativeType("const GLdouble *") MemorySegment m); - void glMatrixMultTransposefEXT(int mode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixMultTransposedEXT(int mode, @NativeType("const GLdouble *") MemorySegment m); - void glNamedBufferDataEXT(int buffer, long size, @NativeType("const void *") MemorySegment data, int usage); - void glNamedBufferSubDataEXT(int buffer, long offset, long size, @NativeType("const void *") MemorySegment data); - @NativeType("void *") MemorySegment glMapNamedBufferEXT(int buffer, int access); - boolean glUnmapNamedBufferEXT(int buffer); - void glGetNamedBufferParameterivEXT(int buffer, int pname, @NativeType("GLint *") MemorySegment params); - void glGetNamedBufferPointervEXT(int buffer, int pname, @NativeType("void **") MemorySegment params); - void glGetNamedBufferSubDataEXT(int buffer, long offset, long size, @NativeType("void *") MemorySegment data); - void glProgramUniform1fEXT(int program, int location, float v0); - void glProgramUniform2fEXT(int program, int location, float v0, float v1); - void glProgramUniform3fEXT(int program, int location, float v0, float v1, float v2); - void glProgramUniform4fEXT(int program, int location, float v0, float v1, float v2, float v3); - void glProgramUniform1iEXT(int program, int location, int v0); - void glProgramUniform2iEXT(int program, int location, int v0, int v1); - void glProgramUniform3iEXT(int program, int location, int v0, int v1, int v2); - void glProgramUniform4iEXT(int program, int location, int v0, int v1, int v2, int v3); - void glProgramUniform1fvEXT(int program, int location, int count, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniform2fvEXT(int program, int location, int count, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniform3fvEXT(int program, int location, int count, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniform4fvEXT(int program, int location, int count, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniform1ivEXT(int program, int location, int count, @NativeType("const GLint *") MemorySegment value); - void glProgramUniform2ivEXT(int program, int location, int count, @NativeType("const GLint *") MemorySegment value); - void glProgramUniform3ivEXT(int program, int location, int count, @NativeType("const GLint *") MemorySegment value); - void glProgramUniform4ivEXT(int program, int location, int count, @NativeType("const GLint *") MemorySegment value); - void glProgramUniformMatrix2fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniformMatrix3fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniformMatrix4fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniformMatrix2x3fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniformMatrix3x2fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniformMatrix2x4fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniformMatrix4x2fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniformMatrix3x4fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glProgramUniformMatrix4x3fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value); - void glTextureBufferEXT(int texture, int target, int internalformat, int buffer); - void glMultiTexBufferEXT(int texunit, int target, int internalformat, int buffer); - void glTextureParameterIivEXT(int texture, int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glTextureParameterIuivEXT(int texture, int target, int pname, @NativeType("const GLuint *") MemorySegment params); - void glGetTextureParameterIivEXT(int texture, int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetTextureParameterIuivEXT(int texture, int target, int pname, @NativeType("GLuint *") MemorySegment params); - void glMultiTexParameterIivEXT(int texunit, int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glMultiTexParameterIuivEXT(int texunit, int target, int pname, @NativeType("const GLuint *") MemorySegment params); - void glGetMultiTexParameterIivEXT(int texunit, int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetMultiTexParameterIuivEXT(int texunit, int target, int pname, @NativeType("GLuint *") MemorySegment params); - void glProgramUniform1uiEXT(int program, int location, int v0); - void glProgramUniform2uiEXT(int program, int location, int v0, int v1); - void glProgramUniform3uiEXT(int program, int location, int v0, int v1, int v2); - void glProgramUniform4uiEXT(int program, int location, int v0, int v1, int v2, int v3); - void glProgramUniform1uivEXT(int program, int location, int count, @NativeType("const GLuint *") MemorySegment value); - void glProgramUniform2uivEXT(int program, int location, int count, @NativeType("const GLuint *") MemorySegment value); - void glProgramUniform3uivEXT(int program, int location, int count, @NativeType("const GLuint *") MemorySegment value); - void glProgramUniform4uivEXT(int program, int location, int count, @NativeType("const GLuint *") MemorySegment value); - void glNamedProgramLocalParameters4fvEXT(int program, int target, int index, int count, @NativeType("const GLfloat *") MemorySegment params); - void glNamedProgramLocalParameterI4iEXT(int program, int target, int index, int x, int y, int z, int w); - void glNamedProgramLocalParameterI4ivEXT(int program, int target, int index, @NativeType("const GLint *") MemorySegment params); - void glNamedProgramLocalParametersI4ivEXT(int program, int target, int index, int count, @NativeType("const GLint *") MemorySegment params); - void glNamedProgramLocalParameterI4uiEXT(int program, int target, int index, int x, int y, int z, int w); - void glNamedProgramLocalParameterI4uivEXT(int program, int target, int index, @NativeType("const GLuint *") MemorySegment params); - void glNamedProgramLocalParametersI4uivEXT(int program, int target, int index, int count, @NativeType("const GLuint *") MemorySegment params); - void glGetNamedProgramLocalParameterIivEXT(int program, int target, int index, @NativeType("GLint *") MemorySegment params); - void glGetNamedProgramLocalParameterIuivEXT(int program, int target, int index, @NativeType("GLuint *") MemorySegment params); - void glEnableClientStateiEXT(int array, int index); - void glDisableClientStateiEXT(int array, int index); - void glGetFloati_vEXT(int pname, int index, @NativeType("GLfloat *") MemorySegment params); - void glGetDoublei_vEXT(int pname, int index, @NativeType("GLdouble *") MemorySegment params); - void glGetPointeri_vEXT(int pname, int index, @NativeType("void **") MemorySegment params); - void glNamedProgramStringEXT(int program, int target, int format, int len, @NativeType("const void *") MemorySegment string); - void glNamedProgramLocalParameter4dEXT(int program, int target, int index, double x, double y, double z, double w); - void glNamedProgramLocalParameter4dvEXT(int program, int target, int index, @NativeType("const GLdouble *") MemorySegment params); - void glNamedProgramLocalParameter4fEXT(int program, int target, int index, float x, float y, float z, float w); - void glNamedProgramLocalParameter4fvEXT(int program, int target, int index, @NativeType("const GLfloat *") MemorySegment params); - void glGetNamedProgramLocalParameterdvEXT(int program, int target, int index, @NativeType("GLdouble *") MemorySegment params); - void glGetNamedProgramLocalParameterfvEXT(int program, int target, int index, @NativeType("GLfloat *") MemorySegment params); - void glGetNamedProgramivEXT(int program, int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetNamedProgramStringEXT(int program, int target, int pname, @NativeType("void *") MemorySegment string); - void glNamedRenderbufferStorageEXT(int renderbuffer, int internalformat, int width, int height); - void glGetNamedRenderbufferParameterivEXT(int renderbuffer, int pname, @NativeType("GLint *") MemorySegment params); - void glNamedRenderbufferStorageMultisampleEXT(int renderbuffer, int samples, int internalformat, int width, int height); - void glNamedRenderbufferStorageMultisampleCoverageEXT(int renderbuffer, int coverageSamples, int colorSamples, int internalformat, int width, int height); - int glCheckNamedFramebufferStatusEXT(int framebuffer, int target); - void glNamedFramebufferTexture1DEXT(int framebuffer, int attachment, int textarget, int texture, int level); - void glNamedFramebufferTexture2DEXT(int framebuffer, int attachment, int textarget, int texture, int level); - void glNamedFramebufferTexture3DEXT(int framebuffer, int attachment, int textarget, int texture, int level, int zoffset); - void glNamedFramebufferRenderbufferEXT(int framebuffer, int attachment, int renderbuffertarget, int renderbuffer); - void glGetNamedFramebufferAttachmentParameterivEXT(int framebuffer, int attachment, int pname, @NativeType("GLint *") MemorySegment params); - void glGenerateTextureMipmapEXT(int texture, int target); - void glGenerateMultiTexMipmapEXT(int texunit, int target); - void glFramebufferDrawBufferEXT(int framebuffer, int mode); - void glFramebufferDrawBuffersEXT(int framebuffer, int n, @NativeType("const GLenum *") MemorySegment bufs); - void glFramebufferReadBufferEXT(int framebuffer, int mode); - void glGetFramebufferParameterivEXT(int framebuffer, int pname, @NativeType("GLint *") MemorySegment params); - void glNamedCopyBufferSubDataEXT(int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size); - void glNamedFramebufferTextureEXT(int framebuffer, int attachment, int texture, int level); - void glNamedFramebufferTextureLayerEXT(int framebuffer, int attachment, int texture, int level, int layer); - void glNamedFramebufferTextureFaceEXT(int framebuffer, int attachment, int texture, int level, int face); - void glTextureRenderbufferEXT(int texture, int target, int renderbuffer); - void glMultiTexRenderbufferEXT(int texunit, int target, int renderbuffer); - void glVertexArrayVertexOffsetEXT(int vaobj, int buffer, int size, int type, int stride, long offset); - void glVertexArrayColorOffsetEXT(int vaobj, int buffer, int size, int type, int stride, long offset); - void glVertexArrayEdgeFlagOffsetEXT(int vaobj, int buffer, int stride, long offset); - void glVertexArrayIndexOffsetEXT(int vaobj, int buffer, int type, int stride, long offset); - void glVertexArrayNormalOffsetEXT(int vaobj, int buffer, int type, int stride, long offset); - void glVertexArrayTexCoordOffsetEXT(int vaobj, int buffer, int size, int type, int stride, long offset); - void glVertexArrayMultiTexCoordOffsetEXT(int vaobj, int buffer, int texunit, int size, int type, int stride, long offset); - void glVertexArrayFogCoordOffsetEXT(int vaobj, int buffer, int type, int stride, long offset); - void glVertexArraySecondaryColorOffsetEXT(int vaobj, int buffer, int size, int type, int stride, long offset); - void glVertexArrayVertexAttribOffsetEXT(int vaobj, int buffer, int index, int size, int type, boolean normalized, int stride, long offset); - void glVertexArrayVertexAttribIOffsetEXT(int vaobj, int buffer, int index, int size, int type, int stride, long offset); - void glEnableVertexArrayEXT(int vaobj, int array); - void glDisableVertexArrayEXT(int vaobj, int array); - void glEnableVertexArrayAttribEXT(int vaobj, int index); - void glDisableVertexArrayAttribEXT(int vaobj, int index); - void glGetVertexArrayIntegervEXT(int vaobj, int pname, @NativeType("GLint *") MemorySegment param); - void glGetVertexArrayPointervEXT(int vaobj, int pname, @NativeType("void **") MemorySegment param); - void glGetVertexArrayIntegeri_vEXT(int vaobj, int index, int pname, @NativeType("GLint *") MemorySegment param); - void glGetVertexArrayPointeri_vEXT(int vaobj, int index, int pname, @NativeType("void **") MemorySegment param); - void glMapNamedBufferRangeEXT(int buffer, long offset, long length, int access); - void glFlushMappedNamedBufferRangeEXT(int buffer, long offset, long length); - void glNamedBufferStorageEXT(int buffer, long size, @NativeType("const void *") MemorySegment data, int flags); - void glClearNamedBufferDataEXT(int buffer, int internalformat, int format, int type, @NativeType("const void *") MemorySegment data); - void glClearNamedBufferSubDataEXT(int buffer, int internalformat, long offset, long size, int format, int type, @NativeType("const void *") MemorySegment data); - void glNamedFramebufferParameteriEXT(int framebuffer, int pname, int param); - void glGetNamedFramebufferParameterivEXT(int framebuffer, int pname, @NativeType("GLint *") MemorySegment params); - void glProgramUniform1dEXT(int program, int location, double x); - void glProgramUniform2dEXT(int program, int location, double x, double y); - void glProgramUniform3dEXT(int program, int location, double x, double y, double z); - void glProgramUniform4dEXT(int program, int location, double x, double y, double z, double w); - void glProgramUniform1dvEXT(int program, int location, int count, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniform2dvEXT(int program, int location, int count, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniform3dvEXT(int program, int location, int count, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniform4dvEXT(int program, int location, int count, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix2dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix3dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix4dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix2x3dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix2x4dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix3x2dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix3x4dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix4x2dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glProgramUniformMatrix4x3dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value); - void glTextureBufferRangeEXT(int texture, int target, int internalformat, int buffer, long offset, long size); - void glTextureStorage1DEXT(int texture, int target, int levels, int internalformat, int width); - void glTextureStorage2DEXT(int texture, int target, int levels, int internalformat, int width, int height); - void glTextureStorage3DEXT(int texture, int target, int levels, int internalformat, int width, int height, int depth); - void glTextureStorage2DMultisampleEXT(int texture, int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations); - void glTextureStorage3DMultisampleEXT(int texture, int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations); - void glVertexArrayBindVertexBufferEXT(int vaobj, int bindingindex, int buffer, long offset, int stride); - void glVertexArrayVertexAttribFormatEXT(int vaobj, int attribindex, int size, int type, boolean normalized, int relativeoffset); - void glVertexArrayVertexAttribIFormatEXT(int vaobj, int attribindex, int size, int type, int relativeoffset); - void glVertexArrayVertexAttribLFormatEXT(int vaobj, int attribindex, int size, int type, int relativeoffset); - void glVertexArrayVertexAttribBindingEXT(int vaobj, int attribindex, int bindingindex); - void glVertexArrayVertexBindingDivisorEXT(int vaobj, int bindingindex, int divisor); - void glVertexArrayVertexAttribLOffsetEXT(int vaobj, int buffer, int index, int size, int type, int stride, long offset); - void glTexturePageCommitmentEXT(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, boolean commit); - void glVertexArrayVertexAttribDivisorEXT(int vaobj, int index, int divisor); + default void glMatrixLoadfEXT(int mode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixLoaddEXT(int mode, @NativeType("const GLdouble *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixMultfEXT(int mode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixMultdEXT(int mode, @NativeType("const GLdouble *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixLoadIdentityEXT(int mode) { + throw new ContextException(); + } + + default void glMatrixRotatefEXT(int mode, float angle, float x, float y, float z) { + throw new ContextException(); + } + + default void glMatrixRotatedEXT(int mode, double angle, double x, double y, double z) { + throw new ContextException(); + } + + default void glMatrixScalefEXT(int mode, float x, float y, float z) { + throw new ContextException(); + } + + default void glMatrixScaledEXT(int mode, double x, double y, double z) { + throw new ContextException(); + } + + default void glMatrixTranslatefEXT(int mode, float x, float y, float z) { + throw new ContextException(); + } + + default void glMatrixTranslatedEXT(int mode, double x, double y, double z) { + throw new ContextException(); + } + + default void glMatrixFrustumEXT(int mode, double left, double right, double bottom, double top, double zNear, double zFar) { + throw new ContextException(); + } + + default void glMatrixOrthoEXT(int mode, double left, double right, double bottom, double top, double zNear, double zFar) { + throw new ContextException(); + } + + default void glMatrixPopEXT(int mode) { + throw new ContextException(); + } + + default void glMatrixPushEXT(int mode) { + throw new ContextException(); + } + + default void glClientAttribDefaultEXT(int mask) { + throw new ContextException(); + } + + default void glPushClientAttribDefaultEXT(int mask) { + throw new ContextException(); + } + + default void glTextureParameterfEXT(int texture, int target, int pname, float param) { + throw new ContextException(); + } + + default void glTextureParameterfvEXT(int texture, int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glTextureParameteriEXT(int texture, int target, int pname, int param) { + throw new ContextException(); + } + + default void glTextureParameterivEXT(int texture, int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glTextureImage1DEXT(int texture, int target, int level, int internalformat, int width, int border, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glTextureImage2DEXT(int texture, int target, int level, int internalformat, int width, int height, int border, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glTextureSubImage1DEXT(int texture, int target, int level, int xoffset, int width, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glTextureSubImage2DEXT(int texture, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glCopyTextureImage1DEXT(int texture, int target, int level, int internalformat, int x, int y, int width, int border) { + throw new ContextException(); + } + + default void glCopyTextureImage2DEXT(int texture, int target, int level, int internalformat, int x, int y, int width, int height, int border) { + throw new ContextException(); + } + + default void glCopyTextureSubImage1DEXT(int texture, int target, int level, int xoffset, int x, int y, int width) { + throw new ContextException(); + } + + default void glCopyTextureSubImage2DEXT(int texture, int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) { + throw new ContextException(); + } + + default void glGetTextureImageEXT(int texture, int target, int level, int format, int type, @NativeType("void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glGetTextureParameterfvEXT(int texture, int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTextureParameterivEXT(int texture, int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTextureLevelParameterfvEXT(int texture, int target, int level, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTextureLevelParameterivEXT(int texture, int target, int level, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glTextureImage3DEXT(int texture, int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glTextureSubImage3DEXT(int texture, int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glCopyTextureSubImage3DEXT(int texture, int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) { + throw new ContextException(); + } + + default void glBindMultiTextureEXT(int texunit, int target, int texture) { + throw new ContextException(); + } + + default void glMultiTexCoordPointerEXT(int texunit, int size, int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glMultiTexEnvfEXT(int texunit, int target, int pname, float param) { + throw new ContextException(); + } + + default void glMultiTexEnvfvEXT(int texunit, int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexEnviEXT(int texunit, int target, int pname, int param) { + throw new ContextException(); + } + + default void glMultiTexEnvivEXT(int texunit, int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexGendEXT(int texunit, int coord, int pname, double param) { + throw new ContextException(); + } + + default void glMultiTexGendvEXT(int texunit, int coord, int pname, @NativeType("const GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexGenfEXT(int texunit, int coord, int pname, float param) { + throw new ContextException(); + } + + default void glMultiTexGenfvEXT(int texunit, int coord, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexGeniEXT(int texunit, int coord, int pname, int param) { + throw new ContextException(); + } + + default void glMultiTexGenivEXT(int texunit, int coord, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexEnvfvEXT(int texunit, int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexEnvivEXT(int texunit, int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexGendvEXT(int texunit, int coord, int pname, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexGenfvEXT(int texunit, int coord, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexGenivEXT(int texunit, int coord, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexParameteriEXT(int texunit, int target, int pname, int param) { + throw new ContextException(); + } + + default void glMultiTexParameterivEXT(int texunit, int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexParameterfEXT(int texunit, int target, int pname, float param) { + throw new ContextException(); + } + + default void glMultiTexParameterfvEXT(int texunit, int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexImage1DEXT(int texunit, int target, int level, int internalformat, int width, int border, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glMultiTexImage2DEXT(int texunit, int target, int level, int internalformat, int width, int height, int border, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glMultiTexSubImage1DEXT(int texunit, int target, int level, int xoffset, int width, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glMultiTexSubImage2DEXT(int texunit, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glCopyMultiTexImage1DEXT(int texunit, int target, int level, int internalformat, int x, int y, int width, int border) { + throw new ContextException(); + } + + default void glCopyMultiTexImage2DEXT(int texunit, int target, int level, int internalformat, int x, int y, int width, int height, int border) { + throw new ContextException(); + } + + default void glCopyMultiTexSubImage1DEXT(int texunit, int target, int level, int xoffset, int x, int y, int width) { + throw new ContextException(); + } + + default void glCopyMultiTexSubImage2DEXT(int texunit, int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) { + throw new ContextException(); + } + + default void glGetMultiTexImageEXT(int texunit, int target, int level, int format, int type, @NativeType("void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glGetMultiTexParameterfvEXT(int texunit, int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexParameterivEXT(int texunit, int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexLevelParameterfvEXT(int texunit, int target, int level, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexLevelParameterivEXT(int texunit, int target, int level, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexImage3DEXT(int texunit, int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glMultiTexSubImage3DEXT(int texunit, int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glCopyMultiTexSubImage3DEXT(int texunit, int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) { + throw new ContextException(); + } + + default void glEnableClientStateIndexedEXT(int array, int index) { + throw new ContextException(); + } + + default void glDisableClientStateIndexedEXT(int array, int index) { + throw new ContextException(); + } + + default void glGetFloatIndexedvEXT(int target, int index, @NativeType("GLfloat *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetDoubleIndexedvEXT(int target, int index, @NativeType("GLdouble *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetPointerIndexedvEXT(int target, int index, @NativeType("void **") MemorySegment data) { + throw new ContextException(); + } + + default void glEnableIndexedEXT(int target, int index) { + throw new ContextException(); + } + + default void glDisableIndexedEXT(int target, int index) { + throw new ContextException(); + } + + default boolean glIsEnabledIndexedEXT(int target, int index) { + throw new ContextException(); + } + + default void glGetIntegerIndexedvEXT(int target, int index, @NativeType("GLint *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetBooleanIndexedvEXT(int target, int index, @NativeType("GLboolean *") MemorySegment data) { + throw new ContextException(); + } + + default void glCompressedTextureImage3DEXT(int texture, int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedTextureImage2DEXT(int texture, int target, int level, int internalformat, int width, int height, int border, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedTextureImage1DEXT(int texture, int target, int level, int internalformat, int width, int border, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedTextureSubImage3DEXT(int texture, int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedTextureSubImage2DEXT(int texture, int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedTextureSubImage1DEXT(int texture, int target, int level, int xoffset, int width, int format, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glGetCompressedTextureImageEXT(int texture, int target, int lod, @NativeType("void *") MemorySegment img) { + throw new ContextException(); + } + + default void glCompressedMultiTexImage3DEXT(int texunit, int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedMultiTexImage2DEXT(int texunit, int target, int level, int internalformat, int width, int height, int border, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedMultiTexImage1DEXT(int texunit, int target, int level, int internalformat, int width, int border, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedMultiTexSubImage3DEXT(int texunit, int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedMultiTexSubImage2DEXT(int texunit, int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glCompressedMultiTexSubImage1DEXT(int texunit, int target, int level, int xoffset, int width, int format, int imageSize, @NativeType("const void *") MemorySegment bits) { + throw new ContextException(); + } + + default void glGetCompressedMultiTexImageEXT(int texunit, int target, int lod, @NativeType("void *") MemorySegment img) { + throw new ContextException(); + } + + default void glMatrixLoadTransposefEXT(int mode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixLoadTransposedEXT(int mode, @NativeType("const GLdouble *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixMultTransposefEXT(int mode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixMultTransposedEXT(int mode, @NativeType("const GLdouble *") MemorySegment m) { + throw new ContextException(); + } + + default void glNamedBufferDataEXT(int buffer, long size, @NativeType("const void *") MemorySegment data, int usage) { + throw new ContextException(); + } + + default void glNamedBufferSubDataEXT(int buffer, long offset, long size, @NativeType("const void *") MemorySegment data) { + throw new ContextException(); + } + + @NativeType("void *") default MemorySegment glMapNamedBufferEXT(int buffer, int access) { + throw new ContextException(); + } + + default boolean glUnmapNamedBufferEXT(int buffer) { + throw new ContextException(); + } + + default void glGetNamedBufferParameterivEXT(int buffer, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedBufferPointervEXT(int buffer, int pname, @NativeType("void **") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedBufferSubDataEXT(int buffer, long offset, long size, @NativeType("void *") MemorySegment data) { + throw new ContextException(); + } + + default void glProgramUniform1fEXT(int program, int location, float v0) { + throw new ContextException(); + } + + default void glProgramUniform2fEXT(int program, int location, float v0, float v1) { + throw new ContextException(); + } + + default void glProgramUniform3fEXT(int program, int location, float v0, float v1, float v2) { + throw new ContextException(); + } + + default void glProgramUniform4fEXT(int program, int location, float v0, float v1, float v2, float v3) { + throw new ContextException(); + } + + default void glProgramUniform1iEXT(int program, int location, int v0) { + throw new ContextException(); + } + + default void glProgramUniform2iEXT(int program, int location, int v0, int v1) { + throw new ContextException(); + } + + default void glProgramUniform3iEXT(int program, int location, int v0, int v1, int v2) { + throw new ContextException(); + } + + default void glProgramUniform4iEXT(int program, int location, int v0, int v1, int v2, int v3) { + throw new ContextException(); + } + + default void glProgramUniform1fvEXT(int program, int location, int count, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform2fvEXT(int program, int location, int count, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform3fvEXT(int program, int location, int count, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform4fvEXT(int program, int location, int count, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform1ivEXT(int program, int location, int count, @NativeType("const GLint *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform2ivEXT(int program, int location, int count, @NativeType("const GLint *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform3ivEXT(int program, int location, int count, @NativeType("const GLint *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform4ivEXT(int program, int location, int count, @NativeType("const GLint *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix2fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix3fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix4fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix2x3fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix3x2fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix2x4fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix4x2fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix3x4fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix4x3fvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glTextureBufferEXT(int texture, int target, int internalformat, int buffer) { + throw new ContextException(); + } + + default void glMultiTexBufferEXT(int texunit, int target, int internalformat, int buffer) { + throw new ContextException(); + } + + default void glTextureParameterIivEXT(int texture, int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glTextureParameterIuivEXT(int texture, int target, int pname, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTextureParameterIivEXT(int texture, int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTextureParameterIuivEXT(int texture, int target, int pname, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexParameterIivEXT(int texunit, int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMultiTexParameterIuivEXT(int texunit, int target, int pname, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexParameterIivEXT(int texunit, int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMultiTexParameterIuivEXT(int texunit, int target, int pname, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramUniform1uiEXT(int program, int location, int v0) { + throw new ContextException(); + } + + default void glProgramUniform2uiEXT(int program, int location, int v0, int v1) { + throw new ContextException(); + } + + default void glProgramUniform3uiEXT(int program, int location, int v0, int v1, int v2) { + throw new ContextException(); + } + + default void glProgramUniform4uiEXT(int program, int location, int v0, int v1, int v2, int v3) { + throw new ContextException(); + } + + default void glProgramUniform1uivEXT(int program, int location, int count, @NativeType("const GLuint *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform2uivEXT(int program, int location, int count, @NativeType("const GLuint *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform3uivEXT(int program, int location, int count, @NativeType("const GLuint *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform4uivEXT(int program, int location, int count, @NativeType("const GLuint *") MemorySegment value) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameters4fvEXT(int program, int target, int index, int count, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameterI4iEXT(int program, int target, int index, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameterI4ivEXT(int program, int target, int index, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glNamedProgramLocalParametersI4ivEXT(int program, int target, int index, int count, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameterI4uiEXT(int program, int target, int index, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameterI4uivEXT(int program, int target, int index, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glNamedProgramLocalParametersI4uivEXT(int program, int target, int index, int count, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedProgramLocalParameterIivEXT(int program, int target, int index, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedProgramLocalParameterIuivEXT(int program, int target, int index, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glEnableClientStateiEXT(int array, int index) { + throw new ContextException(); + } + + default void glDisableClientStateiEXT(int array, int index) { + throw new ContextException(); + } + + default void glGetFloati_vEXT(int pname, int index, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetDoublei_vEXT(int pname, int index, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetPointeri_vEXT(int pname, int index, @NativeType("void **") MemorySegment params) { + throw new ContextException(); + } + + default void glNamedProgramStringEXT(int program, int target, int format, int len, @NativeType("const void *") MemorySegment string) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameter4dEXT(int program, int target, int index, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameter4dvEXT(int program, int target, int index, @NativeType("const GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameter4fEXT(int program, int target, int index, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glNamedProgramLocalParameter4fvEXT(int program, int target, int index, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedProgramLocalParameterdvEXT(int program, int target, int index, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedProgramLocalParameterfvEXT(int program, int target, int index, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedProgramivEXT(int program, int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedProgramStringEXT(int program, int target, int pname, @NativeType("void *") MemorySegment string) { + throw new ContextException(); + } + + default void glNamedRenderbufferStorageEXT(int renderbuffer, int internalformat, int width, int height) { + throw new ContextException(); + } + + default void glGetNamedRenderbufferParameterivEXT(int renderbuffer, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glNamedRenderbufferStorageMultisampleEXT(int renderbuffer, int samples, int internalformat, int width, int height) { + throw new ContextException(); + } + + default void glNamedRenderbufferStorageMultisampleCoverageEXT(int renderbuffer, int coverageSamples, int colorSamples, int internalformat, int width, int height) { + throw new ContextException(); + } + + default int glCheckNamedFramebufferStatusEXT(int framebuffer, int target) { + throw new ContextException(); + } + + default void glNamedFramebufferTexture1DEXT(int framebuffer, int attachment, int textarget, int texture, int level) { + throw new ContextException(); + } + + default void glNamedFramebufferTexture2DEXT(int framebuffer, int attachment, int textarget, int texture, int level) { + throw new ContextException(); + } + + default void glNamedFramebufferTexture3DEXT(int framebuffer, int attachment, int textarget, int texture, int level, int zoffset) { + throw new ContextException(); + } + + default void glNamedFramebufferRenderbufferEXT(int framebuffer, int attachment, int renderbuffertarget, int renderbuffer) { + throw new ContextException(); + } + + default void glGetNamedFramebufferAttachmentParameterivEXT(int framebuffer, int attachment, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGenerateTextureMipmapEXT(int texture, int target) { + throw new ContextException(); + } + + default void glGenerateMultiTexMipmapEXT(int texunit, int target) { + throw new ContextException(); + } + + default void glFramebufferDrawBufferEXT(int framebuffer, int mode) { + throw new ContextException(); + } + + default void glFramebufferDrawBuffersEXT(int framebuffer, int n, @NativeType("const GLenum *") MemorySegment bufs) { + throw new ContextException(); + } + + default void glFramebufferReadBufferEXT(int framebuffer, int mode) { + throw new ContextException(); + } + + default void glGetFramebufferParameterivEXT(int framebuffer, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glNamedCopyBufferSubDataEXT(int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size) { + throw new ContextException(); + } + + default void glNamedFramebufferTextureEXT(int framebuffer, int attachment, int texture, int level) { + throw new ContextException(); + } + + default void glNamedFramebufferTextureLayerEXT(int framebuffer, int attachment, int texture, int level, int layer) { + throw new ContextException(); + } + + default void glNamedFramebufferTextureFaceEXT(int framebuffer, int attachment, int texture, int level, int face) { + throw new ContextException(); + } + + default void glTextureRenderbufferEXT(int texture, int target, int renderbuffer) { + throw new ContextException(); + } + + default void glMultiTexRenderbufferEXT(int texunit, int target, int renderbuffer) { + throw new ContextException(); + } + + default void glVertexArrayVertexOffsetEXT(int vaobj, int buffer, int size, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayColorOffsetEXT(int vaobj, int buffer, int size, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayEdgeFlagOffsetEXT(int vaobj, int buffer, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayIndexOffsetEXT(int vaobj, int buffer, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayNormalOffsetEXT(int vaobj, int buffer, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayTexCoordOffsetEXT(int vaobj, int buffer, int size, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayMultiTexCoordOffsetEXT(int vaobj, int buffer, int texunit, int size, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayFogCoordOffsetEXT(int vaobj, int buffer, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArraySecondaryColorOffsetEXT(int vaobj, int buffer, int size, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayVertexAttribOffsetEXT(int vaobj, int buffer, int index, int size, int type, boolean normalized, int stride, long offset) { + throw new ContextException(); + } + + default void glVertexArrayVertexAttribIOffsetEXT(int vaobj, int buffer, int index, int size, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glEnableVertexArrayEXT(int vaobj, int array) { + throw new ContextException(); + } + + default void glDisableVertexArrayEXT(int vaobj, int array) { + throw new ContextException(); + } + + default void glEnableVertexArrayAttribEXT(int vaobj, int index) { + throw new ContextException(); + } + + default void glDisableVertexArrayAttribEXT(int vaobj, int index) { + throw new ContextException(); + } + + default void glGetVertexArrayIntegervEXT(int vaobj, int pname, @NativeType("GLint *") MemorySegment param) { + throw new ContextException(); + } + + default void glGetVertexArrayPointervEXT(int vaobj, int pname, @NativeType("void **") MemorySegment param) { + throw new ContextException(); + } + + default void glGetVertexArrayIntegeri_vEXT(int vaobj, int index, int pname, @NativeType("GLint *") MemorySegment param) { + throw new ContextException(); + } + + default void glGetVertexArrayPointeri_vEXT(int vaobj, int index, int pname, @NativeType("void **") MemorySegment param) { + throw new ContextException(); + } + + default void glMapNamedBufferRangeEXT(int buffer, long offset, long length, int access) { + throw new ContextException(); + } + + default void glFlushMappedNamedBufferRangeEXT(int buffer, long offset, long length) { + throw new ContextException(); + } + + default void glNamedBufferStorageEXT(int buffer, long size, @NativeType("const void *") MemorySegment data, int flags) { + throw new ContextException(); + } + + default void glClearNamedBufferDataEXT(int buffer, int internalformat, int format, int type, @NativeType("const void *") MemorySegment data) { + throw new ContextException(); + } + + default void glClearNamedBufferSubDataEXT(int buffer, int internalformat, long offset, long size, int format, int type, @NativeType("const void *") MemorySegment data) { + throw new ContextException(); + } + + default void glNamedFramebufferParameteriEXT(int framebuffer, int pname, int param) { + throw new ContextException(); + } + + default void glGetNamedFramebufferParameterivEXT(int framebuffer, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramUniform1dEXT(int program, int location, double x) { + throw new ContextException(); + } + + default void glProgramUniform2dEXT(int program, int location, double x, double y) { + throw new ContextException(); + } + + default void glProgramUniform3dEXT(int program, int location, double x, double y, double z) { + throw new ContextException(); + } + + default void glProgramUniform4dEXT(int program, int location, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glProgramUniform1dvEXT(int program, int location, int count, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform2dvEXT(int program, int location, int count, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform3dvEXT(int program, int location, int count, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniform4dvEXT(int program, int location, int count, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix2dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix3dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix4dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix2x3dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix2x4dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix3x2dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix3x4dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix4x2dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformMatrix4x3dvEXT(int program, int location, int count, boolean transpose, @NativeType("const GLdouble *") MemorySegment value) { + throw new ContextException(); + } + + default void glTextureBufferRangeEXT(int texture, int target, int internalformat, int buffer, long offset, long size) { + throw new ContextException(); + } + + default void glTextureStorage1DEXT(int texture, int target, int levels, int internalformat, int width) { + throw new ContextException(); + } + + default void glTextureStorage2DEXT(int texture, int target, int levels, int internalformat, int width, int height) { + throw new ContextException(); + } + + default void glTextureStorage3DEXT(int texture, int target, int levels, int internalformat, int width, int height, int depth) { + throw new ContextException(); + } + + default void glTextureStorage2DMultisampleEXT(int texture, int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations) { + throw new ContextException(); + } + + default void glTextureStorage3DMultisampleEXT(int texture, int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations) { + throw new ContextException(); + } + + default void glVertexArrayBindVertexBufferEXT(int vaobj, int bindingindex, int buffer, long offset, int stride) { + throw new ContextException(); + } + + default void glVertexArrayVertexAttribFormatEXT(int vaobj, int attribindex, int size, int type, boolean normalized, int relativeoffset) { + throw new ContextException(); + } + + default void glVertexArrayVertexAttribIFormatEXT(int vaobj, int attribindex, int size, int type, int relativeoffset) { + throw new ContextException(); + } + + default void glVertexArrayVertexAttribLFormatEXT(int vaobj, int attribindex, int size, int type, int relativeoffset) { + throw new ContextException(); + } + + default void glVertexArrayVertexAttribBindingEXT(int vaobj, int attribindex, int bindingindex) { + throw new ContextException(); + } + + default void glVertexArrayVertexBindingDivisorEXT(int vaobj, int bindingindex, int divisor) { + throw new ContextException(); + } + + default void glVertexArrayVertexAttribLOffsetEXT(int vaobj, int buffer, int index, int size, int type, int stride, long offset) { + throw new ContextException(); + } + + default void glTexturePageCommitmentEXT(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, boolean commit) { + throw new ContextException(); + } + + default void glVertexArrayVertexAttribDivisorEXT(int vaobj, int index, int divisor) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawBuffers2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawBuffers2.java index 6aae1976..2f98ef87 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawBuffers2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawBuffers2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLEXTDrawBuffers2 { - void glColorMaskIndexedEXT(int index, boolean r, boolean g, boolean b, boolean a); + default void glColorMaskIndexedEXT(int index, boolean r, boolean g, boolean b, boolean a) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawInstanced.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawInstanced.java index 96e2d516..bd5498df 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawInstanced.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawInstanced.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTDrawInstanced { - void glDrawArraysInstancedEXT(int mode, int start, int count, int primcount); - void glDrawElementsInstancedEXT(int mode, int count, int type, @NativeType("const void *") MemorySegment indices, int primcount); + default void glDrawArraysInstancedEXT(int mode, int start, int count, int primcount) { + throw new ContextException(); + } + + default void glDrawElementsInstancedEXT(int mode, int count, int type, @NativeType("const void *") MemorySegment indices, int primcount) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawRangedElements.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawRangedElements.java index e55de973..583bc9a9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawRangedElements.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTDrawRangedElements.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLEXTDrawRangedElements { int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8; int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9; - void glDrawRangeElementsEXT(int mode, int start, int end, int count, int type, @NativeType("const void *") MemorySegment indices); + default void glDrawRangeElementsEXT(int mode, int start, int end, int count, int type, @NativeType("const void *") MemorySegment indices) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTEGLImageStorage.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTEGLImageStorage.java index 158a9b5f..ccc7d3f4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTEGLImageStorage.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTEGLImageStorage.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTEGLImageStorage { - void glEGLImageTargetTexStorageEXT(int target, @NativeType("GLeglImageOES") MemorySegment image, @NativeType("const GLint*") MemorySegment attrib_list); - void glEGLImageTargetTextureStorageEXT(int texture, @NativeType("GLeglImageOES") MemorySegment image, @NativeType("const GLint*") MemorySegment attrib_list); + default void glEGLImageTargetTexStorageEXT(int target, @NativeType("GLeglImageOES") MemorySegment image, @NativeType("const GLint*") MemorySegment attrib_list) { + throw new ContextException(); + } + + default void glEGLImageTargetTextureStorageEXT(int texture, @NativeType("GLeglImageOES") MemorySegment image, @NativeType("const GLint*") MemorySegment attrib_list) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTExternalBuffer.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTExternalBuffer.java index 25846367..fde1998e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTExternalBuffer.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTExternalBuffer.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTExternalBuffer { - void glBufferStorageExternalEXT(int target, long offset, long size, @NativeType("GLeglClientBufferEXT") MemorySegment clientBuffer, int flags); - void glNamedBufferStorageExternalEXT(int buffer, long offset, long size, @NativeType("GLeglClientBufferEXT") MemorySegment clientBuffer, int flags); + default void glBufferStorageExternalEXT(int target, long offset, long size, @NativeType("GLeglClientBufferEXT") MemorySegment clientBuffer, int flags) { + throw new ContextException(); + } + + default void glNamedBufferStorageExternalEXT(int buffer, long offset, long size, @NativeType("GLeglClientBufferEXT") MemorySegment clientBuffer, int flags) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFogCoord.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFogCoord.java index e9c38ada..efcbd435 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFogCoord.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFogCoord.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,9 +33,24 @@ public interface GLEXTFogCoord { int GL_FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456; int GL_FOG_COORDINATE_ARRAY_EXT = 0x8457; - void glFogCoordfEXT(float coord); - void glFogCoordfvEXT(@NativeType("const GLfloat *") MemorySegment coord); - void glFogCoorddEXT(double coord); - void glFogCoorddvEXT(@NativeType("const GLdouble *") MemorySegment coord); - void glFogCoordPointerEXT(int type, int stride, @NativeType("const void *") MemorySegment pointer); + default void glFogCoordfEXT(float coord) { + throw new ContextException(); + } + + default void glFogCoordfvEXT(@NativeType("const GLfloat *") MemorySegment coord) { + throw new ContextException(); + } + + default void glFogCoorddEXT(double coord) { + throw new ContextException(); + } + + default void glFogCoorddvEXT(@NativeType("const GLdouble *") MemorySegment coord) { + throw new ContextException(); + } + + default void glFogCoordPointerEXT(int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferBlit.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferBlit.java index 78a4b088..2aaf062b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferBlit.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferBlit.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLEXTFramebufferBlit { int GL_DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CA6; int GL_READ_FRAMEBUFFER_BINDING_EXT = 0x8CAA; - void glBlitFramebufferEXT(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter); + default void glBlitFramebufferEXT(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferBlitLayers.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferBlitLayers.java index 4d7d878d..97c7ae36 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferBlitLayers.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferBlitLayers.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTFramebufferBlitLayers { - void glBlitFramebufferLayersEXT(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter); - void glBlitFramebufferLayerEXT(int srcX0, int srcY0, int srcX1, int srcY1, int srcLayer, int dstX0, int dstY0, int dstX1, int dstY1, int dstLayer, int mask, int filter); + default void glBlitFramebufferLayersEXT(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) { + throw new ContextException(); + } + + default void glBlitFramebufferLayerEXT(int srcX0, int srcY0, int srcX1, int srcY1, int srcLayer, int dstX0, int dstY0, int dstX1, int dstY1, int dstLayer, int mask, int filter) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferMultisample.java index cff90adf..6cf1fa12 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferMultisample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferMultisample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLEXTFramebufferMultisample { int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56; int GL_MAX_SAMPLES_EXT = 0x8D57; - void glRenderbufferStorageMultisampleEXT(int target, int samples, int internalformat, int width, int height); + default void glRenderbufferStorageMultisampleEXT(int target, int samples, int internalformat, int width, int height) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferMultisampleBlitScaled.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferMultisampleBlitScaled.java index 2aec0ce9..112f975e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferMultisampleBlitScaled.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferMultisampleBlitScaled.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferObject.java index 7c52c99a..ebf658e2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTFramebufferObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -77,21 +76,72 @@ public interface GLEXTFramebufferObject { int GL_RENDERBUFFER_DEPTH_SIZE_EXT = 0x8D54; int GL_RENDERBUFFER_STENCIL_SIZE_EXT = 0x8D55; - boolean glIsRenderbufferEXT(int renderbuffer); - void glBindRenderbufferEXT(int target, int renderbuffer); - void glDeleteRenderbuffersEXT(int n, @NativeType("const GLuint *") MemorySegment renderbuffers); - void glGenRenderbuffersEXT(int n, @NativeType("GLuint *") MemorySegment renderbuffers); - void glRenderbufferStorageEXT(int target, int internalformat, int width, int height); - void glGetRenderbufferParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params); - boolean glIsFramebufferEXT(int framebuffer); - void glBindFramebufferEXT(int target, int framebuffer); - void glDeleteFramebuffersEXT(int n, @NativeType("const GLuint *") MemorySegment framebuffers); - void glGenFramebuffersEXT(int n, @NativeType("GLuint *") MemorySegment framebuffers); - int glCheckFramebufferStatusEXT(int target); - void glFramebufferTexture1DEXT(int target, int attachment, int textarget, int texture, int level); - void glFramebufferTexture2DEXT(int target, int attachment, int textarget, int texture, int level); - void glFramebufferTexture3DEXT(int target, int attachment, int textarget, int texture, int level, int zoffset); - void glFramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget, int renderbuffer); - void glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, @NativeType("GLint *") MemorySegment params); - void glGenerateMipmapEXT(int target); + default boolean glIsRenderbufferEXT(int renderbuffer) { + throw new ContextException(); + } + + default void glBindRenderbufferEXT(int target, int renderbuffer) { + throw new ContextException(); + } + + default void glDeleteRenderbuffersEXT(int n, @NativeType("const GLuint *") MemorySegment renderbuffers) { + throw new ContextException(); + } + + default void glGenRenderbuffersEXT(int n, @NativeType("GLuint *") MemorySegment renderbuffers) { + throw new ContextException(); + } + + default void glRenderbufferStorageEXT(int target, int internalformat, int width, int height) { + throw new ContextException(); + } + + default void glGetRenderbufferParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default boolean glIsFramebufferEXT(int framebuffer) { + throw new ContextException(); + } + + default void glBindFramebufferEXT(int target, int framebuffer) { + throw new ContextException(); + } + + default void glDeleteFramebuffersEXT(int n, @NativeType("const GLuint *") MemorySegment framebuffers) { + throw new ContextException(); + } + + default void glGenFramebuffersEXT(int n, @NativeType("GLuint *") MemorySegment framebuffers) { + throw new ContextException(); + } + + default int glCheckFramebufferStatusEXT(int target) { + throw new ContextException(); + } + + default void glFramebufferTexture1DEXT(int target, int attachment, int textarget, int texture, int level) { + throw new ContextException(); + } + + default void glFramebufferTexture2DEXT(int target, int attachment, int textarget, int texture, int level) { + throw new ContextException(); + } + + default void glFramebufferTexture3DEXT(int target, int attachment, int textarget, int texture, int level, int zoffset) { + throw new ContextException(); + } + + default void glFramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget, int renderbuffer) { + throw new ContextException(); + } + + default void glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGenerateMipmapEXT(int target) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGeometryShader4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGeometryShader4.java index 7dd86465..2ee9320d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGeometryShader4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGeometryShader4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -46,5 +45,8 @@ public interface GLEXTGeometryShader4 { int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4; int GL_PROGRAM_POINT_SIZE_EXT = 0x8642; - void glProgramParameteriEXT(int program, int pname, int value); + default void glProgramParameteriEXT(int program, int pname, int value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGpuProgramParameters.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGpuProgramParameters.java index ceaa6b41..5b3399ef 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGpuProgramParameters.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGpuProgramParameters.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTGpuProgramParameters { - void glProgramEnvParameters4fvEXT(int target, int index, int count, @NativeType("const GLfloat *") MemorySegment params); - void glProgramLocalParameters4fvEXT(int target, int index, int count, @NativeType("const GLfloat *") MemorySegment params); + default void glProgramEnvParameters4fvEXT(int target, int index, int count, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramLocalParameters4fvEXT(int target, int index, int count, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGpuShader4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGpuShader4.java index 9b569711..59e25c46 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGpuShader4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTGpuShader4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -54,38 +53,140 @@ public interface GLEXTGpuShader4 { int GL_MAX_PROGRAM_TEXEL_OFFSET_EXT = 0x8905; int GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT = 0x88FD; - void glGetUniformuivEXT(int program, int location, @NativeType("GLuint *") MemorySegment params); - void glBindFragDataLocationEXT(int program, int color, @NativeType("const GLchar *") MemorySegment name); - int glGetFragDataLocationEXT(int program, @NativeType("const GLchar *") MemorySegment name); - void glUniform1uiEXT(int location, int v0); - void glUniform2uiEXT(int location, int v0, int v1); - void glUniform3uiEXT(int location, int v0, int v1, int v2); - void glUniform4uiEXT(int location, int v0, int v1, int v2, int v3); - void glUniform1uivEXT(int location, int count, @NativeType("const GLuint *") MemorySegment value); - void glUniform2uivEXT(int location, int count, @NativeType("const GLuint *") MemorySegment value); - void glUniform3uivEXT(int location, int count, @NativeType("const GLuint *") MemorySegment value); - void glUniform4uivEXT(int location, int count, @NativeType("const GLuint *") MemorySegment value); - void glVertexAttribI1iEXT(int index, int x); - void glVertexAttribI2iEXT(int index, int x, int y); - void glVertexAttribI3iEXT(int index, int x, int y, int z); - void glVertexAttribI4iEXT(int index, int x, int y, int z, int w); - void glVertexAttribI1uiEXT(int index, int x); - void glVertexAttribI2uiEXT(int index, int x, int y); - void glVertexAttribI3uiEXT(int index, int x, int y, int z); - void glVertexAttribI4uiEXT(int index, int x, int y, int z, int w); - void glVertexAttribI1ivEXT(int index, @NativeType("const GLint *") MemorySegment v); - void glVertexAttribI2ivEXT(int index, @NativeType("const GLint *") MemorySegment v); - void glVertexAttribI3ivEXT(int index, @NativeType("const GLint *") MemorySegment v); - void glVertexAttribI4ivEXT(int index, @NativeType("const GLint *") MemorySegment v); - void glVertexAttribI1uivEXT(int index, @NativeType("const GLuint *") MemorySegment v); - void glVertexAttribI2uivEXT(int index, @NativeType("const GLuint *") MemorySegment v); - void glVertexAttribI3uivEXT(int index, @NativeType("const GLuint *") MemorySegment v); - void glVertexAttribI4uivEXT(int index, @NativeType("const GLuint *") MemorySegment v); - void glVertexAttribI4bvEXT(int index, @NativeType("const GLbyte *") MemorySegment v); - void glVertexAttribI4svEXT(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttribI4ubvEXT(int index, @NativeType("const GLubyte *") MemorySegment v); - void glVertexAttribI4usvEXT(int index, @NativeType("const GLushort *") MemorySegment v); - void glVertexAttribIPointerEXT(int index, int size, int type, int stride, @NativeType("const void *") MemorySegment pointer); - void glGetVertexAttribIivEXT(int index, int pname, @NativeType("GLint *") MemorySegment params); - void glGetVertexAttribIuivEXT(int index, int pname, @NativeType("GLuint *") MemorySegment params); + default void glGetUniformuivEXT(int program, int location, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glBindFragDataLocationEXT(int program, int color, @NativeType("const GLchar *") MemorySegment name) { + throw new ContextException(); + } + + default int glGetFragDataLocationEXT(int program, @NativeType("const GLchar *") MemorySegment name) { + throw new ContextException(); + } + + default void glUniform1uiEXT(int location, int v0) { + throw new ContextException(); + } + + default void glUniform2uiEXT(int location, int v0, int v1) { + throw new ContextException(); + } + + default void glUniform3uiEXT(int location, int v0, int v1, int v2) { + throw new ContextException(); + } + + default void glUniform4uiEXT(int location, int v0, int v1, int v2, int v3) { + throw new ContextException(); + } + + default void glUniform1uivEXT(int location, int count, @NativeType("const GLuint *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform2uivEXT(int location, int count, @NativeType("const GLuint *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform3uivEXT(int location, int count, @NativeType("const GLuint *") MemorySegment value) { + throw new ContextException(); + } + + default void glUniform4uivEXT(int location, int count, @NativeType("const GLuint *") MemorySegment value) { + throw new ContextException(); + } + + default void glVertexAttribI1iEXT(int index, int x) { + throw new ContextException(); + } + + default void glVertexAttribI2iEXT(int index, int x, int y) { + throw new ContextException(); + } + + default void glVertexAttribI3iEXT(int index, int x, int y, int z) { + throw new ContextException(); + } + + default void glVertexAttribI4iEXT(int index, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glVertexAttribI1uiEXT(int index, int x) { + throw new ContextException(); + } + + default void glVertexAttribI2uiEXT(int index, int x, int y) { + throw new ContextException(); + } + + default void glVertexAttribI3uiEXT(int index, int x, int y, int z) { + throw new ContextException(); + } + + default void glVertexAttribI4uiEXT(int index, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glVertexAttribI1ivEXT(int index, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI2ivEXT(int index, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI3ivEXT(int index, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI4ivEXT(int index, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI1uivEXT(int index, @NativeType("const GLuint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI2uivEXT(int index, @NativeType("const GLuint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI3uivEXT(int index, @NativeType("const GLuint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI4uivEXT(int index, @NativeType("const GLuint *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI4bvEXT(int index, @NativeType("const GLbyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI4svEXT(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI4ubvEXT(int index, @NativeType("const GLubyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribI4usvEXT(int index, @NativeType("const GLushort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribIPointerEXT(int index, int size, int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glGetVertexAttribIivEXT(int index, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribIuivEXT(int index, int pname, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTHistogram.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTHistogram.java index 887338a7..37785031 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTHistogram.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTHistogram.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -40,14 +39,44 @@ public interface GLEXTHistogram { int GL_MINMAX_SINK_EXT = 0x8030; int GL_TABLE_TOO_LARGE_EXT = 0x8031; - void glGetHistogramEXT(int target, boolean reset, int format, int type, @NativeType("void *") MemorySegment values); - void glGetHistogramParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetHistogramParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetMinmaxEXT(int target, boolean reset, int format, int type, @NativeType("void *") MemorySegment values); - void glGetMinmaxParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetMinmaxParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glHistogramEXT(int target, int width, int internalformat, boolean sink); - void glMinmaxEXT(int target, int internalformat, boolean sink); - void glResetHistogramEXT(int target); - void glResetMinmaxEXT(int target); + default void glGetHistogramEXT(int target, boolean reset, int format, int type, @NativeType("void *") MemorySegment values) { + throw new ContextException(); + } + + default void glGetHistogramParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetHistogramParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMinmaxEXT(int target, boolean reset, int format, int type, @NativeType("void *") MemorySegment values) { + throw new ContextException(); + } + + default void glGetMinmaxParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMinmaxParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glHistogramEXT(int target, int width, int internalformat, boolean sink) { + throw new ContextException(); + } + + default void glMinmaxEXT(int target, int internalformat, boolean sink) { + throw new ContextException(); + } + + default void glResetHistogramEXT(int target) { + throw new ContextException(); + } + + default void glResetMinmaxEXT(int target) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexArrayFormats.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexArrayFormats.java index 11159640..73be6aef 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexArrayFormats.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexArrayFormats.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexFunc.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexFunc.java index cf54a41a..ed89902e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexFunc.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexFunc.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLEXTIndexFunc { int GL_INDEX_TEST_FUNC_EXT = 0x81B6; int GL_INDEX_TEST_REF_EXT = 0x81B7; - void glIndexFuncEXT(int func, float ref); + default void glIndexFuncEXT(int func, float ref) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexMaterial.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexMaterial.java index 330e4c24..629c7f1e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexMaterial.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTIndexMaterial.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLEXTIndexMaterial { int GL_INDEX_MATERIAL_PARAMETER_EXT = 0x81B9; int GL_INDEX_MATERIAL_FACE_EXT = 0x81BA; - void glIndexMaterialEXT(int face, int mode); + default void glIndexMaterialEXT(int face, int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTLightTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTLightTexture.java index 205d7e64..8c5206a4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTLightTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTLightTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -35,7 +34,16 @@ public interface GLEXTLightTexture { int GL_TEXTURE_MATERIAL_FACE_EXT = 0x8351; int GL_TEXTURE_MATERIAL_PARAMETER_EXT = 0x8352; - void glApplyTextureEXT(int mode); - void glTextureLightEXT(int pname); - void glTextureMaterialEXT(int face, int mode); + default void glApplyTextureEXT(int mode) { + throw new ContextException(); + } + + default void glTextureLightEXT(int pname) { + throw new ContextException(); + } + + default void glTextureMaterialEXT(int face, int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObject.java index 88b917ac..5cefb7ca 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -37,23 +36,80 @@ public interface GLEXTMemoryObject { int GL_DRIVER_UUID_EXT = 0x9598; int GL_UUID_SIZE_EXT = 16; - void glGetUnsignedBytevEXT(int pname, @NativeType("GLubyte *") MemorySegment data); - void glGetUnsignedBytei_vEXT(int target, int index, @NativeType("GLubyte *") MemorySegment data); - void glDeleteMemoryObjectsEXT(int n, @NativeType("const GLuint *") MemorySegment memoryObjects); - boolean glIsMemoryObjectEXT(int memoryObject); - void glCreateMemoryObjectsEXT(int n, @NativeType("GLuint *") MemorySegment memoryObjects); - void glMemoryObjectParameterivEXT(int memoryObject, int pname, @NativeType("const GLint *") MemorySegment params); - void glGetMemoryObjectParameterivEXT(int memoryObject, int pname, @NativeType("GLint *") MemorySegment params); - void glTexStorageMem2DEXT(int target, int levels, int internalFormat, int width, int height, int memory, long offset); - void glTexStorageMem2DMultisampleEXT(int target, int samples, int internalFormat, int width, int height, boolean fixedSampleLocations, int memory, long offset); - void glTexStorageMem3DEXT(int target, int levels, int internalFormat, int width, int height, int depth, int memory, long offset); - void glTexStorageMem3DMultisampleEXT(int target, int samples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations, int memory, long offset); - void glBufferStorageMemEXT(int target, long size, int memory, long offset); - void glTextureStorageMem2DEXT(int texture, int levels, int internalFormat, int width, int height, int memory, long offset); - void glTextureStorageMem2DMultisampleEXT(int texture, int samples, int internalFormat, int width, int height, boolean fixedSampleLocations, int memory, long offset); - void glTextureStorageMem3DEXT(int texture, int levels, int internalFormat, int width, int height, int depth, int memory, long offset); - void glTextureStorageMem3DMultisampleEXT(int texture, int samples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations, int memory, long offset); - void glNamedBufferStorageMemEXT(int buffer, long size, int memory, long offset); - void glTexStorageMem1DEXT(int target, int levels, int internalFormat, int width, int memory, long offset); - void glTextureStorageMem1DEXT(int texture, int levels, int internalFormat, int width, int memory, long offset); + default void glGetUnsignedBytevEXT(int pname, @NativeType("GLubyte *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetUnsignedBytei_vEXT(int target, int index, @NativeType("GLubyte *") MemorySegment data) { + throw new ContextException(); + } + + default void glDeleteMemoryObjectsEXT(int n, @NativeType("const GLuint *") MemorySegment memoryObjects) { + throw new ContextException(); + } + + default boolean glIsMemoryObjectEXT(int memoryObject) { + throw new ContextException(); + } + + default void glCreateMemoryObjectsEXT(int n, @NativeType("GLuint *") MemorySegment memoryObjects) { + throw new ContextException(); + } + + default void glMemoryObjectParameterivEXT(int memoryObject, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMemoryObjectParameterivEXT(int memoryObject, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glTexStorageMem2DEXT(int target, int levels, int internalFormat, int width, int height, int memory, long offset) { + throw new ContextException(); + } + + default void glTexStorageMem2DMultisampleEXT(int target, int samples, int internalFormat, int width, int height, boolean fixedSampleLocations, int memory, long offset) { + throw new ContextException(); + } + + default void glTexStorageMem3DEXT(int target, int levels, int internalFormat, int width, int height, int depth, int memory, long offset) { + throw new ContextException(); + } + + default void glTexStorageMem3DMultisampleEXT(int target, int samples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations, int memory, long offset) { + throw new ContextException(); + } + + default void glBufferStorageMemEXT(int target, long size, int memory, long offset) { + throw new ContextException(); + } + + default void glTextureStorageMem2DEXT(int texture, int levels, int internalFormat, int width, int height, int memory, long offset) { + throw new ContextException(); + } + + default void glTextureStorageMem2DMultisampleEXT(int texture, int samples, int internalFormat, int width, int height, boolean fixedSampleLocations, int memory, long offset) { + throw new ContextException(); + } + + default void glTextureStorageMem3DEXT(int texture, int levels, int internalFormat, int width, int height, int depth, int memory, long offset) { + throw new ContextException(); + } + + default void glTextureStorageMem3DMultisampleEXT(int texture, int samples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations, int memory, long offset) { + throw new ContextException(); + } + + default void glNamedBufferStorageMemEXT(int buffer, long size, int memory, long offset) { + throw new ContextException(); + } + + default void glTexStorageMem1DEXT(int target, int levels, int internalFormat, int width, int memory, long offset) { + throw new ContextException(); + } + + default void glTextureStorageMem1DEXT(int texture, int levels, int internalFormat, int width, int memory, long offset) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObjectFd.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObjectFd.java index 3814e4f2..d61430c8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObjectFd.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObjectFd.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,5 +26,8 @@ public interface GLEXTMemoryObjectFd { int GL_HANDLE_TYPE_OPAQUE_FD_EXT = 0x9586; - void glImportMemoryFdEXT(int memory, long size, int handleType, int fd); + default void glImportMemoryFdEXT(int memory, long size, int handleType, int fd) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObjectWin32.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObjectWin32.java index 5019c96f..4a55e0ba 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObjectWin32.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMemoryObjectWin32.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -35,6 +34,12 @@ public interface GLEXTMemoryObjectWin32 { int GL_HANDLE_TYPE_D3D11_IMAGE_EXT = 0x958B; int GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT = 0x958C; - void glImportMemoryWin32HandleEXT(int memory, long size, int handleType, @NativeType("void *") MemorySegment handle); - void glImportMemoryWin32NameEXT(int memory, long size, int handleType, @NativeType("const void *") MemorySegment name); + default void glImportMemoryWin32HandleEXT(int memory, long size, int handleType, @NativeType("void *") MemorySegment handle) { + throw new ContextException(); + } + + default void glImportMemoryWin32NameEXT(int memory, long size, int handleType, @NativeType("const void *") MemorySegment name) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultiDrawArrays.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultiDrawArrays.java index 0dc21c6f..15d7b0fc 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultiDrawArrays.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultiDrawArrays.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTMultiDrawArrays { - void glMultiDrawArraysEXT(int mode, @NativeType("const GLint *") MemorySegment first, @NativeType("const GLsizei *") MemorySegment count, int primcount); - void glMultiDrawElementsEXT(int mode, @NativeType("const GLsizei *") MemorySegment count, int type, @NativeType("const void *const*") MemorySegment indices, int primcount); + default void glMultiDrawArraysEXT(int mode, @NativeType("const GLint *") MemorySegment first, @NativeType("const GLsizei *") MemorySegment count, int primcount) { + throw new ContextException(); + } + + default void glMultiDrawElementsEXT(int mode, @NativeType("const GLsizei *") MemorySegment count, int type, @NativeType("const void *const*") MemorySegment indices, int primcount) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultisample.java index 6148f1ec..0b960d2c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultisample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultisample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -43,6 +42,12 @@ public interface GLEXTMultisample { int GL_SAMPLE_PATTERN_EXT = 0x80AC; int GL_MULTISAMPLE_BIT_EXT = 0x20000000; - void glSampleMaskEXT(float value, boolean invert); - void glSamplePatternEXT(int pattern); + default void glSampleMaskEXT(float value, boolean invert) { + throw new ContextException(); + } + + default void glSamplePatternEXT(int pattern) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedDepthStencil.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedDepthStencil.java index 0e42e59c..8589c8f3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedDepthStencil.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedDepthStencil.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedFloat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedFloat.java index 3dc429ab..45236fd5 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedFloat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedFloat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedPixels.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedPixels.java index 6d6ff0ba..eef6ed88 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedPixels.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPackedPixels.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPalettedTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPalettedTexture.java index 77bc1867..a4dd8df4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPalettedTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPalettedTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -33,8 +32,20 @@ public interface GLEXTPalettedTexture { int GL_COLOR_INDEX16_EXT = 0x80E7; int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED; - void glColorTableEXT(int target, int internalFormat, int width, int format, int type, @NativeType("const void *") MemorySegment table); - void glGetColorTableEXT(int target, int format, int type, @NativeType("void *") MemorySegment data); - void glGetColorTableParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetColorTableParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params); + default void glColorTableEXT(int target, int internalFormat, int width, int format, int type, @NativeType("const void *") MemorySegment table) { + throw new ContextException(); + } + + default void glGetColorTableEXT(int target, int format, int type, @NativeType("void *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetColorTableParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetColorTableParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPixelBufferObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPixelBufferObject.java index 17acd669..e8d90fab 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPixelBufferObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPixelBufferObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPixelTransform.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPixelTransform.java index a7a02605..8d5f646a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPixelTransform.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPixelTransform.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -35,10 +34,28 @@ public interface GLEXTPixelTransform { int GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8337; int GL_PIXEL_TRANSFORM_2D_MATRIX_EXT = 0x8338; - void glPixelTransformParameteriEXT(int target, int pname, int param); - void glPixelTransformParameterfEXT(int target, int pname, float param); - void glPixelTransformParameterivEXT(int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glPixelTransformParameterfvEXT(int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glGetPixelTransformParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetPixelTransformParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params); + default void glPixelTransformParameteriEXT(int target, int pname, int param) { + throw new ContextException(); + } + + default void glPixelTransformParameterfEXT(int target, int pname, float param) { + throw new ContextException(); + } + + default void glPixelTransformParameterivEXT(int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glPixelTransformParameterfvEXT(int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetPixelTransformParameterivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetPixelTransformParameterfvEXT(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPointParameters.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPointParameters.java index 5205ac84..d6588055 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPointParameters.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPointParameters.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,6 +29,12 @@ public interface GLEXTPointParameters { int GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128; int GL_DISTANCE_ATTENUATION_EXT = 0x8129; - void glPointParameterfEXT(int pname, float param); - void glPointParameterfvEXT(int pname, @NativeType("const GLfloat *") MemorySegment params); + default void glPointParameterfEXT(int pname, float param) { + throw new ContextException(); + } + + default void glPointParameterfvEXT(int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPolygonOffset.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPolygonOffset.java index aa2ae756..a919dcf4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPolygonOffset.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPolygonOffset.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLEXTPolygonOffset { int GL_POLYGON_OFFSET_FACTOR_EXT = 0x8038; int GL_POLYGON_OFFSET_BIAS_EXT = 0x8039; - void glPolygonOffsetEXT(float factor, float bias); + default void glPolygonOffsetEXT(float factor, float bias) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPolygonOffsetClamp.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPolygonOffsetClamp.java index c76ca6fd..b97edfe6 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPolygonOffsetClamp.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTPolygonOffsetClamp.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,5 +26,8 @@ public interface GLEXTPolygonOffsetClamp { int GL_POLYGON_OFFSET_CLAMP_EXT = 0x8E1B; - void glPolygonOffsetClampEXT(float factor, float units, float clamp); + default void glPolygonOffsetClampEXT(float factor, float units, float clamp) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTProvokingVertex.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTProvokingVertex.java index 218061f7..e3b565be 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTProvokingVertex.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTProvokingVertex.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLEXTProvokingVertex { int GL_LAST_VERTEX_CONVENTION_EXT = 0x8E4E; int GL_PROVOKING_VERTEX_EXT = 0x8E4F; - void glProvokingVertexEXT(int mode); + default void glProvokingVertexEXT(int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTRasterMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTRasterMultisample.java index 8afefb67..83daa7cf 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTRasterMultisample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTRasterMultisample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,5 +31,8 @@ public interface GLEXTRasterMultisample { int GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT = 0x932B; int GL_EFFECTIVE_RASTER_SAMPLES_EXT = 0x932C; - void glRasterSamplesEXT(int samples, boolean fixedsamplelocations); + default void glRasterSamplesEXT(int samples, boolean fixedsamplelocations) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTRescaleNormal.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTRescaleNormal.java index 0e106cf6..ed1f47e6 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTRescaleNormal.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTRescaleNormal.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSecondaryColor.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSecondaryColor.java index 22c74137..7992557e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSecondaryColor.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSecondaryColor.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -33,21 +32,72 @@ public interface GLEXTSecondaryColor { int GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D; int GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E; - void glSecondaryColor3bEXT(byte red, byte green, byte blue); - void glSecondaryColor3bvEXT(@NativeType("const GLbyte *") MemorySegment v); - void glSecondaryColor3dEXT(double red, double green, double blue); - void glSecondaryColor3dvEXT(@NativeType("const GLdouble *") MemorySegment v); - void glSecondaryColor3fEXT(float red, float green, float blue); - void glSecondaryColor3fvEXT(@NativeType("const GLfloat *") MemorySegment v); - void glSecondaryColor3iEXT(int red, int green, int blue); - void glSecondaryColor3ivEXT(@NativeType("const GLint *") MemorySegment v); - void glSecondaryColor3sEXT(short red, short green, short blue); - void glSecondaryColor3svEXT(@NativeType("const GLshort *") MemorySegment v); - void glSecondaryColor3ubEXT(byte red, byte green, byte blue); - void glSecondaryColor3ubvEXT(@NativeType("const GLubyte *") MemorySegment v); - void glSecondaryColor3uiEXT(int red, int green, int blue); - void glSecondaryColor3uivEXT(@NativeType("const GLuint *") MemorySegment v); - void glSecondaryColor3usEXT(short red, short green, short blue); - void glSecondaryColor3usvEXT(@NativeType("const GLushort *") MemorySegment v); - void glSecondaryColorPointerEXT(int size, int type, int stride, @NativeType("const void *") MemorySegment pointer); + default void glSecondaryColor3bEXT(byte red, byte green, byte blue) { + throw new ContextException(); + } + + default void glSecondaryColor3bvEXT(@NativeType("const GLbyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glSecondaryColor3dEXT(double red, double green, double blue) { + throw new ContextException(); + } + + default void glSecondaryColor3dvEXT(@NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glSecondaryColor3fEXT(float red, float green, float blue) { + throw new ContextException(); + } + + default void glSecondaryColor3fvEXT(@NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glSecondaryColor3iEXT(int red, int green, int blue) { + throw new ContextException(); + } + + default void glSecondaryColor3ivEXT(@NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glSecondaryColor3sEXT(short red, short green, short blue) { + throw new ContextException(); + } + + default void glSecondaryColor3svEXT(@NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glSecondaryColor3ubEXT(byte red, byte green, byte blue) { + throw new ContextException(); + } + + default void glSecondaryColor3ubvEXT(@NativeType("const GLubyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glSecondaryColor3uiEXT(int red, int green, int blue) { + throw new ContextException(); + } + + default void glSecondaryColor3uivEXT(@NativeType("const GLuint *") MemorySegment v) { + throw new ContextException(); + } + + default void glSecondaryColor3usEXT(short red, short green, short blue) { + throw new ContextException(); + } + + default void glSecondaryColor3usvEXT(@NativeType("const GLushort *") MemorySegment v) { + throw new ContextException(); + } + + default void glSecondaryColorPointerEXT(int size, int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphore.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphore.java index 932a4002..39d6b0d3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphore.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphore.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -35,11 +34,32 @@ public interface GLEXTSemaphore { int GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT = 0x9530; int GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT = 0x9531; - void glGenSemaphoresEXT(int n, @NativeType("GLuint *") MemorySegment semaphores); - void glDeleteSemaphoresEXT(int n, @NativeType("const GLuint *") MemorySegment semaphores); - boolean glIsSemaphoreEXT(int semaphore); - void glSemaphoreParameterui64vEXT(int semaphore, int pname, @NativeType("const GLuint64 *") MemorySegment params); - void glGetSemaphoreParameterui64vEXT(int semaphore, int pname, @NativeType("GLuint64 *") MemorySegment params); - void glWaitSemaphoreEXT(int semaphore, int numBufferBarriers, @NativeType("const GLuint *") MemorySegment buffers, int numTextureBarriers, @NativeType("const GLuint *") MemorySegment textures, @NativeType("const GLenum *") MemorySegment srcLayouts); - void glSignalSemaphoreEXT(int semaphore, int numBufferBarriers, @NativeType("const GLuint *") MemorySegment buffers, int numTextureBarriers, @NativeType("const GLuint *") MemorySegment textures, @NativeType("const GLenum *") MemorySegment dstLayouts); + default void glGenSemaphoresEXT(int n, @NativeType("GLuint *") MemorySegment semaphores) { + throw new ContextException(); + } + + default void glDeleteSemaphoresEXT(int n, @NativeType("const GLuint *") MemorySegment semaphores) { + throw new ContextException(); + } + + default boolean glIsSemaphoreEXT(int semaphore) { + throw new ContextException(); + } + + default void glSemaphoreParameterui64vEXT(int semaphore, int pname, @NativeType("const GLuint64 *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetSemaphoreParameterui64vEXT(int semaphore, int pname, @NativeType("GLuint64 *") MemorySegment params) { + throw new ContextException(); + } + + default void glWaitSemaphoreEXT(int semaphore, int numBufferBarriers, @NativeType("const GLuint *") MemorySegment buffers, int numTextureBarriers, @NativeType("const GLuint *") MemorySegment textures, @NativeType("const GLenum *") MemorySegment srcLayouts) { + throw new ContextException(); + } + + default void glSignalSemaphoreEXT(int semaphore, int numBufferBarriers, @NativeType("const GLuint *") MemorySegment buffers, int numTextureBarriers, @NativeType("const GLuint *") MemorySegment textures, @NativeType("const GLenum *") MemorySegment dstLayouts) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphoreFd.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphoreFd.java index 122adb6f..b3408acf 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphoreFd.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphoreFd.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLEXTSemaphoreFd { - void glImportSemaphoreFdEXT(int semaphore, int handleType, int fd); + default void glImportSemaphoreFdEXT(int semaphore, int handleType, int fd) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphoreWin32.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphoreWin32.java index 8fa23ada..50d36bc1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphoreWin32.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSemaphoreWin32.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,6 +27,12 @@ public interface GLEXTSemaphoreWin32 { int GL_HANDLE_TYPE_D3D12_FENCE_EXT = 0x9594; int GL_D3D12_FENCE_VALUE_EXT = 0x9595; - void glImportSemaphoreWin32HandleEXT(int semaphore, int handleType, @NativeType("void * ") MemorySegment handle); - void glImportSemaphoreWin32NameEXT(int semaphore, int handleType, @NativeType("const void *") MemorySegment name); + default void glImportSemaphoreWin32HandleEXT(int semaphore, int handleType, @NativeType("void * ") MemorySegment handle) { + throw new ContextException(); + } + + default void glImportSemaphoreWin32NameEXT(int semaphore, int handleType, @NativeType("const void *") MemorySegment name) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSeparateShaderObjects.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSeparateShaderObjects.java index 6ef0c092..8321ccd4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSeparateShaderObjects.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSeparateShaderObjects.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,7 +26,16 @@ public interface GLEXTSeparateShaderObjects { int GL_ACTIVE_PROGRAM_EXT = 0x8B8D; - void glUseShaderProgramEXT(int type, int program); - void glActiveProgramEXT(int program); - int glCreateShaderProgramEXT(int type, @NativeType("const GLchar *") MemorySegment string); + default void glUseShaderProgramEXT(int type, int program) { + throw new ContextException(); + } + + default void glActiveProgramEXT(int program) { + throw new ContextException(); + } + + default int glCreateShaderProgramEXT(int type, @NativeType("const GLchar *") MemorySegment string) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSeparateSpecularColor.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSeparateSpecularColor.java index 385b3c9f..6d5634a1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSeparateSpecularColor.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSeparateSpecularColor.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderFramebufferFetch.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderFramebufferFetch.java index defc934a..4641b2b7 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderFramebufferFetch.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderFramebufferFetch.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderFramebufferFetchNonCoherent.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderFramebufferFetchNonCoherent.java index 32d6496f..bb9484be 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderFramebufferFetchNonCoherent.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderFramebufferFetchNonCoherent.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLEXTShaderFramebufferFetchNonCoherent { - void glFramebufferFetchBarrierEXT(); + default void glFramebufferFetchBarrierEXT() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderImageLoadStore.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderImageLoadStore.java index 382ebc21..7af60a0a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderImageLoadStore.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTShaderImageLoadStore.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -81,6 +80,12 @@ public interface GLEXTShaderImageLoadStore { int GL_ATOMIC_COUNTER_BARRIER_BIT_EXT = 0x00001000; int GL_ALL_BARRIER_BITS_EXT = 0xFFFFFFFF; - void glBindImageTextureEXT(int index, int texture, int level, boolean layered, int layer, int access, int format); - void glMemoryBarrierEXT(int barriers); + default void glBindImageTextureEXT(int index, int texture, int level, boolean layered, int layer, int access, int format) { + throw new ContextException(); + } + + default void glMemoryBarrierEXT(int barriers) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSharedTexturePalette.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSharedTexturePalette.java index 5061fd70..a6ab8c6d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSharedTexturePalette.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSharedTexturePalette.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSrgb.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSrgb.java index 38e75a26..a5131ce7 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSrgb.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSrgb.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilClearTag.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilClearTag.java index 730a98ac..94e01bb8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilClearTag.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilClearTag.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLEXTStencilClearTag { int GL_STENCIL_TAG_BITS_EXT = 0x88F2; int GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3; - void glStencilClearTagEXT(int stencilTagBits, int stencilClearTag); + default void glStencilClearTagEXT(int stencilTagBits, int stencilClearTag) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilTwoSide.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilTwoSide.java index 9a08403c..a74a2730 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilTwoSide.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilTwoSide.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLEXTStencilTwoSide { int GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910; int GL_ACTIVE_STENCIL_FACE_EXT = 0x8911; - void glActiveStencilFaceEXT(int face); + default void glActiveStencilFaceEXT(int face) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilWrap.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilWrap.java index adcb8726..08e50d3c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilWrap.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTStencilWrap.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSubtexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSubtexture.java index 8abc9bd2..fef4e596 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSubtexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTSubtexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTSubtexture { - void glTexSubImage1DEXT(int target, int level, int xoffset, int width, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glTexSubImage2DEXT(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, @NativeType("const void *") MemorySegment pixels); + default void glTexSubImage1DEXT(int target, int level, int xoffset, int width, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glTexSubImage2DEXT(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexture.java index be8d6d7e..25311ba8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexture3D.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexture3D.java index 1dadf483..76db0b3d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexture3D.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexture3D.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -35,6 +34,12 @@ public interface GLEXTTexture3D { int GL_TEXTURE_WRAP_R_EXT = 0x8072; int GL_MAX_3D_TEXTURE_SIZE_EXT = 0x8073; - void glTexImage3DEXT(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glTexSubImage3DEXT(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, @NativeType("const void *") MemorySegment pixels); + default void glTexImage3DEXT(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glTexSubImage3DEXT(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureArray.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureArray.java index c71a22b9..033731cf 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureArray.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureArray.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,5 +33,8 @@ public interface GLEXTTextureArray { int GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF; int GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E; - void glFramebufferTextureLayerEXT(int target, int attachment, int texture, int level, int layer); + default void glFramebufferTextureLayerEXT(int target, int attachment, int texture, int level, int layer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureBufferObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureBufferObject.java index 22eadd50..52b8470f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureBufferObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureBufferObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,5 +30,8 @@ public interface GLEXTTextureBufferObject { int GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = 0x8C2D; int GL_TEXTURE_BUFFER_FORMAT_EXT = 0x8C2E; - void glTexBufferEXT(int target, int internalformat, int buffer); + default void glTexBufferEXT(int target, int internalformat, int buffer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionLatc.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionLatc.java index 040cf18c..c6a36922 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionLatc.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionLatc.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionRgtc.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionRgtc.java index afdba197..a9758dc3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionRgtc.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionRgtc.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionS3tc.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionS3tc.java index 9b3af461..2759be90 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionS3tc.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCompressionS3tc.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCubeMap.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCubeMap.java index e53f22de..495762f9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCubeMap.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureCubeMap.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureEnvCombine.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureEnvCombine.java index b8b91dfa..54ae1757 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureEnvCombine.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureEnvCombine.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureEnvDot3.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureEnvDot3.java index a97b52f6..d53769f9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureEnvDot3.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureEnvDot3.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureFilterAnisotropic.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureFilterAnisotropic.java index fe7fafab..43dd691e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureFilterAnisotropic.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureFilterAnisotropic.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureFilterMinmax.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureFilterMinmax.java index 85b6d9af..54b5f568 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureFilterMinmax.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureFilterMinmax.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureInteger.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureInteger.java index 62519c1a..541fe216 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureInteger.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureInteger.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -73,10 +72,28 @@ public interface GLEXTTextureInteger { int GL_LUMINANCE_ALPHA_INTEGER_EXT = 0x8D9D; int GL_RGBA_INTEGER_MODE_EXT = 0x8D9E; - void glTexParameterIivEXT(int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glTexParameterIuivEXT(int target, int pname, @NativeType("const GLuint *") MemorySegment params); - void glGetTexParameterIivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetTexParameterIuivEXT(int target, int pname, @NativeType("GLuint *") MemorySegment params); - void glClearColorIiEXT(int red, int green, int blue, int alpha); - void glClearColorIuiEXT(int red, int green, int blue, int alpha); + default void glTexParameterIivEXT(int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glTexParameterIuivEXT(int target, int pname, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTexParameterIivEXT(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTexParameterIuivEXT(int target, int pname, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glClearColorIiEXT(int red, int green, int blue, int alpha) { + throw new ContextException(); + } + + default void glClearColorIuiEXT(int red, int green, int blue, int alpha) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureLodBias.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureLodBias.java index 7f56288f..9f06f325 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureLodBias.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureLodBias.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureMirrorClamp.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureMirrorClamp.java index 0a540f6f..5b46ba1c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureMirrorClamp.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureMirrorClamp.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureObject.java index 328b56fc..a6d6cd51 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,10 +30,28 @@ public interface GLEXTTextureObject { int GL_TEXTURE_2D_BINDING_EXT = 0x8069; int GL_TEXTURE_3D_BINDING_EXT = 0x806A; - boolean glAreTexturesResidentEXT(int n, @NativeType("const GLuint *") MemorySegment textures, @NativeType("GLboolean *") MemorySegment residences); - void glBindTextureEXT(int target, int texture); - void glDeleteTexturesEXT(int n, @NativeType("const GLuint *") MemorySegment textures); - void glGenTexturesEXT(int n, @NativeType("GLuint *") MemorySegment textures); - boolean glIsTextureEXT(int texture); - void glPrioritizeTexturesEXT(int n, @NativeType("const GLuint *") MemorySegment textures, @NativeType("const GLclampf *") MemorySegment priorities); + default boolean glAreTexturesResidentEXT(int n, @NativeType("const GLuint *") MemorySegment textures, @NativeType("GLboolean *") MemorySegment residences) { + throw new ContextException(); + } + + default void glBindTextureEXT(int target, int texture) { + throw new ContextException(); + } + + default void glDeleteTexturesEXT(int n, @NativeType("const GLuint *") MemorySegment textures) { + throw new ContextException(); + } + + default void glGenTexturesEXT(int n, @NativeType("GLuint *") MemorySegment textures) { + throw new ContextException(); + } + + default boolean glIsTextureEXT(int texture) { + throw new ContextException(); + } + + default void glPrioritizeTexturesEXT(int n, @NativeType("const GLuint *") MemorySegment textures, @NativeType("const GLclampf *") MemorySegment priorities) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexturePerturbNormal.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexturePerturbNormal.java index 8a38fe0c..8d8873d0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexturePerturbNormal.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTexturePerturbNormal.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLEXTTexturePerturbNormal { int GL_PERTURB_EXT = 0x85AE; int GL_TEXTURE_NORMAL_EXT = 0x85AF; - void glTextureNormalEXT(int mode); + default void glTextureNormalEXT(int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSharedExponent.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSharedExponent.java index e7eece35..2e6d904f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSharedExponent.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSharedExponent.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSnorm.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSnorm.java index abf61491..c8a3a9db 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSnorm.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSnorm.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgb.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgb.java index 4706f4b8..2d46c8b0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgb.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgb.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbDecode.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbDecode.java index 7458ce29..32da9731 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbDecode.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbDecode.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbR8.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbR8.java index 01058313..491d38de 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbR8.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbR8.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbRGB.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbRGB.java index addf3210..486848a2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbRGB.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSrgbRGB.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureStorage.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureStorage.java index 5ef33e24..18c4004a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureStorage.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureStorage.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -44,7 +43,16 @@ public interface GLEXTTextureStorage { int GL_R16F_EXT = 0x822D; int GL_RG16F_EXT = 0x822F; - void glTexStorage1DEXT(int target, int levels, int internalformat, int width); - void glTexStorage2DEXT(int target, int levels, int internalformat, int width, int height); - void glTexStorage3DEXT(int target, int levels, int internalformat, int width, int height, int depth); + default void glTexStorage1DEXT(int target, int levels, int internalformat, int width) { + throw new ContextException(); + } + + default void glTexStorage2DEXT(int target, int levels, int internalformat, int width, int height) { + throw new ContextException(); + } + + default void glTexStorage3DEXT(int target, int levels, int internalformat, int width, int height, int depth) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSwizzle.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSwizzle.java index 58455e55..bbe9f549 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSwizzle.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTextureSwizzle.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTimerQuery.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTimerQuery.java index f7137067..274151ef 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTimerQuery.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTimerQuery.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,6 +26,12 @@ public interface GLEXTTimerQuery { int GL_TIME_ELAPSED_EXT = 0x88BF; - void glGetQueryObjecti64vEXT(int id, int pname, @NativeType("GLint64 *") MemorySegment params); - void glGetQueryObjectui64vEXT(int id, int pname, @NativeType("GLuint64 *") MemorySegment params); + default void glGetQueryObjecti64vEXT(int id, int pname, @NativeType("GLint64 *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetQueryObjectui64vEXT(int id, int pname, @NativeType("GLuint64 *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTransformFeedback.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTransformFeedback.java index ecd26a55..251a3e82 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTransformFeedback.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTTransformFeedback.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -41,11 +40,32 @@ public interface GLEXTTransformFeedback { int GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT = 0x8C7F; int GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT = 0x8C76; - void glBeginTransformFeedbackEXT(int primitiveMode); - void glEndTransformFeedbackEXT(); - void glBindBufferRangeEXT(int target, int index, int buffer, long offset, long size); - void glBindBufferOffsetEXT(int target, int index, int buffer, long offset); - void glBindBufferBaseEXT(int target, int index, int buffer); - void glTransformFeedbackVaryingsEXT(int program, int count, @NativeType("const GLchar *const*") MemorySegment varyings, int bufferMode); - void glGetTransformFeedbackVaryingEXT(int program, int index, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLsizei *") MemorySegment size, @NativeType("GLenum *") MemorySegment type, @NativeType("GLchar *") MemorySegment name); + default void glBeginTransformFeedbackEXT(int primitiveMode) { + throw new ContextException(); + } + + default void glEndTransformFeedbackEXT() { + throw new ContextException(); + } + + default void glBindBufferRangeEXT(int target, int index, int buffer, long offset, long size) { + throw new ContextException(); + } + + default void glBindBufferOffsetEXT(int target, int index, int buffer, long offset) { + throw new ContextException(); + } + + default void glBindBufferBaseEXT(int target, int index, int buffer) { + throw new ContextException(); + } + + default void glTransformFeedbackVaryingsEXT(int program, int count, @NativeType("const GLchar *const*") MemorySegment varyings, int bufferMode) { + throw new ContextException(); + } + + default void glGetTransformFeedbackVaryingEXT(int program, int index, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLsizei *") MemorySegment size, @NativeType("GLenum *") MemorySegment type, @NativeType("GLchar *") MemorySegment name) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexArray.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexArray.java index 37d7ea8b..a24e1054 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexArray.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexArray.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -58,13 +57,40 @@ public interface GLEXTVertexArray { int GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092; int GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093; - void glArrayElementEXT(int i); - void glColorPointerEXT(int size, int type, int stride, int count, @NativeType("const void *") MemorySegment pointer); - void glDrawArraysEXT(int mode, int first, int count); - void glEdgeFlagPointerEXT(int stride, int count, @NativeType("const GLboolean *") MemorySegment pointer); - void glGetPointervEXT(int pname, @NativeType("void **") MemorySegment params); - void glIndexPointerEXT(int type, int stride, int count, @NativeType("const void *") MemorySegment pointer); - void glNormalPointerEXT(int type, int stride, int count, @NativeType("const void *") MemorySegment pointer); - void glTexCoordPointerEXT(int size, int type, int stride, int count, @NativeType("const void *") MemorySegment pointer); - void glVertexPointerEXT(int size, int type, int stride, int count, @NativeType("const void *") MemorySegment pointer); + default void glArrayElementEXT(int i) { + throw new ContextException(); + } + + default void glColorPointerEXT(int size, int type, int stride, int count, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glDrawArraysEXT(int mode, int first, int count) { + throw new ContextException(); + } + + default void glEdgeFlagPointerEXT(int stride, int count, @NativeType("const GLboolean *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glGetPointervEXT(int pname, @NativeType("void **") MemorySegment params) { + throw new ContextException(); + } + + default void glIndexPointerEXT(int type, int stride, int count, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glNormalPointerEXT(int type, int stride, int count, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glTexCoordPointerEXT(int size, int type, int stride, int count, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glVertexPointerEXT(int size, int type, int stride, int count, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexAttrib64bit.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexAttrib64bit.java index de71e6ef..78ba059f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexAttrib64bit.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexAttrib64bit.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -38,14 +37,44 @@ public interface GLEXTVertexAttrib64bit { int GL_DOUBLE_MAT4x2_EXT = 0x8F4D; int GL_DOUBLE_MAT4x3_EXT = 0x8F4E; - void glVertexAttribL1dEXT(int index, double x); - void glVertexAttribL2dEXT(int index, double x, double y); - void glVertexAttribL3dEXT(int index, double x, double y, double z); - void glVertexAttribL4dEXT(int index, double x, double y, double z, double w); - void glVertexAttribL1dvEXT(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttribL2dvEXT(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttribL3dvEXT(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttribL4dvEXT(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttribLPointerEXT(int index, int size, int type, int stride, @NativeType("const void *") MemorySegment pointer); - void glGetVertexAttribLdvEXT(int index, int pname, @NativeType("GLdouble *") MemorySegment params); + default void glVertexAttribL1dEXT(int index, double x) { + throw new ContextException(); + } + + default void glVertexAttribL2dEXT(int index, double x, double y) { + throw new ContextException(); + } + + default void glVertexAttribL3dEXT(int index, double x, double y, double z) { + throw new ContextException(); + } + + default void glVertexAttribL4dEXT(int index, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glVertexAttribL1dvEXT(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL2dvEXT(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL3dvEXT(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL4dvEXT(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribLPointerEXT(int index, int size, int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glGetVertexAttribLdvEXT(int index, int pname, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexShader.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexShader.java index 7b82437f..015addef 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexShader.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexShader.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -136,46 +135,172 @@ public interface GLEXTVertexShader { int GL_LOCAL_CONSTANT_VALUE_EXT = 0x87EC; int GL_LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED; - void glBeginVertexShaderEXT(); - void glEndVertexShaderEXT(); - void glBindVertexShaderEXT(int id); - int glGenVertexShadersEXT(int range); - void glDeleteVertexShaderEXT(int id); - void glShaderOp1EXT(int op, int res, int arg1); - void glShaderOp2EXT(int op, int res, int arg1, int arg2); - void glShaderOp3EXT(int op, int res, int arg1, int arg2, int arg3); - void glSwizzleEXT(int res, int in, int outX, int outY, int outZ, int outW); - void glWriteMaskEXT(int res, int in, int outX, int outY, int outZ, int outW); - void glInsertComponentEXT(int res, int src, int num); - void glExtractComponentEXT(int res, int src, int num); - int glGenSymbolsEXT(int datatype, int storagetype, int range, int components); - void glSetInvariantEXT(int id, int type, @NativeType("const void *") MemorySegment addr); - void glSetLocalConstantEXT(int id, int type, @NativeType("const void *") MemorySegment addr); - void glVariantbvEXT(int id, @NativeType("const GLbyte *") MemorySegment addr); - void glVariantsvEXT(int id, @NativeType("const GLshort *") MemorySegment addr); - void glVariantivEXT(int id, @NativeType("const GLint *") MemorySegment addr); - void glVariantfvEXT(int id, @NativeType("const GLfloat *") MemorySegment addr); - void glVariantdvEXT(int id, @NativeType("const GLdouble *") MemorySegment addr); - void glVariantubvEXT(int id, @NativeType("const GLubyte *") MemorySegment addr); - void glVariantusvEXT(int id, @NativeType("const GLushort *") MemorySegment addr); - void glVariantuivEXT(int id, @NativeType("const GLuint *") MemorySegment addr); - void glVariantPointerEXT(int id, int type, int stride, @NativeType("const void *") MemorySegment addr); - void glEnableVariantClientStateEXT(int id); - void glDisableVariantClientStateEXT(int id); - int glBindLightParameterEXT(int light, int value); - int glBindMaterialParameterEXT(int face, int value); - int glBindTexGenParameterEXT(int unit, int coord, int value); - int glBindTextureUnitParameterEXT(int unit, int value); - int glBindParameterEXT(int value); - boolean glIsVariantEnabledEXT(int id, int cap); - void glGetVariantBooleanvEXT(int id, int value, @NativeType("GLboolean *") MemorySegment data); - void glGetVariantIntegervEXT(int id, int value, @NativeType("GLint *") MemorySegment data); - void glGetVariantFloatvEXT(int id, int value, @NativeType("GLfloat *") MemorySegment data); - void glGetVariantPointervEXT(int id, int value, @NativeType("void **") MemorySegment data); - void glGetInvariantBooleanvEXT(int id, int value, @NativeType("GLboolean *") MemorySegment data); - void glGetInvariantIntegervEXT(int id, int value, @NativeType("GLint *") MemorySegment data); - void glGetInvariantFloatvEXT(int id, int value, @NativeType("GLfloat *") MemorySegment data); - void glGetLocalConstantBooleanvEXT(int id, int value, @NativeType("GLboolean *") MemorySegment data); - void glGetLocalConstantIntegervEXT(int id, int value, @NativeType("GLint *") MemorySegment data); - void glGetLocalConstantFloatvEXT(int id, int value, @NativeType("GLfloat *") MemorySegment data); + default void glBeginVertexShaderEXT() { + throw new ContextException(); + } + + default void glEndVertexShaderEXT() { + throw new ContextException(); + } + + default void glBindVertexShaderEXT(int id) { + throw new ContextException(); + } + + default int glGenVertexShadersEXT(int range) { + throw new ContextException(); + } + + default void glDeleteVertexShaderEXT(int id) { + throw new ContextException(); + } + + default void glShaderOp1EXT(int op, int res, int arg1) { + throw new ContextException(); + } + + default void glShaderOp2EXT(int op, int res, int arg1, int arg2) { + throw new ContextException(); + } + + default void glShaderOp3EXT(int op, int res, int arg1, int arg2, int arg3) { + throw new ContextException(); + } + + default void glSwizzleEXT(int res, int in, int outX, int outY, int outZ, int outW) { + throw new ContextException(); + } + + default void glWriteMaskEXT(int res, int in, int outX, int outY, int outZ, int outW) { + throw new ContextException(); + } + + default void glInsertComponentEXT(int res, int src, int num) { + throw new ContextException(); + } + + default void glExtractComponentEXT(int res, int src, int num) { + throw new ContextException(); + } + + default int glGenSymbolsEXT(int datatype, int storagetype, int range, int components) { + throw new ContextException(); + } + + default void glSetInvariantEXT(int id, int type, @NativeType("const void *") MemorySegment addr) { + throw new ContextException(); + } + + default void glSetLocalConstantEXT(int id, int type, @NativeType("const void *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantbvEXT(int id, @NativeType("const GLbyte *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantsvEXT(int id, @NativeType("const GLshort *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantivEXT(int id, @NativeType("const GLint *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantfvEXT(int id, @NativeType("const GLfloat *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantdvEXT(int id, @NativeType("const GLdouble *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantubvEXT(int id, @NativeType("const GLubyte *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantusvEXT(int id, @NativeType("const GLushort *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantuivEXT(int id, @NativeType("const GLuint *") MemorySegment addr) { + throw new ContextException(); + } + + default void glVariantPointerEXT(int id, int type, int stride, @NativeType("const void *") MemorySegment addr) { + throw new ContextException(); + } + + default void glEnableVariantClientStateEXT(int id) { + throw new ContextException(); + } + + default void glDisableVariantClientStateEXT(int id) { + throw new ContextException(); + } + + default int glBindLightParameterEXT(int light, int value) { + throw new ContextException(); + } + + default int glBindMaterialParameterEXT(int face, int value) { + throw new ContextException(); + } + + default int glBindTexGenParameterEXT(int unit, int coord, int value) { + throw new ContextException(); + } + + default int glBindTextureUnitParameterEXT(int unit, int value) { + throw new ContextException(); + } + + default int glBindParameterEXT(int value) { + throw new ContextException(); + } + + default boolean glIsVariantEnabledEXT(int id, int cap) { + throw new ContextException(); + } + + default void glGetVariantBooleanvEXT(int id, int value, @NativeType("GLboolean *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetVariantIntegervEXT(int id, int value, @NativeType("GLint *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetVariantFloatvEXT(int id, int value, @NativeType("GLfloat *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetVariantPointervEXT(int id, int value, @NativeType("void **") MemorySegment data) { + throw new ContextException(); + } + + default void glGetInvariantBooleanvEXT(int id, int value, @NativeType("GLboolean *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetInvariantIntegervEXT(int id, int value, @NativeType("GLint *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetInvariantFloatvEXT(int id, int value, @NativeType("GLfloat *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetLocalConstantBooleanvEXT(int id, int value, @NativeType("GLboolean *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetLocalConstantIntegervEXT(int id, int value, @NativeType("GLint *") MemorySegment data) { + throw new ContextException(); + } + + default void glGetLocalConstantFloatvEXT(int id, int value, @NativeType("GLfloat *") MemorySegment data) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexWeighting.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexWeighting.java index 32416f96..6281637a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexWeighting.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTVertexWeighting.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -39,7 +38,16 @@ public interface GLEXTVertexWeighting { int GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F; int GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510; - void glVertexWeightfEXT(float weight); - void glVertexWeightfvEXT(@NativeType("const GLfloat *") MemorySegment weight); - void glVertexWeightPointerEXT(int size, int type, int stride, @NativeType("const void *") MemorySegment pointer); + default void glVertexWeightfEXT(float weight) { + throw new ContextException(); + } + + default void glVertexWeightfvEXT(@NativeType("const GLfloat *") MemorySegment weight) { + throw new ContextException(); + } + + default void glVertexWeightPointerEXT(int size, int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTWin32KeyedMutex.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTWin32KeyedMutex.java index 2b6e7943..7e54f46f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTWin32KeyedMutex.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTWin32KeyedMutex.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLEXTWin32KeyedMutex { - boolean glAcquireKeyedMutexWin32EXT(int memory, long key, int timeout); - boolean glReleaseKeyedMutexWin32EXT(int memory, long key); + default boolean glAcquireKeyedMutexWin32EXT(int memory, long key, int timeout) { + throw new ContextException(); + } + + default boolean glReleaseKeyedMutexWin32EXT(int memory, long key) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTWindowRectangles.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTWindowRectangles.java index 7f4dbeef..a9853ba9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTWindowRectangles.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTWindowRectangles.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,5 +31,8 @@ public interface GLEXTWindowRectangles { int GL_MAX_WINDOW_RECTANGLES_EXT = 0x8F14; int GL_NUM_WINDOW_RECTANGLES_EXT = 0x8F15; - void glWindowRectanglesEXT(int mode, int count, @NativeType("const GLint *") MemorySegment box); + default void glWindowRectanglesEXT(int mode, int count, @NativeType("const GLint *") MemorySegment box) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTX11SyncObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTX11SyncObject.java index c623dea5..7de660f1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTX11SyncObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTX11SyncObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ext; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,5 +26,8 @@ public interface GLEXTX11SyncObject { int GL_SYNC_X11_FENCE_EXT = 0x90E1; - @NativeType("GLsync") MemorySegment glImportSyncEXT(int external_sync_type, long external_sync, int flags); + @NativeType("GLsync") default MemorySegment glImportSyncEXT(int external_sync_type, long external_sync, int flags) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMCullVertex.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMCullVertex.java index ed100d70..0b4caeb8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMCullVertex.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMCullVertex.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ibm; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMMultimodeDrawArrays.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMMultimodeDrawArrays.java index f93d5986..6fbdc1a7 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMMultimodeDrawArrays.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMMultimodeDrawArrays.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ibm; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLIBMMultimodeDrawArrays { - void glMultiModeDrawArraysIBM(@NativeType("const GLenum *") MemorySegment mode, @NativeType("const GLint *") MemorySegment first, @NativeType("const GLsizei *") MemorySegment count, int primcount, int modestride); - void glMultiModeDrawElementsIBM(@NativeType("const GLenum *") MemorySegment mode, @NativeType("const GLsizei *") MemorySegment count, int type, @NativeType("const void *const*") MemorySegment indices, int primcount, int modestride); + default void glMultiModeDrawArraysIBM(@NativeType("const GLenum *") MemorySegment mode, @NativeType("const GLint *") MemorySegment first, @NativeType("const GLsizei *") MemorySegment count, int primcount, int modestride) { + throw new ContextException(); + } + + default void glMultiModeDrawElementsIBM(@NativeType("const GLenum *") MemorySegment mode, @NativeType("const GLsizei *") MemorySegment count, int type, @NativeType("const void *const*") MemorySegment indices, int primcount, int modestride) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMRasterposClip.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMRasterposClip.java index ce949cc7..37f929f2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMRasterposClip.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMRasterposClip.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ibm; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMStaticData.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMStaticData.java index cc07548d..95bfe2ea 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMStaticData.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMStaticData.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ibm; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLIBMStaticData { int GL_ALL_STATIC_DATA_IBM = 103060; int GL_STATIC_VERTEX_ARRAY_IBM = 103061; - void glFlushStaticDataIBM(int target); + default void glFlushStaticDataIBM(int target) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMTextureMirroredRepeat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMTextureMirroredRepeat.java index cb6a139e..46ee8635 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMTextureMirroredRepeat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMTextureMirroredRepeat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ibm; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMVertexArrayLists.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMVertexArrayLists.java index b8f24062..cec28212 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMVertexArrayLists.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ibm/GLIBMVertexArrayLists.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.ibm; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -42,12 +41,36 @@ public interface GLIBMVertexArrayLists { int GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM = 103086; int GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM = 103087; - void glColorPointerListIBM(int size, int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride); - void glSecondaryColorPointerListIBM(int size, int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride); - void glEdgeFlagPointerListIBM(int stride, @NativeType("const GLboolean **") MemorySegment pointer, int ptrstride); - void glFogCoordPointerListIBM(int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride); - void glIndexPointerListIBM(int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride); - void glNormalPointerListIBM(int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride); - void glTexCoordPointerListIBM(int size, int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride); - void glVertexPointerListIBM(int size, int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride); + default void glColorPointerListIBM(int size, int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride) { + throw new ContextException(); + } + + default void glSecondaryColorPointerListIBM(int size, int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride) { + throw new ContextException(); + } + + default void glEdgeFlagPointerListIBM(int stride, @NativeType("const GLboolean **") MemorySegment pointer, int ptrstride) { + throw new ContextException(); + } + + default void glFogCoordPointerListIBM(int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride) { + throw new ContextException(); + } + + default void glIndexPointerListIBM(int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride) { + throw new ContextException(); + } + + default void glNormalPointerListIBM(int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride) { + throw new ContextException(); + } + + default void glTexCoordPointerListIBM(int size, int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride) { + throw new ContextException(); + } + + default void glVertexPointerListIBM(int size, int type, int stride, @NativeType("const void **") MemorySegment pointer, int ptrstride) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELBlackholeRender.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELBlackholeRender.java index fad08b57..77df1847 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELBlackholeRender.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELBlackholeRender.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.intel; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELConservativeRasterization.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELConservativeRasterization.java index 084fe263..ac4fad1a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELConservativeRasterization.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELConservativeRasterization.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.intel; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELFramebufferCMAA.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELFramebufferCMAA.java index 46086595..56ff7fe0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELFramebufferCMAA.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELFramebufferCMAA.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.intel; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLINTELFramebufferCMAA { - void glApplyFramebufferAttachmentCMAAINTEL(); + default void glApplyFramebufferAttachmentCMAAINTEL() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELMapTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELMapTexture.java index 3d2c8f21..080103db 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELMapTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELMapTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.intel; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,7 +29,16 @@ public interface GLINTELMapTexture { int GL_LAYOUT_LINEAR_INTEL = 1; int GL_LAYOUT_LINEAR_CPU_CACHED_INTEL = 2; - void glSyncTextureINTEL(int texture); - void glUnmapTexture2DINTEL(int texture, int level); - @NativeType("void*") MemorySegment glMapTexture2DINTEL(int texture, int level, int access, @NativeType("GLint *") MemorySegment stride, @NativeType("GLenum *") MemorySegment layout); + default void glSyncTextureINTEL(int texture) { + throw new ContextException(); + } + + default void glUnmapTexture2DINTEL(int texture, int level) { + throw new ContextException(); + } + + @NativeType("void*") default MemorySegment glMapTexture2DINTEL(int texture, int level, int access, @NativeType("GLint *") MemorySegment stride, @NativeType("GLenum *") MemorySegment layout) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELParallelArrays.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELParallelArrays.java index 5c68a96c..fcf5f56d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELParallelArrays.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELParallelArrays.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.intel; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,8 +30,20 @@ public interface GLINTELParallelArrays { int GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F7; int GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F8; - void glVertexPointervINTEL(int size, int type, @NativeType("const void **") MemorySegment pointer); - void glNormalPointervINTEL(int type, @NativeType("const void **") MemorySegment pointer); - void glColorPointervINTEL(int size, int type, @NativeType("const void **") MemorySegment pointer); - void glTexCoordPointervINTEL(int size, int type, @NativeType("const void **") MemorySegment pointer); + default void glVertexPointervINTEL(int size, int type, @NativeType("const void **") MemorySegment pointer) { + throw new ContextException(); + } + + default void glNormalPointervINTEL(int type, @NativeType("const void **") MemorySegment pointer) { + throw new ContextException(); + } + + default void glColorPointervINTEL(int size, int type, @NativeType("const void **") MemorySegment pointer) { + throw new ContextException(); + } + + default void glTexCoordPointervINTEL(int size, int type, @NativeType("const void **") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELPerformanceQuery.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELPerformanceQuery.java index 4969131e..16d33809 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELPerformanceQuery.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/intel/GLINTELPerformanceQuery.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.intel; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -46,14 +45,44 @@ public interface GLINTELPerformanceQuery { int GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL = 0x94FF; int GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL = 0x9500; - void glBeginPerfQueryINTEL(int queryHandle); - void glCreatePerfQueryINTEL(int queryId, @NativeType("GLuint *") MemorySegment queryHandle); - void glDeletePerfQueryINTEL(int queryHandle); - void glEndPerfQueryINTEL(int queryHandle); - void glGetFirstPerfQueryIdINTEL(@NativeType("GLuint *") MemorySegment queryId); - void glGetNextPerfQueryIdINTEL(int queryId, @NativeType("GLuint *") MemorySegment nextQueryId); - void glGetPerfCounterInfoINTEL(int queryId, int counterId, int counterNameLength, @NativeType("GLchar *") MemorySegment counterName, int counterDescLength, @NativeType("GLchar *") MemorySegment counterDesc, @NativeType("GLuint *") MemorySegment counterOffset, @NativeType("GLuint *") MemorySegment counterDataSize, @NativeType("GLuint *") MemorySegment counterTypeEnum, @NativeType("GLuint *") MemorySegment counterDataTypeEnum, @NativeType("GLuint64 *") MemorySegment rawCounterMaxValue); - void glGetPerfQueryDataINTEL(int queryHandle, int flags, int dataSize, @NativeType("void *") MemorySegment data, @NativeType("GLuint *") MemorySegment bytesWritten); - void glGetPerfQueryIdByNameINTEL(@NativeType("GLchar *") MemorySegment queryName, @NativeType("GLuint *") MemorySegment queryId); - void glGetPerfQueryInfoINTEL(int queryId, int queryNameLength, @NativeType("GLchar *") MemorySegment queryName, @NativeType("GLuint *") MemorySegment dataSize, @NativeType("GLuint *") MemorySegment noCounters, @NativeType("GLuint *") MemorySegment noInstances, @NativeType("GLuint *") MemorySegment capsMask); + default void glBeginPerfQueryINTEL(int queryHandle) { + throw new ContextException(); + } + + default void glCreatePerfQueryINTEL(int queryId, @NativeType("GLuint *") MemorySegment queryHandle) { + throw new ContextException(); + } + + default void glDeletePerfQueryINTEL(int queryHandle) { + throw new ContextException(); + } + + default void glEndPerfQueryINTEL(int queryHandle) { + throw new ContextException(); + } + + default void glGetFirstPerfQueryIdINTEL(@NativeType("GLuint *") MemorySegment queryId) { + throw new ContextException(); + } + + default void glGetNextPerfQueryIdINTEL(int queryId, @NativeType("GLuint *") MemorySegment nextQueryId) { + throw new ContextException(); + } + + default void glGetPerfCounterInfoINTEL(int queryId, int counterId, int counterNameLength, @NativeType("GLchar *") MemorySegment counterName, int counterDescLength, @NativeType("GLchar *") MemorySegment counterDesc, @NativeType("GLuint *") MemorySegment counterOffset, @NativeType("GLuint *") MemorySegment counterDataSize, @NativeType("GLuint *") MemorySegment counterTypeEnum, @NativeType("GLuint *") MemorySegment counterDataTypeEnum, @NativeType("GLuint64 *") MemorySegment rawCounterMaxValue) { + throw new ContextException(); + } + + default void glGetPerfQueryDataINTEL(int queryHandle, int flags, int dataSize, @NativeType("void *") MemorySegment data, @NativeType("GLuint *") MemorySegment bytesWritten) { + throw new ContextException(); + } + + default void glGetPerfQueryIdByNameINTEL(@NativeType("GLchar *") MemorySegment queryName, @NativeType("GLuint *") MemorySegment queryId) { + throw new ContextException(); + } + + default void glGetPerfQueryInfoINTEL(int queryId, int queryNameLength, @NativeType("GLchar *") MemorySegment queryName, @NativeType("GLuint *") MemorySegment dataSize, @NativeType("GLuint *") MemorySegment noCounters, @NativeType("GLuint *") MemorySegment noInstances, @NativeType("GLuint *") MemorySegment capsMask) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRBlendEquationAdvanced.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRBlendEquationAdvanced.java index add4de7d..b295dd7d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRBlendEquationAdvanced.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRBlendEquationAdvanced.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.khr; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -41,5 +40,8 @@ public interface GLKHRBlendEquationAdvanced { int GL_HSL_COLOR_KHR = 0x92AF; int GL_HSL_LUMINOSITY_KHR = 0x92B0; - void glBlendBarrierKHR(); + default void glBlendBarrierKHR() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRBlendEquationAdvancedCoherent.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRBlendEquationAdvancedCoherent.java index 50b60c8c..ab8cb34f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRBlendEquationAdvancedCoherent.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRBlendEquationAdvancedCoherent.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.khr; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRNoError.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRNoError.java index 4d0d739d..97a2ea1a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRNoError.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRNoError.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.khr; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRParallelShaderCompile.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRParallelShaderCompile.java index 7cfdba03..e8c3c99f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRParallelShaderCompile.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRParallelShaderCompile.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.khr; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLKHRParallelShaderCompile { int GL_MAX_SHADER_COMPILER_THREADS_KHR = 0x91B0; int GL_COMPLETION_STATUS_KHR = 0x91B1; - void glMaxShaderCompilerThreadsKHR(int count); + default void glMaxShaderCompilerThreadsKHR(int count) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRRobustness.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRRobustness.java index 07021658..46d73b91 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRRobustness.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRRobustness.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.khr; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRShaderSubgroup.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRShaderSubgroup.java index 1ce7670d..2c0aadfc 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRShaderSubgroup.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRShaderSubgroup.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.khr; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRTextureCompressionAstcHdr.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRTextureCompressionAstcHdr.java index 25ca91bb..7f4bc273 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRTextureCompressionAstcHdr.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/khr/GLKHRTextureCompressionAstcHdr.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.khr; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferFlipX.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferFlipX.java index 82e26d1f..d67fb1db 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferFlipX.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferFlipX.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferFlipY.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferFlipY.java index c8746120..d487ead1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferFlipY.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferFlipY.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,6 +26,12 @@ public interface GLMESAFramebufferFlipY { int GL_FRAMEBUFFER_FLIP_Y_MESA = 0x8BBB; - void glFramebufferParameteriMESA(int target, int pname, int param); - void glGetFramebufferParameterivMESA(int target, int pname, @NativeType("GLint *") MemorySegment params); + default void glFramebufferParameteriMESA(int target, int pname, int param) { + throw new ContextException(); + } + + default void glGetFramebufferParameterivMESA(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferSwapXY.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferSwapXY.java index 3d253c20..d9970ebe 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferSwapXY.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAFramebufferSwapXY.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAPackInvert.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAPackInvert.java index 28bd2288..c8a4eaa0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAPackInvert.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAPackInvert.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAProgramBinaryFormats.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAProgramBinaryFormats.java index e14e4299..8db6bac3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAProgramBinaryFormats.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAProgramBinaryFormats.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAResizeBuffers.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAResizeBuffers.java index 2ebb3779..0fa7e57f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAResizeBuffers.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAResizeBuffers.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLMESAResizeBuffers { - void glResizeBuffersMESA(); + default void glResizeBuffersMESA() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESATileRasterOrder.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESATileRasterOrder.java index 570a77af..a4a217db 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESATileRasterOrder.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESATileRasterOrder.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAWindowPos.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAWindowPos.java index 0054aa7a..d9c034ad 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAWindowPos.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAWindowPos.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,28 +25,100 @@ */ public interface GLMESAWindowPos { - void glWindowPos2dMESA(double x, double y); - void glWindowPos2dvMESA(@NativeType("const GLdouble *") MemorySegment v); - void glWindowPos2fMESA(float x, float y); - void glWindowPos2fvMESA(@NativeType("const GLfloat *") MemorySegment v); - void glWindowPos2iMESA(int x, int y); - void glWindowPos2ivMESA(@NativeType("const GLint *") MemorySegment v); - void glWindowPos2sMESA(short x, short y); - void glWindowPos2svMESA(@NativeType("const GLshort *") MemorySegment v); - void glWindowPos3dMESA(double x, double y, double z); - void glWindowPos3dvMESA(@NativeType("const GLdouble *") MemorySegment v); - void glWindowPos3fMESA(float x, float y, float z); - void glWindowPos3fvMESA(@NativeType("const GLfloat *") MemorySegment v); - void glWindowPos3iMESA(int x, int y, int z); - void glWindowPos3ivMESA(@NativeType("const GLint *") MemorySegment v); - void glWindowPos3sMESA(short x, short y, short z); - void glWindowPos3svMESA(@NativeType("const GLshort *") MemorySegment v); - void glWindowPos4dMESA(double x, double y, double z, double w); - void glWindowPos4dvMESA(@NativeType("const GLdouble *") MemorySegment v); - void glWindowPos4fMESA(float x, float y, float z, float w); - void glWindowPos4fvMESA(@NativeType("const GLfloat *") MemorySegment v); - void glWindowPos4iMESA(int x, int y, int z, int w); - void glWindowPos4ivMESA(@NativeType("const GLint *") MemorySegment v); - void glWindowPos4sMESA(short x, short y, short z, short w); - void glWindowPos4svMESA(@NativeType("const GLshort *") MemorySegment v); + default void glWindowPos2dMESA(double x, double y) { + throw new ContextException(); + } + + default void glWindowPos2dvMESA(@NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos2fMESA(float x, float y) { + throw new ContextException(); + } + + default void glWindowPos2fvMESA(@NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos2iMESA(int x, int y) { + throw new ContextException(); + } + + default void glWindowPos2ivMESA(@NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos2sMESA(short x, short y) { + throw new ContextException(); + } + + default void glWindowPos2svMESA(@NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos3dMESA(double x, double y, double z) { + throw new ContextException(); + } + + default void glWindowPos3dvMESA(@NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos3fMESA(float x, float y, float z) { + throw new ContextException(); + } + + default void glWindowPos3fvMESA(@NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos3iMESA(int x, int y, int z) { + throw new ContextException(); + } + + default void glWindowPos3ivMESA(@NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos3sMESA(short x, short y, short z) { + throw new ContextException(); + } + + default void glWindowPos3svMESA(@NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos4dMESA(double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glWindowPos4dvMESA(@NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos4fMESA(float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glWindowPos4fvMESA(@NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos4iMESA(int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glWindowPos4ivMESA(@NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default void glWindowPos4sMESA(short x, short y, short z, short w) { + throw new ContextException(); + } + + default void glWindowPos4svMESA(@NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAXTextureStack.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAXTextureStack.java index caa0c7cd..49ccafa4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAXTextureStack.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAXTextureStack.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAYcbcrTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAYcbcrTexture.java index 465e032e..77fd18a1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAYcbcrTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/mesa/GLMESAYcbcrTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.mesa; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVAlphaToCoverageDitherControl.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVAlphaToCoverageDitherControl.java index 5eb1bfbe..6e70fd69 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVAlphaToCoverageDitherControl.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVAlphaToCoverageDitherControl.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLNVAlphaToCoverageDitherControl { int GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV = 0x934F; int GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV = 0x92BF; - void glAlphaToCoverageDitherControlNV(int mode); + default void glAlphaToCoverageDitherControlNV(int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessMultiDrawIndirect.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessMultiDrawIndirect.java index 57d3f81f..86a137aa 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessMultiDrawIndirect.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessMultiDrawIndirect.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLNVBindlessMultiDrawIndirect { - void glMultiDrawArraysIndirectBindlessNV(int mode, @NativeType("const void *") MemorySegment indirect, int drawCount, int stride, int vertexBufferCount); - void glMultiDrawElementsIndirectBindlessNV(int mode, int type, @NativeType("const void *") MemorySegment indirect, int drawCount, int stride, int vertexBufferCount); + default void glMultiDrawArraysIndirectBindlessNV(int mode, @NativeType("const void *") MemorySegment indirect, int drawCount, int stride, int vertexBufferCount) { + throw new ContextException(); + } + + default void glMultiDrawElementsIndirectBindlessNV(int mode, int type, @NativeType("const void *") MemorySegment indirect, int drawCount, int stride, int vertexBufferCount) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessMultiDrawIndirectCount.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessMultiDrawIndirectCount.java index b5d3970d..b110ced7 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessMultiDrawIndirectCount.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessMultiDrawIndirectCount.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLNVBindlessMultiDrawIndirectCount { - void glMultiDrawArraysIndirectBindlessCountNV(int mode, @NativeType("const void *") MemorySegment indirect, int drawCount, int maxDrawCount, int stride, int vertexBufferCount); - void glMultiDrawElementsIndirectBindlessCountNV(int mode, int type, @NativeType("const void *") MemorySegment indirect, int drawCount, int maxDrawCount, int stride, int vertexBufferCount); + default void glMultiDrawArraysIndirectBindlessCountNV(int mode, @NativeType("const void *") MemorySegment indirect, int drawCount, int maxDrawCount, int stride, int vertexBufferCount) { + throw new ContextException(); + } + + default void glMultiDrawElementsIndirectBindlessCountNV(int mode, int type, @NativeType("const void *") MemorySegment indirect, int drawCount, int maxDrawCount, int stride, int vertexBufferCount) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessTexture.java index f2a86ac7..77cb3db9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBindlessTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,17 +25,56 @@ */ public interface GLNVBindlessTexture { - long glGetTextureHandleNV(int texture); - long glGetTextureSamplerHandleNV(int texture, int sampler); - void glMakeTextureHandleResidentNV(long handle); - void glMakeTextureHandleNonResidentNV(long handle); - long glGetImageHandleNV(int texture, int level, boolean layered, int layer, int format); - void glMakeImageHandleResidentNV(long handle, int access); - void glMakeImageHandleNonResidentNV(long handle); - void glUniformHandleui64NV(int location, long value); - void glUniformHandleui64vNV(int location, int count, @NativeType("const GLuint64 *") MemorySegment value); - void glProgramUniformHandleui64NV(int program, int location, long value); - void glProgramUniformHandleui64vNV(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment values); - boolean glIsTextureHandleResidentNV(long handle); - boolean glIsImageHandleResidentNV(long handle); + default long glGetTextureHandleNV(int texture) { + throw new ContextException(); + } + + default long glGetTextureSamplerHandleNV(int texture, int sampler) { + throw new ContextException(); + } + + default void glMakeTextureHandleResidentNV(long handle) { + throw new ContextException(); + } + + default void glMakeTextureHandleNonResidentNV(long handle) { + throw new ContextException(); + } + + default long glGetImageHandleNV(int texture, int level, boolean layered, int layer, int format) { + throw new ContextException(); + } + + default void glMakeImageHandleResidentNV(long handle, int access) { + throw new ContextException(); + } + + default void glMakeImageHandleNonResidentNV(long handle) { + throw new ContextException(); + } + + default void glUniformHandleui64NV(int location, long value) { + throw new ContextException(); + } + + default void glUniformHandleui64vNV(int location, int count, @NativeType("const GLuint64 *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformHandleui64NV(int program, int location, long value) { + throw new ContextException(); + } + + default void glProgramUniformHandleui64vNV(int program, int location, int count, @NativeType("const GLuint64 *") MemorySegment values) { + throw new ContextException(); + } + + default boolean glIsTextureHandleResidentNV(long handle) { + throw new ContextException(); + } + + default boolean glIsImageHandleResidentNV(long handle) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBlendEquationAdvanced.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBlendEquationAdvanced.java index 765dd62f..f37f20fc 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBlendEquationAdvanced.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBlendEquationAdvanced.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -75,6 +74,12 @@ public interface GLNVBlendEquationAdvanced { int GL_VIVIDLIGHT_NV = 0x92A6; int GL_XOR_NV = 0x1506; - void glBlendParameteriNV(int pname, int value); - void glBlendBarrierNV(); + default void glBlendParameteriNV(int pname, int value) { + throw new ContextException(); + } + + default void glBlendBarrierNV() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBlendEquationAdvancedCoherent.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBlendEquationAdvancedCoherent.java index 8a3f6ae8..cd9d53b3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBlendEquationAdvancedCoherent.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVBlendEquationAdvancedCoherent.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVClipSpaceWScaling.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVClipSpaceWScaling.java index 4e6a8874..5bf5406a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVClipSpaceWScaling.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVClipSpaceWScaling.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLNVClipSpaceWScaling { int GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV = 0x937D; int GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV = 0x937E; - void glViewportPositionWScaleNV(int index, float xcoeff, float ycoeff); + default void glViewportPositionWScaleNV(int index, float xcoeff, float ycoeff) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCommandList.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCommandList.java index 6ed4392f..3da6a8d4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCommandList.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCommandList.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -45,21 +44,72 @@ public interface GLNVCommandList { int GL_SCISSOR_COMMAND_NV = 0x0011; int GL_FRONT_FACE_COMMAND_NV = 0x0012; - void glCreateStatesNV(int n, @NativeType("GLuint *") MemorySegment states); - void glDeleteStatesNV(int n, @NativeType("const GLuint *") MemorySegment states); - boolean glIsStateNV(int state); - void glStateCaptureNV(int state, int mode); - int glGetCommandHeaderNV(int tokenID, int size); - short glGetStageIndexNV(int shadertype); - void glDrawCommandsNV(int primitiveMode, int buffer, @NativeType("const GLintptr *") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, int count); - void glDrawCommandsAddressNV(int primitiveMode, @NativeType("const GLuint64 *") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, int count); - void glDrawCommandsStatesNV(int buffer, @NativeType("const GLintptr *") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, @NativeType("const GLuint *") MemorySegment states, @NativeType("const GLuint *") MemorySegment fbos, int count); - void glDrawCommandsStatesAddressNV(@NativeType("const GLuint64 *") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, @NativeType("const GLuint *") MemorySegment states, @NativeType("const GLuint *") MemorySegment fbos, int count); - void glCreateCommandListsNV(int n, @NativeType("GLuint *") MemorySegment lists); - void glDeleteCommandListsNV(int n, @NativeType("const GLuint *") MemorySegment lists); - boolean glIsCommandListNV(int list); - void glListDrawCommandsStatesClientNV(int list, int segment, @NativeType("const void **") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, @NativeType("const GLuint *") MemorySegment states, @NativeType("const GLuint *") MemorySegment fbos, int count); - void glCommandListSegmentsNV(int list, int segments); - void glCompileCommandListNV(int list); - void glCallCommandListNV(int list); + default void glCreateStatesNV(int n, @NativeType("GLuint *") MemorySegment states) { + throw new ContextException(); + } + + default void glDeleteStatesNV(int n, @NativeType("const GLuint *") MemorySegment states) { + throw new ContextException(); + } + + default boolean glIsStateNV(int state) { + throw new ContextException(); + } + + default void glStateCaptureNV(int state, int mode) { + throw new ContextException(); + } + + default int glGetCommandHeaderNV(int tokenID, int size) { + throw new ContextException(); + } + + default short glGetStageIndexNV(int shadertype) { + throw new ContextException(); + } + + default void glDrawCommandsNV(int primitiveMode, int buffer, @NativeType("const GLintptr *") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, int count) { + throw new ContextException(); + } + + default void glDrawCommandsAddressNV(int primitiveMode, @NativeType("const GLuint64 *") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, int count) { + throw new ContextException(); + } + + default void glDrawCommandsStatesNV(int buffer, @NativeType("const GLintptr *") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, @NativeType("const GLuint *") MemorySegment states, @NativeType("const GLuint *") MemorySegment fbos, int count) { + throw new ContextException(); + } + + default void glDrawCommandsStatesAddressNV(@NativeType("const GLuint64 *") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, @NativeType("const GLuint *") MemorySegment states, @NativeType("const GLuint *") MemorySegment fbos, int count) { + throw new ContextException(); + } + + default void glCreateCommandListsNV(int n, @NativeType("GLuint *") MemorySegment lists) { + throw new ContextException(); + } + + default void glDeleteCommandListsNV(int n, @NativeType("const GLuint *") MemorySegment lists) { + throw new ContextException(); + } + + default boolean glIsCommandListNV(int list) { + throw new ContextException(); + } + + default void glListDrawCommandsStatesClientNV(int list, int segment, @NativeType("const void **") MemorySegment indirects, @NativeType("const GLsizei *") MemorySegment sizes, @NativeType("const GLuint *") MemorySegment states, @NativeType("const GLuint *") MemorySegment fbos, int count) { + throw new ContextException(); + } + + default void glCommandListSegmentsNV(int list, int segments) { + throw new ContextException(); + } + + default void glCompileCommandListNV(int list) { + throw new ContextException(); + } + + default void glCallCommandListNV(int list) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVComputeProgram5.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVComputeProgram5.java index 20d43a9f..ab22aed3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVComputeProgram5.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVComputeProgram5.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConditionalRender.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConditionalRender.java index cac6f49b..cf741443 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConditionalRender.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConditionalRender.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,6 +29,12 @@ public interface GLNVConditionalRender { int GL_QUERY_BY_REGION_WAIT_NV = 0x8E15; int GL_QUERY_BY_REGION_NO_WAIT_NV = 0x8E16; - void glBeginConditionalRenderNV(int id, int mode); - void glEndConditionalRenderNV(); + default void glBeginConditionalRenderNV(int id, int mode) { + throw new ContextException(); + } + + default void glEndConditionalRenderNV() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRaster.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRaster.java index 53bf25bf..1c3e8642 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRaster.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRaster.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLNVConservativeRaster { int GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV = 0x9348; int GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV = 0x9349; - void glSubpixelPrecisionBiasNV(int xbits, int ybits); + default void glSubpixelPrecisionBiasNV(int xbits, int ybits) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterDilate.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterDilate.java index 428170a4..6e971b43 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterDilate.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterDilate.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLNVConservativeRasterDilate { int GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV = 0x937A; int GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV = 0x937B; - void glConservativeRasterParameterfNV(int pname, float value); + default void glConservativeRasterParameterfNV(int pname, float value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterPreSnap.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterPreSnap.java index 40f07c7a..fbcf8447 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterPreSnap.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterPreSnap.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterPreSnapTriangles.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterPreSnapTriangles.java index 7ee84326..c88c57c0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterPreSnapTriangles.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVConservativeRasterPreSnapTriangles.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLNVConservativeRasterPreSnapTriangles { int GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV = 0x954E; int GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV = 0x954F; - void glConservativeRasterParameteriNV(int pname, int param); + default void glConservativeRasterParameteriNV(int pname, int param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCopyDepthToColor.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCopyDepthToColor.java index 135ac868..ca47e73b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCopyDepthToColor.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCopyDepthToColor.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCopyImage.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCopyImage.java index a1d0b933..389d0d22 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCopyImage.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVCopyImage.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLNVCopyImage { - void glCopyImageSubDataNV(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth); + default void glCopyImageSubDataNV(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDeepTexture3D.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDeepTexture3D.java index 6971fc27..6d8f4f45 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDeepTexture3D.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDeepTexture3D.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDepthBufferFloat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDepthBufferFloat.java index 6878afdc..2cf2761e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDepthBufferFloat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDepthBufferFloat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,7 +29,16 @@ public interface GLNVDepthBufferFloat { int GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV = 0x8DAD; int GL_DEPTH_BUFFER_FLOAT_MODE_NV = 0x8DAF; - void glDepthRangedNV(double zNear, double zFar); - void glClearDepthdNV(double depth); - void glDepthBoundsdNV(double zmin, double zmax); + default void glDepthRangedNV(double zNear, double zFar) { + throw new ContextException(); + } + + default void glClearDepthdNV(double depth) { + throw new ContextException(); + } + + default void glDepthBoundsdNV(double zmin, double zmax) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDepthClamp.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDepthClamp.java index c5b221e9..8d160b3c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDepthClamp.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDepthClamp.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDrawTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDrawTexture.java index 5cf6589b..fc32f39a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDrawTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDrawTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLNVDrawTexture { - void glDrawTextureNV(int texture, int sampler, float x0, float y0, float x1, float y1, float z, float s0, float t0, float s1, float t1); + default void glDrawTextureNV(int texture, int sampler, float x0, float y0, float x1, float y1, float z, float s0, float t0, float s1, float t1) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDrawVulkanImage.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDrawVulkanImage.java index 5f9c0409..5151738c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDrawVulkanImage.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVDrawVulkanImage.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,9 +25,24 @@ */ public interface GLNVDrawVulkanImage { - void glDrawVkImageNV(long vkImage, int sampler, float x0, float y0, float x1, float y1, float z, float s0, float t0, float s1, float t1); - @NativeType("GLVULKANPROCNV") MemorySegment glGetVkProcAddrNV(@NativeType("const GLchar *") MemorySegment name); - void glWaitVkSemaphoreNV(long vkSemaphore); - void glSignalVkSemaphoreNV(long vkSemaphore); - void glSignalVkFenceNV(long vkFence); + default void glDrawVkImageNV(long vkImage, int sampler, float x0, float y0, float x1, float y1, float z, float s0, float t0, float s1, float t1) { + throw new ContextException(); + } + + @NativeType("GLVULKANPROCNV") default MemorySegment glGetVkProcAddrNV(@NativeType("const GLchar *") MemorySegment name) { + throw new ContextException(); + } + + default void glWaitVkSemaphoreNV(long vkSemaphore) { + throw new ContextException(); + } + + default void glSignalVkSemaphoreNV(long vkSemaphore) { + throw new ContextException(); + } + + default void glSignalVkFenceNV(long vkFence) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVEvaluators.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVEvaluators.java index 0f10c1ca..d531f029 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVEvaluators.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVEvaluators.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -50,13 +49,40 @@ public interface GLNVEvaluators { int GL_MAX_MAP_TESSELLATION_NV = 0x86D6; int GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7; - void glMapControlPointsNV(int target, int index, int type, int ustride, int vstride, int uorder, int vorder, boolean packed, @NativeType("const void *") MemorySegment points); - void glMapParameterivNV(int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glMapParameterfvNV(int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glGetMapControlPointsNV(int target, int index, int type, int ustride, int vstride, boolean packed, @NativeType("void *") MemorySegment points); - void glGetMapParameterivNV(int target, int pname, @NativeType("GLint *") MemorySegment params); - void glGetMapParameterfvNV(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetMapAttribParameterivNV(int target, int index, int pname, @NativeType("GLint *") MemorySegment params); - void glGetMapAttribParameterfvNV(int target, int index, int pname, @NativeType("GLfloat *") MemorySegment params); - void glEvalMapsNV(int target, int mode); + default void glMapControlPointsNV(int target, int index, int type, int ustride, int vstride, int uorder, int vorder, boolean packed, @NativeType("const void *") MemorySegment points) { + throw new ContextException(); + } + + default void glMapParameterivNV(int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMapParameterfvNV(int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMapControlPointsNV(int target, int index, int type, int ustride, int vstride, boolean packed, @NativeType("void *") MemorySegment points) { + throw new ContextException(); + } + + default void glGetMapParameterivNV(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMapParameterfvNV(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMapAttribParameterivNV(int target, int index, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMapAttribParameterfvNV(int target, int index, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glEvalMapsNV(int target, int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVExplicitMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVExplicitMultisample.java index 346740ee..cb6e91bb 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVExplicitMultisample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVExplicitMultisample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -36,7 +35,16 @@ public interface GLNVExplicitMultisample { int GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV = 0x8E58; int GL_MAX_SAMPLE_MASK_WORDS_NV = 0x8E59; - void glGetMultisamplefvNV(int pname, int index, @NativeType("GLfloat *") MemorySegment val); - void glSampleMaskIndexedNV(int index, int mask); - void glTexRenderbufferNV(int target, int renderbuffer); + default void glGetMultisamplefvNV(int pname, int index, @NativeType("GLfloat *") MemorySegment val) { + throw new ContextException(); + } + + default void glSampleMaskIndexedNV(int index, int mask) { + throw new ContextException(); + } + + default void glTexRenderbufferNV(int target, int renderbuffer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFence.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFence.java index 961c426f..0f0ab5eb 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFence.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFence.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,11 +28,32 @@ public interface GLNVFence { int GL_FENCE_STATUS_NV = 0x84F3; int GL_FENCE_CONDITION_NV = 0x84F4; - void glDeleteFencesNV(int n, @NativeType("const GLuint *") MemorySegment fences); - void glGenFencesNV(int n, @NativeType("GLuint *") MemorySegment fences); - boolean glIsFenceNV(int fence); - boolean glTestFenceNV(int fence); - void glGetFenceivNV(int fence, int pname, @NativeType("GLint *") MemorySegment params); - void glFinishFenceNV(int fence); - void glSetFenceNV(int fence, int condition); + default void glDeleteFencesNV(int n, @NativeType("const GLuint *") MemorySegment fences) { + throw new ContextException(); + } + + default void glGenFencesNV(int n, @NativeType("GLuint *") MemorySegment fences) { + throw new ContextException(); + } + + default boolean glIsFenceNV(int fence) { + throw new ContextException(); + } + + default boolean glTestFenceNV(int fence) { + throw new ContextException(); + } + + default void glGetFenceivNV(int fence, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glFinishFenceNV(int fence) { + throw new ContextException(); + } + + default void glSetFenceNV(int fence, int condition) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFillRectangle.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFillRectangle.java index ae98b3d8..107409ad 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFillRectangle.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFillRectangle.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFloatBuffer.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFloatBuffer.java index 6cfc7719..39aa05a6 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFloatBuffer.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFloatBuffer.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFogDistance.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFogDistance.java index 9c85165b..ce19fdee 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFogDistance.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFogDistance.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentCoverageToColor.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentCoverageToColor.java index 537d6041..35f91e41 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentCoverageToColor.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentCoverageToColor.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLNVFragmentCoverageToColor { int GL_FRAGMENT_COVERAGE_TO_COLOR_NV = 0x92DD; int GL_FRAGMENT_COVERAGE_COLOR_NV = 0x92DE; - void glFragmentCoverageColorNV(int color); + default void glFragmentCoverageColorNV(int color) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentProgram.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentProgram.java index feba03a1..09a7160c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentProgram.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentProgram.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,10 +31,28 @@ public interface GLNVFragmentProgram { int GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873; int GL_PROGRAM_ERROR_STRING_NV = 0x8874; - void glProgramNamedParameter4fNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, float x, float y, float z, float w); - void glProgramNamedParameter4fvNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, @NativeType("const GLfloat *") MemorySegment v); - void glProgramNamedParameter4dNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, double x, double y, double z, double w); - void glProgramNamedParameter4dvNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, @NativeType("const GLdouble *") MemorySegment v); - void glGetProgramNamedParameterfvNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, @NativeType("GLfloat *") MemorySegment params); - void glGetProgramNamedParameterdvNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, @NativeType("GLdouble *") MemorySegment params); + default void glProgramNamedParameter4fNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glProgramNamedParameter4fvNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glProgramNamedParameter4dNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glProgramNamedParameter4dvNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glGetProgramNamedParameterfvNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramNamedParameterdvNV(int id, int len, @NativeType("const GLubyte *") MemorySegment name, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentProgram2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentProgram2.java index 481fa08d..153621d4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentProgram2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFragmentProgram2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFramebufferMixedSamples.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFramebufferMixedSamples.java index 8df2aec4..c691429a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFramebufferMixedSamples.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFramebufferMixedSamples.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,7 +33,16 @@ public interface GLNVFramebufferMixedSamples { int GL_COVERAGE_MODULATION_NV = 0x9332; int GL_COVERAGE_MODULATION_TABLE_SIZE_NV = 0x9333; - void glCoverageModulationTableNV(int n, @NativeType("const GLfloat *") MemorySegment v); - void glGetCoverageModulationTableNV(int bufSize, @NativeType("GLfloat *") MemorySegment v); - void glCoverageModulationNV(int components); + default void glCoverageModulationTableNV(int n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glGetCoverageModulationTableNV(int bufSize, @NativeType("GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glCoverageModulationNV(int components) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFramebufferMultisampleCoverage.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFramebufferMultisampleCoverage.java index c841b6a8..521dbb89 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFramebufferMultisampleCoverage.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVFramebufferMultisampleCoverage.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLNVFramebufferMultisampleCoverage { int GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E11; int GL_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E12; - void glRenderbufferStorageMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalformat, int width, int height); + default void glRenderbufferStorageMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalformat, int width, int height) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGeometryProgram4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGeometryProgram4.java index 3b72921c..87533a5e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGeometryProgram4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGeometryProgram4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,7 +28,16 @@ public interface GLNVGeometryProgram4 { int GL_MAX_PROGRAM_OUTPUT_VERTICES_NV = 0x8C27; int GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = 0x8C28; - void glProgramVertexLimitNV(int target, int limit); - void glFramebufferTextureEXT(int target, int attachment, int texture, int level); - void glFramebufferTextureFaceEXT(int target, int attachment, int texture, int level, int face); + default void glProgramVertexLimitNV(int target, int limit) { + throw new ContextException(); + } + + default void glFramebufferTextureEXT(int target, int attachment, int texture, int level) { + throw new ContextException(); + } + + default void glFramebufferTextureFaceEXT(int target, int attachment, int texture, int level, int face) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuMulticast.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuMulticast.java index 2a7bc2e6..5207e1ef 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuMulticast.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuMulticast.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,16 +30,52 @@ public interface GLNVGpuMulticast { int GL_PER_GPU_STORAGE_NV = 0x9548; int GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV = 0x9549; - void glRenderGpuMaskNV(int mask); - void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, long size, @NativeType("const void *") MemorySegment data); - void glMulticastCopyBufferSubDataNV(int readGpu, int writeGpuMask, int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size); - void glMulticastCopyImageSubDataNV(int srcGpu, int dstGpuMask, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth); - void glMulticastBlitFramebufferNV(int srcGpu, int dstGpu, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter); - void glMulticastFramebufferSampleLocationsfvNV(int gpu, int framebuffer, int start, int count, @NativeType("const GLfloat *") MemorySegment v); - void glMulticastBarrierNV(); - void glMulticastWaitSyncNV(int signalGpu, int waitGpuMask); - void glMulticastGetQueryObjectivNV(int gpu, int id, int pname, @NativeType("GLint *") MemorySegment params); - void glMulticastGetQueryObjectuivNV(int gpu, int id, int pname, @NativeType("GLuint *") MemorySegment params); - void glMulticastGetQueryObjecti64vNV(int gpu, int id, int pname, @NativeType("GLint64 *") MemorySegment params); - void glMulticastGetQueryObjectui64vNV(int gpu, int id, int pname, @NativeType("GLuint64 *") MemorySegment params); + default void glRenderGpuMaskNV(int mask) { + throw new ContextException(); + } + + default void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, long size, @NativeType("const void *") MemorySegment data) { + throw new ContextException(); + } + + default void glMulticastCopyBufferSubDataNV(int readGpu, int writeGpuMask, int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size) { + throw new ContextException(); + } + + default void glMulticastCopyImageSubDataNV(int srcGpu, int dstGpuMask, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth) { + throw new ContextException(); + } + + default void glMulticastBlitFramebufferNV(int srcGpu, int dstGpu, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) { + throw new ContextException(); + } + + default void glMulticastFramebufferSampleLocationsfvNV(int gpu, int framebuffer, int start, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glMulticastBarrierNV() { + throw new ContextException(); + } + + default void glMulticastWaitSyncNV(int signalGpu, int waitGpuMask) { + throw new ContextException(); + } + + default void glMulticastGetQueryObjectivNV(int gpu, int id, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMulticastGetQueryObjectuivNV(int gpu, int id, int pname, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glMulticastGetQueryObjecti64vNV(int gpu, int id, int pname, @NativeType("GLint64 *") MemorySegment params) { + throw new ContextException(); + } + + default void glMulticastGetQueryObjectui64vNV(int gpu, int id, int pname, @NativeType("GLuint64 *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuProgram4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuProgram4.java index 1dac0f6c..e41ba92b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuProgram4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuProgram4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,20 +33,68 @@ public interface GLNVGpuProgram4 { int GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV = 0x8DA5; int GL_MAX_PROGRAM_GENERIC_RESULTS_NV = 0x8DA6; - void glProgramLocalParameterI4iNV(int target, int index, int x, int y, int z, int w); - void glProgramLocalParameterI4ivNV(int target, int index, @NativeType("const GLint *") MemorySegment params); - void glProgramLocalParametersI4ivNV(int target, int index, int count, @NativeType("const GLint *") MemorySegment params); - void glProgramLocalParameterI4uiNV(int target, int index, int x, int y, int z, int w); - void glProgramLocalParameterI4uivNV(int target, int index, @NativeType("const GLuint *") MemorySegment params); - void glProgramLocalParametersI4uivNV(int target, int index, int count, @NativeType("const GLuint *") MemorySegment params); - void glProgramEnvParameterI4iNV(int target, int index, int x, int y, int z, int w); - void glProgramEnvParameterI4ivNV(int target, int index, @NativeType("const GLint *") MemorySegment params); - void glProgramEnvParametersI4ivNV(int target, int index, int count, @NativeType("const GLint *") MemorySegment params); - void glProgramEnvParameterI4uiNV(int target, int index, int x, int y, int z, int w); - void glProgramEnvParameterI4uivNV(int target, int index, @NativeType("const GLuint *") MemorySegment params); - void glProgramEnvParametersI4uivNV(int target, int index, int count, @NativeType("const GLuint *") MemorySegment params); - void glGetProgramLocalParameterIivNV(int target, int index, @NativeType("GLint *") MemorySegment params); - void glGetProgramLocalParameterIuivNV(int target, int index, @NativeType("GLuint *") MemorySegment params); - void glGetProgramEnvParameterIivNV(int target, int index, @NativeType("GLint *") MemorySegment params); - void glGetProgramEnvParameterIuivNV(int target, int index, @NativeType("GLuint *") MemorySegment params); + default void glProgramLocalParameterI4iNV(int target, int index, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glProgramLocalParameterI4ivNV(int target, int index, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramLocalParametersI4ivNV(int target, int index, int count, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramLocalParameterI4uiNV(int target, int index, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glProgramLocalParameterI4uivNV(int target, int index, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramLocalParametersI4uivNV(int target, int index, int count, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramEnvParameterI4iNV(int target, int index, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glProgramEnvParameterI4ivNV(int target, int index, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramEnvParametersI4ivNV(int target, int index, int count, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramEnvParameterI4uiNV(int target, int index, int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glProgramEnvParameterI4uivNV(int target, int index, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramEnvParametersI4uivNV(int target, int index, int count, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramLocalParameterIivNV(int target, int index, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramLocalParameterIuivNV(int target, int index, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramEnvParameterIivNV(int target, int index, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramEnvParameterIuivNV(int target, int index, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuProgram5.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuProgram5.java index 731cb097..07a289c5 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuProgram5.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVGpuProgram5.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,6 +33,12 @@ public interface GLNVGpuProgram5 { int GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV = 0x8F44; int GL_MAX_PROGRAM_SUBROUTINE_NUM_NV = 0x8F45; - void glProgramSubroutineParametersuivNV(int target, int count, @NativeType("const GLuint *") MemorySegment params); - void glGetProgramSubroutineParameteruivNV(int target, int index, @NativeType("GLuint *") MemorySegment param); + default void glProgramSubroutineParametersuivNV(int target, int count, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramSubroutineParameteruivNV(int target, int index, @NativeType("GLuint *") MemorySegment param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVHalfFloat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVHalfFloat.java index 177f3be9..0fc4214a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVHalfFloat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVHalfFloat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,50 +26,188 @@ public interface GLNVHalfFloat { int GL_HALF_FLOAT_NV = 0x140B; - void glVertex2hNV(short x, short y); - void glVertex2hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glVertex3hNV(short x, short y, short z); - void glVertex3hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glVertex4hNV(short x, short y, short z, short w); - void glVertex4hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glNormal3hNV(short nx, short ny, short nz); - void glNormal3hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glColor3hNV(short red, short green, short blue); - void glColor3hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glColor4hNV(short red, short green, short blue, short alpha); - void glColor4hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glTexCoord1hNV(short s); - void glTexCoord1hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glTexCoord2hNV(short s, short t); - void glTexCoord2hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glTexCoord3hNV(short s, short t, short r); - void glTexCoord3hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glTexCoord4hNV(short s, short t, short r, short q); - void glTexCoord4hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glMultiTexCoord1hNV(int target, short s); - void glMultiTexCoord1hvNV(int target, @NativeType("const GLhalfNV *") MemorySegment v); - void glMultiTexCoord2hNV(int target, short s, short t); - void glMultiTexCoord2hvNV(int target, @NativeType("const GLhalfNV *") MemorySegment v); - void glMultiTexCoord3hNV(int target, short s, short t, short r); - void glMultiTexCoord3hvNV(int target, @NativeType("const GLhalfNV *") MemorySegment v); - void glMultiTexCoord4hNV(int target, short s, short t, short r, short q); - void glMultiTexCoord4hvNV(int target, @NativeType("const GLhalfNV *") MemorySegment v); - void glVertexAttrib1hNV(int index, short x); - void glVertexAttrib1hvNV(int index, @NativeType("const GLhalfNV *") MemorySegment v); - void glVertexAttrib2hNV(int index, short x, short y); - void glVertexAttrib2hvNV(int index, @NativeType("const GLhalfNV *") MemorySegment v); - void glVertexAttrib3hNV(int index, short x, short y, short z); - void glVertexAttrib3hvNV(int index, @NativeType("const GLhalfNV *") MemorySegment v); - void glVertexAttrib4hNV(int index, short x, short y, short z, short w); - void glVertexAttrib4hvNV(int index, @NativeType("const GLhalfNV *") MemorySegment v); - void glVertexAttribs1hvNV(int index, int n, @NativeType("const GLhalfNV *") MemorySegment v); - void glVertexAttribs2hvNV(int index, int n, @NativeType("const GLhalfNV *") MemorySegment v); - void glVertexAttribs3hvNV(int index, int n, @NativeType("const GLhalfNV *") MemorySegment v); - void glVertexAttribs4hvNV(int index, int n, @NativeType("const GLhalfNV *") MemorySegment v); - void glFogCoordhNV(short fog); - void glFogCoordhvNV(@NativeType("const GLhalfNV *") MemorySegment fog); - void glSecondaryColor3hNV(short red, short green, short blue); - void glSecondaryColor3hvNV(@NativeType("const GLhalfNV *") MemorySegment v); - void glVertexWeighthNV(short weight); - void glVertexWeighthvNV(@NativeType("const GLhalfNV *") MemorySegment weight); + default void glVertex2hNV(short x, short y) { + throw new ContextException(); + } + + default void glVertex2hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertex3hNV(short x, short y, short z) { + throw new ContextException(); + } + + default void glVertex3hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertex4hNV(short x, short y, short z, short w) { + throw new ContextException(); + } + + default void glVertex4hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glNormal3hNV(short nx, short ny, short nz) { + throw new ContextException(); + } + + default void glNormal3hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glColor3hNV(short red, short green, short blue) { + throw new ContextException(); + } + + default void glColor3hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glColor4hNV(short red, short green, short blue, short alpha) { + throw new ContextException(); + } + + default void glColor4hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord1hNV(short s) { + throw new ContextException(); + } + + default void glTexCoord1hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord2hNV(short s, short t) { + throw new ContextException(); + } + + default void glTexCoord2hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord3hNV(short s, short t, short r) { + throw new ContextException(); + } + + default void glTexCoord3hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord4hNV(short s, short t, short r, short q) { + throw new ContextException(); + } + + default void glTexCoord4hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord1hNV(int target, short s) { + throw new ContextException(); + } + + default void glMultiTexCoord1hvNV(int target, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord2hNV(int target, short s, short t) { + throw new ContextException(); + } + + default void glMultiTexCoord2hvNV(int target, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord3hNV(int target, short s, short t, short r) { + throw new ContextException(); + } + + default void glMultiTexCoord3hvNV(int target, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glMultiTexCoord4hNV(int target, short s, short t, short r, short q) { + throw new ContextException(); + } + + default void glMultiTexCoord4hvNV(int target, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib1hNV(int index, short x) { + throw new ContextException(); + } + + default void glVertexAttrib1hvNV(int index, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib2hNV(int index, short x, short y) { + throw new ContextException(); + } + + default void glVertexAttrib2hvNV(int index, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib3hNV(int index, short x, short y, short z) { + throw new ContextException(); + } + + default void glVertexAttrib3hvNV(int index, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4hNV(int index, short x, short y, short z, short w) { + throw new ContextException(); + } + + default void glVertexAttrib4hvNV(int index, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs1hvNV(int index, int n, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs2hvNV(int index, int n, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs3hvNV(int index, int n, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs4hvNV(int index, int n, @NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glFogCoordhNV(short fog) { + throw new ContextException(); + } + + default void glFogCoordhvNV(@NativeType("const GLhalfNV *") MemorySegment fog) { + throw new ContextException(); + } + + default void glSecondaryColor3hNV(short red, short green, short blue) { + throw new ContextException(); + } + + default void glSecondaryColor3hvNV(@NativeType("const GLhalfNV *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexWeighthNV(short weight) { + throw new ContextException(); + } + + default void glVertexWeighthvNV(@NativeType("const GLhalfNV *") MemorySegment weight) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVInternalformatSampleQuery.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVInternalformatSampleQuery.java index e0f7063d..d3eec91b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVInternalformatSampleQuery.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVInternalformatSampleQuery.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,5 +29,8 @@ public interface GLNVInternalformatSampleQuery { int GL_SUPERSAMPLE_SCALE_Y_NV = 0x9373; int GL_CONFORMANT_NV = 0x9374; - void glGetInternalformatSampleivNV(int target, int internalformat, int samples, int pname, int count, @NativeType("GLint *") MemorySegment params); + default void glGetInternalformatSampleivNV(int target, int internalformat, int samples, int pname, int count, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVLightMaxExponent.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVLightMaxExponent.java index afa46085..d8ebce07 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVLightMaxExponent.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVLightMaxExponent.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMemoryAttachment.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMemoryAttachment.java index d8bf9719..9c3c11f1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMemoryAttachment.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMemoryAttachment.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -36,10 +35,28 @@ public interface GLNVMemoryAttachment { int GL_MAX_DETACHED_TEXTURES_NV = 0x95AC; int GL_MAX_DETACHED_BUFFERS_NV = 0x95AD; - void glGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int count, @NativeType("GLuint *") MemorySegment params); - void glResetMemoryObjectParameterNV(int memory, int pname); - void glTexAttachMemoryNV(int target, int memory, long offset); - void glBufferAttachMemoryNV(int target, int memory, long offset); - void glTextureAttachMemoryNV(int texture, int memory, long offset); - void glNamedBufferAttachMemoryNV(int buffer, int memory, long offset); + default void glGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int count, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glResetMemoryObjectParameterNV(int memory, int pname) { + throw new ContextException(); + } + + default void glTexAttachMemoryNV(int target, int memory, long offset) { + throw new ContextException(); + } + + default void glBufferAttachMemoryNV(int target, int memory, long offset) { + throw new ContextException(); + } + + default void glTextureAttachMemoryNV(int texture, int memory, long offset) { + throw new ContextException(); + } + + default void glNamedBufferAttachMemoryNV(int buffer, int memory, long offset) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMemoryObjectSparse.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMemoryObjectSparse.java index 570b7695..07f3e9b1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMemoryObjectSparse.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMemoryObjectSparse.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,8 +25,20 @@ */ public interface GLNVMemoryObjectSparse { - void glBufferPageCommitmentMemNV(int target, long offset, long size, int memory, long memOffset, boolean commit); - void glTexPageCommitmentMemNV(int target, int layer, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int memory, long offset, boolean commit); - void glNamedBufferPageCommitmentMemNV(int buffer, long offset, long size, int memory, long memOffset, boolean commit); - void glTexturePageCommitmentMemNV(int texture, int layer, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int memory, long offset, boolean commit); + default void glBufferPageCommitmentMemNV(int target, long offset, long size, int memory, long memOffset, boolean commit) { + throw new ContextException(); + } + + default void glTexPageCommitmentMemNV(int target, int layer, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int memory, long offset, boolean commit) { + throw new ContextException(); + } + + default void glNamedBufferPageCommitmentMemNV(int buffer, long offset, long size, int memory, long memOffset, boolean commit) { + throw new ContextException(); + } + + default void glTexturePageCommitmentMemNV(int texture, int layer, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int memory, long offset, boolean commit) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMeshShader.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMeshShader.java index 9eba8e32..e806ab9c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMeshShader.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMeshShader.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -74,8 +73,20 @@ public interface GLNVMeshShader { int GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV = 0x959E; int GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV = 0x959F; - void glDrawMeshTasksNV(int first, int count); - void glDrawMeshTasksIndirectNV(long indirect); - void glMultiDrawMeshTasksIndirectNV(long indirect, int drawcount, int stride); - void glMultiDrawMeshTasksIndirectCountNV(long indirect, long drawcount, int maxdrawcount, int stride); + default void glDrawMeshTasksNV(int first, int count) { + throw new ContextException(); + } + + default void glDrawMeshTasksIndirectNV(long indirect) { + throw new ContextException(); + } + + default void glMultiDrawMeshTasksIndirectNV(long indirect, int drawcount, int stride) { + throw new ContextException(); + } + + default void glMultiDrawMeshTasksIndirectCountNV(long indirect, long drawcount, int maxdrawcount, int stride) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMultisampleFilterHint.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMultisampleFilterHint.java index db835a02..fc21aca2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMultisampleFilterHint.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVMultisampleFilterHint.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVOcculusionQuery.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVOcculusionQuery.java index 204c0343..e54a4eb1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVOcculusionQuery.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVOcculusionQuery.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,11 +29,32 @@ public interface GLNVOcculusionQuery { int GL_PIXEL_COUNT_NV = 0x8866; int GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867; - void glGenOcclusionQueriesNV(int n, @NativeType("GLuint *") MemorySegment ids); - void glDeleteOcclusionQueriesNV(int n, @NativeType("const GLuint *") MemorySegment ids); - boolean glIsOcclusionQueryNV(int id); - void glBeginOcclusionQueryNV(int id); - void glEndOcclusionQueryNV(); - void glGetOcclusionQueryivNV(int id, int pname, @NativeType("GLint *") MemorySegment params); - void glGetOcclusionQueryuivNV(int id, int pname, @NativeType("GLuint *") MemorySegment params); + default void glGenOcclusionQueriesNV(int n, @NativeType("GLuint *") MemorySegment ids) { + throw new ContextException(); + } + + default void glDeleteOcclusionQueriesNV(int n, @NativeType("const GLuint *") MemorySegment ids) { + throw new ContextException(); + } + + default boolean glIsOcclusionQueryNV(int id) { + throw new ContextException(); + } + + default void glBeginOcclusionQueryNV(int id) { + throw new ContextException(); + } + + default void glEndOcclusionQueryNV() { + throw new ContextException(); + } + + default void glGetOcclusionQueryivNV(int id, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetOcclusionQueryuivNV(int id, int pname, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPackedDepthStencil.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPackedDepthStencil.java index dfbf4b36..49aafabb 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPackedDepthStencil.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPackedDepthStencil.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVParameterBufferObject.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVParameterBufferObject.java index 25604c31..9bf1ff09 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVParameterBufferObject.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVParameterBufferObject.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,7 +30,16 @@ public interface GLNVParameterBufferObject { int GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA3; int GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA4; - void glProgramBufferParametersfvNV(int target, int bindingIndex, int wordIndex, int count, @NativeType("const GLfloat *") MemorySegment params); - void glProgramBufferParametersIivNV(int target, int bindingIndex, int wordIndex, int count, @NativeType("const GLint *") MemorySegment params); - void glProgramBufferParametersIuivNV(int target, int bindingIndex, int wordIndex, int count, @NativeType("const GLuint *") MemorySegment params); + default void glProgramBufferParametersfvNV(int target, int bindingIndex, int wordIndex, int count, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramBufferParametersIivNV(int target, int bindingIndex, int wordIndex, int count, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glProgramBufferParametersIuivNV(int target, int bindingIndex, int wordIndex, int count, @NativeType("const GLuint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPathRendering.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPathRendering.java index 13d16c49..5044d103 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPathRendering.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPathRendering.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -189,68 +188,260 @@ public interface GLNVPathRendering { int GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV = 0x84E4; int GL_FRAGMENT_INPUT_NV = 0x936D; - int glGenPathsNV(int range); - void glDeletePathsNV(int path, int range); - boolean glIsPathNV(int path); - void glPathCommandsNV(int path, int numCommands, @NativeType("const GLubyte *") MemorySegment commands, int numCoords, int coordType, @NativeType("const void *") MemorySegment coords); - void glPathCoordsNV(int path, int numCoords, int coordType, @NativeType("const void *") MemorySegment coords); - void glPathSubCommandsNV(int path, int commandStart, int commandsToDelete, int numCommands, @NativeType("const GLubyte *") MemorySegment commands, int numCoords, int coordType, @NativeType("const void *") MemorySegment coords); - void glPathSubCoordsNV(int path, int coordStart, int numCoords, int coordType, @NativeType("const void *") MemorySegment coords); - void glPathStringNV(int path, int format, int length, @NativeType("const void *") MemorySegment pathString); - void glPathGlyphsNV(int firstPathName, int fontTarget, @NativeType("const void *") MemorySegment fontName, int fontStyle, int numGlyphs, int type, @NativeType("const void *") MemorySegment charcodes, int handleMissingGlyphs, int pathParameterTemplate, float emScale); - void glPathGlyphRangeNV(int firstPathName, int fontTarget, @NativeType("const void *") MemorySegment fontName, int fontStyle, int firstGlyph, int numGlyphs, int handleMissingGlyphs, int pathParameterTemplate, float emScale); - void glWeightPathsNV(int resultPath, int numPaths, @NativeType("const GLuint *") MemorySegment paths, @NativeType("const GLfloat *") MemorySegment weights); - void glCopyPathNV(int resultPath, int srcPath); - void glInterpolatePathsNV(int resultPath, int pathA, int pathB, float weight); - void glTransformPathNV(int resultPath, int srcPath, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues); - void glPathParameterivNV(int path, int pname, @NativeType("const GLint *") MemorySegment value); - void glPathParameteriNV(int path, int pname, int value); - void glPathParameterfvNV(int path, int pname, @NativeType("const GLfloat *") MemorySegment value); - void glPathParameterfNV(int path, int pname, float value); - void glPathDashArrayNV(int path, int dashCount, @NativeType("const GLfloat *") MemorySegment dashArray); - void glPathStencilFuncNV(int func, int ref, int mask); - void glPathStencilDepthOffsetNV(float factor, float units); - void glStencilFillPathNV(int path, int fillMode, int mask); - void glStencilStrokePathNV(int path, int reference, int mask); - void glStencilFillPathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int fillMode, int mask, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues); - void glStencilStrokePathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int reference, int mask, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues); - void glPathCoverDepthFuncNV(int func); - void glCoverFillPathNV(int path, int coverMode); - void glCoverStrokePathNV(int path, int coverMode); - void glCoverFillPathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int coverMode, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues); - void glCoverStrokePathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int coverMode, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues); - void glGetPathParameterivNV(int path, int pname, @NativeType("GLint *") MemorySegment value); - void glGetPathParameterfvNV(int path, int pname, @NativeType("GLfloat *") MemorySegment value); - void glGetPathCommandsNV(int path, @NativeType("GLubyte *") MemorySegment commands); - void glGetPathCoordsNV(int path, @NativeType("GLfloat *") MemorySegment coords); - void glGetPathDashArrayNV(int path, @NativeType("GLfloat *") MemorySegment dashArray); - void glGetPathMetricsNV(int metricQueryMask, int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int stride, @NativeType("GLfloat *") MemorySegment metrics); - void glGetPathMetricRangeNV(int metricQueryMask, int firstPathName, int numPaths, int stride, @NativeType("GLfloat *") MemorySegment metrics); - void glGetPathSpacingNV(int pathListMode, int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, float advanceScale, float kerningScale, int transformType, @NativeType("GLfloat *") MemorySegment returnedSpacing); - boolean glIsPointInFillPathNV(int path, int mask, float x, float y); - boolean glIsPointInStrokePathNV(int path, float x, float y); - float glGetPathLengthNV(int path, int startSegment, int numSegments); - boolean glPointAlongPathNV(int path, int startSegment, int numSegments, float distance, @NativeType("GLfloat *") MemorySegment x, @NativeType("GLfloat *") MemorySegment y, @NativeType("GLfloat *") MemorySegment tangentX, @NativeType("GLfloat *") MemorySegment tangentY); - void glMatrixLoad3x2fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixLoad3x3fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixLoadTranspose3x3fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixMult3x2fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixMult3x3fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m); - void glMatrixMultTranspose3x3fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m); - void glStencilThenCoverFillPathNV(int path, int fillMode, int mask, int coverMode); - void glStencilThenCoverStrokePathNV(int path, int reference, int mask, int coverMode); - void glStencilThenCoverFillPathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int fillMode, int mask, int coverMode, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues); - void glStencilThenCoverStrokePathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int reference, int mask, int coverMode, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues); - int glPathGlyphIndexRangeNV(int fontTarget, @NativeType("const void *") MemorySegment fontName, int fontStyle, int pathParameterTemplate, float emScale, @NativeType("GLuint *") MemorySegment baseAndCount); - int glPathGlyphIndexArrayNV(int firstPathName, int fontTarget, @NativeType("const void *") MemorySegment fontName, int fontStyle, int firstGlyphIndex, int numGlyphs, int pathParameterTemplate, float emScale); - int glPathMemoryGlyphIndexArrayNV(int firstPathName, int fontTarget, long fontSize, @NativeType("const void *") MemorySegment fontData, int faceIndex, int firstGlyphIndex, int numGlyphs, int pathParameterTemplate, float emScale); - void glProgramPathFragmentInputGenNV(int program, int location, int genMode, int components, @NativeType("const GLfloat *") MemorySegment coeffs); - void glGetProgramResourcefvNV(int program, int programInterface, int index, int propCount, @NativeType("const GLenum *") MemorySegment props, int count, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLfloat *") MemorySegment params); - void glPathColorGenNV(int color, int genMode, int colorFormat, @NativeType("const GLfloat *") MemorySegment coeffs); - void glPathTexGenNV(int texCoordSet, int genMode, int components, @NativeType("const GLfloat *") MemorySegment coeffs); - void glPathFogGenNV(int genMode); - void glGetPathColorGenivNV(int color, int pname, @NativeType("GLint *") MemorySegment value); - void glGetPathColorGenfvNV(int color, int pname, @NativeType("GLfloat *") MemorySegment value); - void glGetPathTexGenivNV(int texCoordSet, int pname, @NativeType("GLint *") MemorySegment value); - void glGetPathTexGenfvNV(int texCoordSet, int pname, @NativeType("GLfloat *") MemorySegment value); + default int glGenPathsNV(int range) { + throw new ContextException(); + } + + default void glDeletePathsNV(int path, int range) { + throw new ContextException(); + } + + default boolean glIsPathNV(int path) { + throw new ContextException(); + } + + default void glPathCommandsNV(int path, int numCommands, @NativeType("const GLubyte *") MemorySegment commands, int numCoords, int coordType, @NativeType("const void *") MemorySegment coords) { + throw new ContextException(); + } + + default void glPathCoordsNV(int path, int numCoords, int coordType, @NativeType("const void *") MemorySegment coords) { + throw new ContextException(); + } + + default void glPathSubCommandsNV(int path, int commandStart, int commandsToDelete, int numCommands, @NativeType("const GLubyte *") MemorySegment commands, int numCoords, int coordType, @NativeType("const void *") MemorySegment coords) { + throw new ContextException(); + } + + default void glPathSubCoordsNV(int path, int coordStart, int numCoords, int coordType, @NativeType("const void *") MemorySegment coords) { + throw new ContextException(); + } + + default void glPathStringNV(int path, int format, int length, @NativeType("const void *") MemorySegment pathString) { + throw new ContextException(); + } + + default void glPathGlyphsNV(int firstPathName, int fontTarget, @NativeType("const void *") MemorySegment fontName, int fontStyle, int numGlyphs, int type, @NativeType("const void *") MemorySegment charcodes, int handleMissingGlyphs, int pathParameterTemplate, float emScale) { + throw new ContextException(); + } + + default void glPathGlyphRangeNV(int firstPathName, int fontTarget, @NativeType("const void *") MemorySegment fontName, int fontStyle, int firstGlyph, int numGlyphs, int handleMissingGlyphs, int pathParameterTemplate, float emScale) { + throw new ContextException(); + } + + default void glWeightPathsNV(int resultPath, int numPaths, @NativeType("const GLuint *") MemorySegment paths, @NativeType("const GLfloat *") MemorySegment weights) { + throw new ContextException(); + } + + default void glCopyPathNV(int resultPath, int srcPath) { + throw new ContextException(); + } + + default void glInterpolatePathsNV(int resultPath, int pathA, int pathB, float weight) { + throw new ContextException(); + } + + default void glTransformPathNV(int resultPath, int srcPath, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues) { + throw new ContextException(); + } + + default void glPathParameterivNV(int path, int pname, @NativeType("const GLint *") MemorySegment value) { + throw new ContextException(); + } + + default void glPathParameteriNV(int path, int pname, int value) { + throw new ContextException(); + } + + default void glPathParameterfvNV(int path, int pname, @NativeType("const GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glPathParameterfNV(int path, int pname, float value) { + throw new ContextException(); + } + + default void glPathDashArrayNV(int path, int dashCount, @NativeType("const GLfloat *") MemorySegment dashArray) { + throw new ContextException(); + } + + default void glPathStencilFuncNV(int func, int ref, int mask) { + throw new ContextException(); + } + + default void glPathStencilDepthOffsetNV(float factor, float units) { + throw new ContextException(); + } + + default void glStencilFillPathNV(int path, int fillMode, int mask) { + throw new ContextException(); + } + + default void glStencilStrokePathNV(int path, int reference, int mask) { + throw new ContextException(); + } + + default void glStencilFillPathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int fillMode, int mask, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues) { + throw new ContextException(); + } + + default void glStencilStrokePathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int reference, int mask, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues) { + throw new ContextException(); + } + + default void glPathCoverDepthFuncNV(int func) { + throw new ContextException(); + } + + default void glCoverFillPathNV(int path, int coverMode) { + throw new ContextException(); + } + + default void glCoverStrokePathNV(int path, int coverMode) { + throw new ContextException(); + } + + default void glCoverFillPathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int coverMode, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues) { + throw new ContextException(); + } + + default void glCoverStrokePathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int coverMode, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues) { + throw new ContextException(); + } + + default void glGetPathParameterivNV(int path, int pname, @NativeType("GLint *") MemorySegment value) { + throw new ContextException(); + } + + default void glGetPathParameterfvNV(int path, int pname, @NativeType("GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glGetPathCommandsNV(int path, @NativeType("GLubyte *") MemorySegment commands) { + throw new ContextException(); + } + + default void glGetPathCoordsNV(int path, @NativeType("GLfloat *") MemorySegment coords) { + throw new ContextException(); + } + + default void glGetPathDashArrayNV(int path, @NativeType("GLfloat *") MemorySegment dashArray) { + throw new ContextException(); + } + + default void glGetPathMetricsNV(int metricQueryMask, int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int stride, @NativeType("GLfloat *") MemorySegment metrics) { + throw new ContextException(); + } + + default void glGetPathMetricRangeNV(int metricQueryMask, int firstPathName, int numPaths, int stride, @NativeType("GLfloat *") MemorySegment metrics) { + throw new ContextException(); + } + + default void glGetPathSpacingNV(int pathListMode, int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, float advanceScale, float kerningScale, int transformType, @NativeType("GLfloat *") MemorySegment returnedSpacing) { + throw new ContextException(); + } + + default boolean glIsPointInFillPathNV(int path, int mask, float x, float y) { + throw new ContextException(); + } + + default boolean glIsPointInStrokePathNV(int path, float x, float y) { + throw new ContextException(); + } + + default float glGetPathLengthNV(int path, int startSegment, int numSegments) { + throw new ContextException(); + } + + default boolean glPointAlongPathNV(int path, int startSegment, int numSegments, float distance, @NativeType("GLfloat *") MemorySegment x, @NativeType("GLfloat *") MemorySegment y, @NativeType("GLfloat *") MemorySegment tangentX, @NativeType("GLfloat *") MemorySegment tangentY) { + throw new ContextException(); + } + + default void glMatrixLoad3x2fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixLoad3x3fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixLoadTranspose3x3fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixMult3x2fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixMult3x3fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glMatrixMultTranspose3x3fNV(int matrixMode, @NativeType("const GLfloat *") MemorySegment m) { + throw new ContextException(); + } + + default void glStencilThenCoverFillPathNV(int path, int fillMode, int mask, int coverMode) { + throw new ContextException(); + } + + default void glStencilThenCoverStrokePathNV(int path, int reference, int mask, int coverMode) { + throw new ContextException(); + } + + default void glStencilThenCoverFillPathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int fillMode, int mask, int coverMode, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues) { + throw new ContextException(); + } + + default void glStencilThenCoverStrokePathInstancedNV(int numPaths, int pathNameType, @NativeType("const void *") MemorySegment paths, int pathBase, int reference, int mask, int coverMode, int transformType, @NativeType("const GLfloat *") MemorySegment transformValues) { + throw new ContextException(); + } + + default int glPathGlyphIndexRangeNV(int fontTarget, @NativeType("const void *") MemorySegment fontName, int fontStyle, int pathParameterTemplate, float emScale, @NativeType("GLuint *") MemorySegment baseAndCount) { + throw new ContextException(); + } + + default int glPathGlyphIndexArrayNV(int firstPathName, int fontTarget, @NativeType("const void *") MemorySegment fontName, int fontStyle, int firstGlyphIndex, int numGlyphs, int pathParameterTemplate, float emScale) { + throw new ContextException(); + } + + default int glPathMemoryGlyphIndexArrayNV(int firstPathName, int fontTarget, long fontSize, @NativeType("const void *") MemorySegment fontData, int faceIndex, int firstGlyphIndex, int numGlyphs, int pathParameterTemplate, float emScale) { + throw new ContextException(); + } + + default void glProgramPathFragmentInputGenNV(int program, int location, int genMode, int components, @NativeType("const GLfloat *") MemorySegment coeffs) { + throw new ContextException(); + } + + default void glGetProgramResourcefvNV(int program, int programInterface, int index, int propCount, @NativeType("const GLenum *") MemorySegment props, int count, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glPathColorGenNV(int color, int genMode, int colorFormat, @NativeType("const GLfloat *") MemorySegment coeffs) { + throw new ContextException(); + } + + default void glPathTexGenNV(int texCoordSet, int genMode, int components, @NativeType("const GLfloat *") MemorySegment coeffs) { + throw new ContextException(); + } + + default void glPathFogGenNV(int genMode) { + throw new ContextException(); + } + + default void glGetPathColorGenivNV(int color, int pname, @NativeType("GLint *") MemorySegment value) { + throw new ContextException(); + } + + default void glGetPathColorGenfvNV(int color, int pname, @NativeType("GLfloat *") MemorySegment value) { + throw new ContextException(); + } + + default void glGetPathTexGenivNV(int texCoordSet, int pname, @NativeType("GLint *") MemorySegment value) { + throw new ContextException(); + } + + default void glGetPathTexGenfvNV(int texCoordSet, int pname, @NativeType("GLfloat *") MemorySegment value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPathRenderingSharedEdge.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPathRenderingSharedEdge.java index 544a2321..4231a616 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPathRenderingSharedEdge.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPathRenderingSharedEdge.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPixelDataRange.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPixelDataRange.java index 11760d00..d39a60fd 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPixelDataRange.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPixelDataRange.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,6 +31,12 @@ public interface GLNVPixelDataRange { int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C; int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D; - void glPixelDataRangeNV(int target, int length, @NativeType("const void *") MemorySegment pointer); - void glFlushPixelDataRangeNV(int target); + default void glPixelDataRangeNV(int target, int length, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glFlushPixelDataRangeNV(int target) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPointSprite.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPointSprite.java index 86e372ba..47788a2b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPointSprite.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPointSprite.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,6 +28,12 @@ public interface GLNVPointSprite { int GL_COORD_REPLACE_NV = 0x8862; int GL_POINT_SPRITE_R_MODE_NV = 0x8863; - void glPointParameteriNV(int pname, int param); - void glPointParameterivNV(int pname, @NativeType("const GLint *") MemorySegment params); + default void glPointParameteriNV(int pname, int param) { + throw new ContextException(); + } + + default void glPointParameterivNV(int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPresentVideo.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPresentVideo.java index 3cf2712c..743c26b4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPresentVideo.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPresentVideo.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,10 +31,28 @@ public interface GLNVPresentVideo { int GL_PRESENT_TIME_NV = 0x8E2A; int GL_PRESENT_DURATION_NV = 0x8E2B; - void glPresentFrameKeyedNV(int video_slot, long minPresentTime, int beginPresentTimeId, int presentDurationId, int type, int target0, int fill0, int key0, int target1, int fill1, int key1); - void glPresentFrameDualFillNV(int video_slot, long minPresentTime, int beginPresentTimeId, int presentDurationId, int type, int target0, int fill0, int target1, int fill1, int target2, int fill2, int target3, int fill3); - void glGetVideoivNV(int video_slot, int pname, @NativeType("GLint *") MemorySegment params); - void glGetVideouivNV(int video_slot, int pname, @NativeType("GLuint *") MemorySegment params); - void glGetVideoi64vNV(int video_slot, int pname, @NativeType("GLint64EXT *") MemorySegment params); - void glGetVideoui64vNV(int video_slot, int pname, @NativeType("GLuint64EXT *") MemorySegment params); + default void glPresentFrameKeyedNV(int video_slot, long minPresentTime, int beginPresentTimeId, int presentDurationId, int type, int target0, int fill0, int key0, int target1, int fill1, int key1) { + throw new ContextException(); + } + + default void glPresentFrameDualFillNV(int video_slot, long minPresentTime, int beginPresentTimeId, int presentDurationId, int type, int target0, int fill0, int target1, int fill1, int target2, int fill2, int target3, int fill3) { + throw new ContextException(); + } + + default void glGetVideoivNV(int video_slot, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVideouivNV(int video_slot, int pname, @NativeType("GLuint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVideoi64vNV(int video_slot, int pname, @NativeType("GLint64EXT *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVideoui64vNV(int video_slot, int pname, @NativeType("GLuint64EXT *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPrimitiveRestart.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPrimitiveRestart.java index 6a3ca10e..e0e781a0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPrimitiveRestart.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPrimitiveRestart.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,6 +27,12 @@ public interface GLNVPrimitiveRestart { int GL_PRIMITIVE_RESTART_NV = 0x8558; int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559; - void glPrimitiveRestartNV(); - void glPrimitiveRestartIndexNV(int index); + default void glPrimitiveRestartNV() { + throw new ContextException(); + } + + default void glPrimitiveRestartIndexNV(int index) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPrimitiveShadingRate.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPrimitiveShadingRate.java index b15ec155..4a55640c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPrimitiveShadingRate.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVPrimitiveShadingRate.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVQueryResource.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVQueryResource.java index 303a7a3b..3672358b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVQueryResource.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVQueryResource.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,5 +31,8 @@ public interface GLNVQueryResource { int GL_QUERY_RESOURCE_RENDERBUFFER_NV = 0x9546; int GL_QUERY_RESOURCE_BUFFEROBJECT_NV = 0x9547; - int glQueryResourceNV(int queryType, int tagId, int count, @NativeType("GLint *") MemorySegment buffer); + default int glQueryResourceNV(int queryType, int tagId, int count, @NativeType("GLint *") MemorySegment buffer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVQueryResourceTag.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVQueryResourceTag.java index ce995a77..c64a77d5 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVQueryResourceTag.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVQueryResourceTag.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,7 +25,16 @@ */ public interface GLNVQueryResourceTag { - void glGenQueryResourceTagNV(int n, @NativeType("GLint *") MemorySegment tagIds); - void glDeleteQueryResourceTagNV(int n, @NativeType("const GLint *") MemorySegment tagIds); - void glQueryResourceTagNV(int tagId, @NativeType("const GLchar *") MemorySegment tagString); + default void glGenQueryResourceTagNV(int n, @NativeType("GLint *") MemorySegment tagIds) { + throw new ContextException(); + } + + default void glDeleteQueryResourceTagNV(int n, @NativeType("const GLint *") MemorySegment tagIds) { + throw new ContextException(); + } + + default void glQueryResourceTagNV(int tagId, @NativeType("const GLchar *") MemorySegment tagString) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRegisterCombiners.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRegisterCombiners.java index aef78258..dda059e8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRegisterCombiners.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRegisterCombiners.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -75,17 +74,56 @@ public interface GLNVRegisterCombiners { int GL_COMBINER6_NV = 0x8556; int GL_COMBINER7_NV = 0x8557; - void glCombinerParameterfvNV(int pname, @NativeType("const GLfloat *") MemorySegment params); - void glCombinerParameterfNV(int pname, float param); - void glCombinerParameterivNV(int pname, @NativeType("const GLint *") MemorySegment params); - void glCombinerParameteriNV(int pname, int param); - void glCombinerInputNV(int stage, int portion, int variable, int input, int mapping, int componentUsage); - void glCombinerOutputNV(int stage, int portion, int abOutput, int cdOutput, int sumOutput, int scale, int bias, boolean abDotProduct, boolean cdDotProduct, boolean muxSum); - void glFinalCombinerInputNV(int variable, int input, int mapping, int componentUsage); - void glGetCombinerInputParameterfvNV(int stage, int portion, int variable, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetCombinerInputParameterivNV(int stage, int portion, int variable, int pname, @NativeType("GLint *") MemorySegment params); - void glGetCombinerOutputParameterfvNV(int stage, int portion, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetCombinerOutputParameterivNV(int stage, int portion, int pname, @NativeType("GLint *") MemorySegment params); - void glGetFinalCombinerInputParameterfvNV(int variable, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetFinalCombinerInputParameterivNV(int variable, int pname, @NativeType("GLint *") MemorySegment params); + default void glCombinerParameterfvNV(int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glCombinerParameterfNV(int pname, float param) { + throw new ContextException(); + } + + default void glCombinerParameterivNV(int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glCombinerParameteriNV(int pname, int param) { + throw new ContextException(); + } + + default void glCombinerInputNV(int stage, int portion, int variable, int input, int mapping, int componentUsage) { + throw new ContextException(); + } + + default void glCombinerOutputNV(int stage, int portion, int abOutput, int cdOutput, int sumOutput, int scale, int bias, boolean abDotProduct, boolean cdDotProduct, boolean muxSum) { + throw new ContextException(); + } + + default void glFinalCombinerInputNV(int variable, int input, int mapping, int componentUsage) { + throw new ContextException(); + } + + default void glGetCombinerInputParameterfvNV(int stage, int portion, int variable, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetCombinerInputParameterivNV(int stage, int portion, int variable, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetCombinerOutputParameterfvNV(int stage, int portion, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetCombinerOutputParameterivNV(int stage, int portion, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetFinalCombinerInputParameterfvNV(int variable, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetFinalCombinerInputParameterivNV(int variable, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRegisterCombiners2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRegisterCombiners2.java index 478dfe86..710ead58 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRegisterCombiners2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRegisterCombiners2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,6 +26,12 @@ public interface GLNVRegisterCombiners2 { int GL_PER_STAGE_CONSTANTS_NV = 0x8535; - void glCombinerStageParameterfvNV(int stage, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glGetCombinerStageParameterfvNV(int stage, int pname, @NativeType("GLfloat *") MemorySegment params); + default void glCombinerStageParameterfvNV(int stage, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetCombinerStageParameterfvNV(int stage, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRepresentativeFragmentTest.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRepresentativeFragmentTest.java index fd1fed09..d3d22cf1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRepresentativeFragmentTest.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRepresentativeFragmentTest.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRobustnessVideoMemoryPurge.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRobustnessVideoMemoryPurge.java index 5ece073d..bca65ef9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRobustnessVideoMemoryPurge.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVRobustnessVideoMemoryPurge.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVSampleLocations.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVSampleLocations.java index d18e26f7..d476b01a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVSampleLocations.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVSampleLocations.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,7 +33,16 @@ public interface GLNVSampleLocations { int GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV = 0x9342; int GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV = 0x9343; - void glFramebufferSampleLocationsfvNV(int target, int start, int count, @NativeType("const GLfloat *") MemorySegment v); - void glNamedFramebufferSampleLocationsfvNV(int framebuffer, int start, int count, @NativeType("const GLfloat *") MemorySegment v); - void glResolveDepthValuesNV(); + default void glFramebufferSampleLocationsfvNV(int target, int start, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glNamedFramebufferSampleLocationsfvNV(int framebuffer, int start, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glResolveDepthValuesNV() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVScissorExclusive.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVScissorExclusive.java index b11ebbd9..66124796 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVScissorExclusive.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVScissorExclusive.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,6 +27,12 @@ public interface GLNVScissorExclusive { int GL_SCISSOR_TEST_EXCLUSIVE_NV = 0x9555; int GL_SCISSOR_BOX_EXCLUSIVE_NV = 0x9556; - void glScissorExclusiveNV(int x, int y, int width, int height); - void glScissorExclusiveArrayvNV(int first, int count, @NativeType("const GLint *") MemorySegment v); + default void glScissorExclusiveNV(int x, int y, int width, int height) { + throw new ContextException(); + } + + default void glScissorExclusiveArrayvNV(int first, int count, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderBufferLoad.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderBufferLoad.java index 66b0c327..102b1421 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderBufferLoad.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderBufferLoad.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,17 +28,56 @@ public interface GLNVShaderBufferLoad { int GL_GPU_ADDRESS_NV = 0x8F34; int GL_MAX_SHADER_BUFFER_ADDRESS_NV = 0x8F35; - void glMakeBufferResidentNV(int target, int access); - void glMakeBufferNonResidentNV(int target); - boolean glIsBufferResidentNV(int target); - void glMakeNamedBufferResidentNV(int buffer, int access); - void glMakeNamedBufferNonResidentNV(int buffer); - boolean glIsNamedBufferResidentNV(int buffer); - void glGetBufferParameterui64vNV(int target, int pname, @NativeType("GLuint64EXT *") MemorySegment params); - void glGetNamedBufferParameterui64vNV(int buffer, int pname, @NativeType("GLuint64EXT *") MemorySegment params); - void glGetIntegerui64vNV(int value, @NativeType("GLuint64EXT *") MemorySegment result); - void glUniformui64NV(int location, long value); - void glUniformui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); - void glProgramUniformui64NV(int program, int location, long value); - void glProgramUniformui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value); + default void glMakeBufferResidentNV(int target, int access) { + throw new ContextException(); + } + + default void glMakeBufferNonResidentNV(int target) { + throw new ContextException(); + } + + default boolean glIsBufferResidentNV(int target) { + throw new ContextException(); + } + + default void glMakeNamedBufferResidentNV(int buffer, int access) { + throw new ContextException(); + } + + default void glMakeNamedBufferNonResidentNV(int buffer) { + throw new ContextException(); + } + + default boolean glIsNamedBufferResidentNV(int buffer) { + throw new ContextException(); + } + + default void glGetBufferParameterui64vNV(int target, int pname, @NativeType("GLuint64EXT *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetNamedBufferParameterui64vNV(int buffer, int pname, @NativeType("GLuint64EXT *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetIntegerui64vNV(int value, @NativeType("GLuint64EXT *") MemorySegment result) { + throw new ContextException(); + } + + default void glUniformui64NV(int location, long value) { + throw new ContextException(); + } + + default void glUniformui64vNV(int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + + default void glProgramUniformui64NV(int program, int location, long value) { + throw new ContextException(); + } + + default void glProgramUniformui64vNV(int program, int location, int count, @NativeType("const GLuint64EXT *") MemorySegment value) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderBufferStore.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderBufferStore.java index e1db3db8..9f21e619 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderBufferStore.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderBufferStore.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderSubgroupPartitioned.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderSubgroupPartitioned.java index 596fdc42..b7e5526b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderSubgroupPartitioned.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderSubgroupPartitioned.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderThreadGroup.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderThreadGroup.java index 73f8a8e2..f690622f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderThreadGroup.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShaderThreadGroup.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShadingRateImage.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShadingRateImage.java index b08d49a4..59db8f95 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShadingRateImage.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVShadingRateImage.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -47,11 +46,32 @@ public interface GLNVShadingRateImage { int GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV = 0x95AF; int GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV = 0x95B0; - void glBindShadingRateImageNV(int texture); - void glGetShadingRateImagePaletteNV(int viewport, int entry, @NativeType("GLenum *") MemorySegment rate); - void glGetShadingRateSampleLocationivNV(int rate, int samples, int index, @NativeType("GLint *") MemorySegment location); - void glShadingRateImageBarrierNV(boolean synchronize); - void glShadingRateImagePaletteNV(int viewport, int first, int count, @NativeType("const GLenum *") MemorySegment rates); - void glShadingRateSampleOrderNV(int order); - void glShadingRateSampleOrderCustomNV(int rate, int samples, @NativeType("const GLint *") MemorySegment locations); + default void glBindShadingRateImageNV(int texture) { + throw new ContextException(); + } + + default void glGetShadingRateImagePaletteNV(int viewport, int entry, @NativeType("GLenum *") MemorySegment rate) { + throw new ContextException(); + } + + default void glGetShadingRateSampleLocationivNV(int rate, int samples, int index, @NativeType("GLint *") MemorySegment location) { + throw new ContextException(); + } + + default void glShadingRateImageBarrierNV(boolean synchronize) { + throw new ContextException(); + } + + default void glShadingRateImagePaletteNV(int viewport, int first, int count, @NativeType("const GLenum *") MemorySegment rates) { + throw new ContextException(); + } + + default void glShadingRateSampleOrderNV(int order) { + throw new ContextException(); + } + + default void glShadingRateSampleOrderCustomNV(int rate, int samples, @NativeType("const GLint *") MemorySegment locations) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTessellationProgram5.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTessellationProgram5.java index 2c6fce96..8cadd98f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTessellationProgram5.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTessellationProgram5.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTexgenEmboss.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTexgenEmboss.java index 28648cd9..9d700d14 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTexgenEmboss.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTexgenEmboss.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTexgenReflection.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTexgenReflection.java index bfe433d6..3be22e77 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTexgenReflection.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTexgenReflection.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureBarrier.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureBarrier.java index 48084175..28200c80 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureBarrier.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureBarrier.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLNVTextureBarrier { - void glTextureBarrierNV(); + default void glTextureBarrierNV() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureEnvCombine4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureEnvCombine4.java index 35ee6af5..b5d30b70 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureEnvCombine4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureEnvCombine4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureExpandNormal.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureExpandNormal.java index 70e6c959..c3dcbcc8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureExpandNormal.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureExpandNormal.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureMultisample.java index f69cf53d..264445c2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureMultisample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureMultisample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,10 +27,28 @@ public interface GLNVTextureMultisample { int GL_TEXTURE_COVERAGE_SAMPLES_NV = 0x9045; int GL_TEXTURE_COLOR_SAMPLES_NV = 0x9046; - void glTexImage2DMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, boolean fixedSampleLocations); - void glTexImage3DMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations); - void glTextureImage2DMultisampleNV(int texture, int target, int samples, int internalFormat, int width, int height, boolean fixedSampleLocations); - void glTextureImage3DMultisampleNV(int texture, int target, int samples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations); - void glTextureImage2DMultisampleCoverageNV(int texture, int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, boolean fixedSampleLocations); - void glTextureImage3DMultisampleCoverageNV(int texture, int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations); + default void glTexImage2DMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, boolean fixedSampleLocations) { + throw new ContextException(); + } + + default void glTexImage3DMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations) { + throw new ContextException(); + } + + default void glTextureImage2DMultisampleNV(int texture, int target, int samples, int internalFormat, int width, int height, boolean fixedSampleLocations) { + throw new ContextException(); + } + + default void glTextureImage3DMultisampleNV(int texture, int target, int samples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations) { + throw new ContextException(); + } + + default void glTextureImage2DMultisampleCoverageNV(int texture, int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, boolean fixedSampleLocations) { + throw new ContextException(); + } + + default void glTextureImage3DMultisampleCoverageNV(int texture, int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureRectangle.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureRectangle.java index bc4139b2..18c6e0fe 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureRectangle.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureRectangle.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader.java index e540e1eb..f5730e6a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader2.java index 09b8af48..8d8c2874 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader3.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader3.java index d0ce44c8..d29e62a3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader3.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTextureShader3.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTimelineSemaphore.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTimelineSemaphore.java index ec2431fe..37372549 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTimelineSemaphore.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTimelineSemaphore.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,7 +30,16 @@ public interface GLNVTimelineSemaphore { int GL_SEMAPHORE_TYPE_TIMELINE_NV = 0x95B5; int GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV = 0x95B6; - void glCreateSemaphoresNV(int n, @NativeType("GLuint *") MemorySegment semaphores); - void glSemaphoreParameterivNV(int semaphore, int pname, @NativeType("const GLint *") MemorySegment params); - void glGetSemaphoreParameterivNV(int semaphore, int pname, @NativeType("GLint *") MemorySegment params); + default void glCreateSemaphoresNV(int n, @NativeType("GLuint *") MemorySegment semaphores) { + throw new ContextException(); + } + + default void glSemaphoreParameterivNV(int semaphore, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetSemaphoreParameterivNV(int semaphore, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTransformFeedback.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTransformFeedback.java index 7e0cf455..e095292f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTransformFeedback.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTransformFeedback.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -57,16 +56,52 @@ public interface GLNVTransformFeedback { int GL_SKIP_COMPONENTS2_NV = -5; int GL_SKIP_COMPONENTS1_NV = -6; - void glBeginTransformFeedbackNV(int primitiveMode); - void glEndTransformFeedbackNV(); - void glTransformFeedbackAttribsNV(int count, @NativeType("const GLint *") MemorySegment attribs, int bufferMode); - void glBindBufferRangeNV(int target, int index, int buffer, long offset, long size); - void glBindBufferOffsetNV(int target, int index, int buffer, long offset); - void glBindBufferBaseNV(int target, int index, int buffer); - void glTransformFeedbackVaryingsNV(int program, int count, @NativeType("const GLint *") MemorySegment locations, int bufferMode); - void glActiveVaryingNV(int program, @NativeType("const GLchar *") MemorySegment name); - int glGetVaryingLocationNV(int program, @NativeType("const GLchar *") MemorySegment name); - void glGetActiveVaryingNV(int program, int index, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLsizei *") MemorySegment size, @NativeType("GLenum *") MemorySegment type, @NativeType("GLchar *") MemorySegment name); - void glGetTransformFeedbackVaryingNV(int program, int index, @NativeType("GLint *") MemorySegment location); - void glTransformFeedbackStreamAttribsNV(int count, @NativeType("const GLint *") MemorySegment attribs, int nbuffers, @NativeType("const GLint *") MemorySegment bufstreams, int bufferMode); + default void glBeginTransformFeedbackNV(int primitiveMode) { + throw new ContextException(); + } + + default void glEndTransformFeedbackNV() { + throw new ContextException(); + } + + default void glTransformFeedbackAttribsNV(int count, @NativeType("const GLint *") MemorySegment attribs, int bufferMode) { + throw new ContextException(); + } + + default void glBindBufferRangeNV(int target, int index, int buffer, long offset, long size) { + throw new ContextException(); + } + + default void glBindBufferOffsetNV(int target, int index, int buffer, long offset) { + throw new ContextException(); + } + + default void glBindBufferBaseNV(int target, int index, int buffer) { + throw new ContextException(); + } + + default void glTransformFeedbackVaryingsNV(int program, int count, @NativeType("const GLint *") MemorySegment locations, int bufferMode) { + throw new ContextException(); + } + + default void glActiveVaryingNV(int program, @NativeType("const GLchar *") MemorySegment name) { + throw new ContextException(); + } + + default int glGetVaryingLocationNV(int program, @NativeType("const GLchar *") MemorySegment name) { + throw new ContextException(); + } + + default void glGetActiveVaryingNV(int program, int index, int bufSize, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLsizei *") MemorySegment size, @NativeType("GLenum *") MemorySegment type, @NativeType("GLchar *") MemorySegment name) { + throw new ContextException(); + } + + default void glGetTransformFeedbackVaryingNV(int program, int index, @NativeType("GLint *") MemorySegment location) { + throw new ContextException(); + } + + default void glTransformFeedbackStreamAttribsNV(int count, @NativeType("const GLint *") MemorySegment attribs, int nbuffers, @NativeType("const GLint *") MemorySegment bufstreams, int bufferMode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTransformFeedback2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTransformFeedback2.java index e4af7cdd..53752c92 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTransformFeedback2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVTransformFeedback2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,11 +29,32 @@ public interface GLNVTransformFeedback2 { int GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV = 0x8E24; int GL_TRANSFORM_FEEDBACK_BINDING_NV = 0x8E25; - void glBindTransformFeedbackNV(int target, int id); - void glDeleteTransformFeedbacksNV(int n, @NativeType("const GLuint *") MemorySegment ids); - void glGenTransformFeedbacksNV(int n, @NativeType("GLuint *") MemorySegment ids); - boolean glIsTransformFeedbackNV(int id); - void glPauseTransformFeedbackNV(); - void glResumeTransformFeedbackNV(); - void glDrawTransformFeedbackNV(int mode, int id); + default void glBindTransformFeedbackNV(int target, int id) { + throw new ContextException(); + } + + default void glDeleteTransformFeedbacksNV(int n, @NativeType("const GLuint *") MemorySegment ids) { + throw new ContextException(); + } + + default void glGenTransformFeedbacksNV(int n, @NativeType("GLuint *") MemorySegment ids) { + throw new ContextException(); + } + + default boolean glIsTransformFeedbackNV(int id) { + throw new ContextException(); + } + + default void glPauseTransformFeedbackNV() { + throw new ContextException(); + } + + default void glResumeTransformFeedbackNV() { + throw new ContextException(); + } + + default void glDrawTransformFeedbackNV(int mode, int id) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVUniformBufferUnifiedMemory.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVUniformBufferUnifiedMemory.java index 8175578a..6a3b1228 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVUniformBufferUnifiedMemory.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVUniformBufferUnifiedMemory.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVDPAUInterop.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVDPAUInterop.java index 7f250f99..dc2f1743 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVDPAUInterop.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVDPAUInterop.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,14 +29,44 @@ public interface GLNVVDPAUInterop { int GL_SURFACE_MAPPED_NV = 0x8700; int GL_WRITE_DISCARD_NV = 0x88BE; - void glVDPAUInitNV(@NativeType("const void *") MemorySegment vdpDevice, @NativeType("const void *") MemorySegment getProcAddress); - void glVDPAUFiniNV(); - long glVDPAURegisterVideoSurfaceNV(@NativeType("const void *") MemorySegment vdpSurface, int target, int numTextureNames, @NativeType("const GLuint *") MemorySegment textureNames); - long glVDPAURegisterOutputSurfaceNV(@NativeType("const void *") MemorySegment vdpSurface, int target, int numTextureNames, @NativeType("const GLuint *") MemorySegment textureNames); - boolean glVDPAUIsSurfaceNV(long surface); - void glVDPAUUnregisterSurfaceNV(long surface); - void glVDPAUGetSurfaceivNV(long surface, int pname, int count, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLint *") MemorySegment values); - void glVDPAUSurfaceAccessNV(long surface, int access); - void glVDPAUMapSurfacesNV(int numSurfaces, @NativeType("const GLvdpauSurfaceNV *") MemorySegment surfaces); - void glVDPAUUnmapSurfacesNV(int numSurface, @NativeType("const GLvdpauSurfaceNV *") MemorySegment surfaces); + default void glVDPAUInitNV(@NativeType("const void *") MemorySegment vdpDevice, @NativeType("const void *") MemorySegment getProcAddress) { + throw new ContextException(); + } + + default void glVDPAUFiniNV() { + throw new ContextException(); + } + + default long glVDPAURegisterVideoSurfaceNV(@NativeType("const void *") MemorySegment vdpSurface, int target, int numTextureNames, @NativeType("const GLuint *") MemorySegment textureNames) { + throw new ContextException(); + } + + default long glVDPAURegisterOutputSurfaceNV(@NativeType("const void *") MemorySegment vdpSurface, int target, int numTextureNames, @NativeType("const GLuint *") MemorySegment textureNames) { + throw new ContextException(); + } + + default boolean glVDPAUIsSurfaceNV(long surface) { + throw new ContextException(); + } + + default void glVDPAUUnregisterSurfaceNV(long surface) { + throw new ContextException(); + } + + default void glVDPAUGetSurfaceivNV(long surface, int pname, int count, @NativeType("GLsizei *") MemorySegment length, @NativeType("GLint *") MemorySegment values) { + throw new ContextException(); + } + + default void glVDPAUSurfaceAccessNV(long surface, int access) { + throw new ContextException(); + } + + default void glVDPAUMapSurfacesNV(int numSurfaces, @NativeType("const GLvdpauSurfaceNV *") MemorySegment surfaces) { + throw new ContextException(); + } + + default void glVDPAUUnmapSurfacesNV(int numSurface, @NativeType("const GLvdpauSurfaceNV *") MemorySegment surfaces) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVDPAUInterop2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVDPAUInterop2.java index 208719d3..c6737391 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVDPAUInterop2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVDPAUInterop2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLNVVDPAUInterop2 { - long glVDPAURegisterVideoSurfaceWithPictureStructureNV(@NativeType("const void *") MemorySegment vdpSurface, int target, int numTextureNames, @NativeType("const GLuint *") MemorySegment textureNames, boolean isFrameStructure); + default long glVDPAURegisterVideoSurfaceWithPictureStructureNV(@NativeType("const void *") MemorySegment vdpSurface, int target, int numTextureNames, @NativeType("const GLuint *") MemorySegment textureNames, boolean isFrameStructure) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexArrayRange.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexArrayRange.java index 8674ed9b..e59ad8ee 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexArrayRange.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexArrayRange.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -31,6 +30,12 @@ public interface GLNVVertexArrayRange { int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520; int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521; - void glFlushVertexArrayRangeNV(); - void glVertexArrayRangeNV(int length, @NativeType("const void *") MemorySegment pointer); + default void glFlushVertexArrayRangeNV() { + throw new ContextException(); + } + + default void glVertexArrayRangeNV(int length, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexArrayRange2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexArrayRange2.java index af91d3dc..c1df30db 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexArrayRange2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexArrayRange2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexAttribInteger64bit.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexAttribInteger64bit.java index 9b965937..5198a29e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexAttribInteger64bit.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexAttribInteger64bit.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,23 +25,80 @@ */ public interface GLNVVertexAttribInteger64bit { - void glVertexAttribL1i64NV(int index, long x); - void glVertexAttribL2i64NV(int index, long x, long y); - void glVertexAttribL3i64NV(int index, long x, long y, long z); - void glVertexAttribL4i64NV(int index, long x, long y, long z, long w); - void glVertexAttribL1i64vNV(int index, @NativeType("const GLint64EXT *") MemorySegment v); - void glVertexAttribL2i64vNV(int index, @NativeType("const GLint64EXT *") MemorySegment v); - void glVertexAttribL3i64vNV(int index, @NativeType("const GLint64EXT *") MemorySegment v); - void glVertexAttribL4i64vNV(int index, @NativeType("const GLint64EXT *") MemorySegment v); - void glVertexAttribL1ui64NV(int index, long x); - void glVertexAttribL2ui64NV(int index, long x, long y); - void glVertexAttribL3ui64NV(int index, long x, long y, long z); - void glVertexAttribL4ui64NV(int index, long x, long y, long z, long w); - void glVertexAttribL1ui64vNV(int index, @NativeType("const GLuint64EXT *") MemorySegment v); - void glVertexAttribL2ui64vNV(int index, @NativeType("const GLuint64EXT *") MemorySegment v); - void glVertexAttribL3ui64vNV(int index, @NativeType("const GLuint64EXT *") MemorySegment v); - void glVertexAttribL4ui64vNV(int index, @NativeType("const GLuint64EXT *") MemorySegment v); - void glGetVertexAttribLi64vNV(int index, int pname, @NativeType("GLint64EXT *") MemorySegment params); - void glGetVertexAttribLui64vNV(int index, int pname, @NativeType("GLuint64EXT *") MemorySegment params); - void glVertexAttribLFormatNV(int index, int size, int type, int stride); + default void glVertexAttribL1i64NV(int index, long x) { + throw new ContextException(); + } + + default void glVertexAttribL2i64NV(int index, long x, long y) { + throw new ContextException(); + } + + default void glVertexAttribL3i64NV(int index, long x, long y, long z) { + throw new ContextException(); + } + + default void glVertexAttribL4i64NV(int index, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glVertexAttribL1i64vNV(int index, @NativeType("const GLint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL2i64vNV(int index, @NativeType("const GLint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL3i64vNV(int index, @NativeType("const GLint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL4i64vNV(int index, @NativeType("const GLint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL1ui64NV(int index, long x) { + throw new ContextException(); + } + + default void glVertexAttribL2ui64NV(int index, long x, long y) { + throw new ContextException(); + } + + default void glVertexAttribL3ui64NV(int index, long x, long y, long z) { + throw new ContextException(); + } + + default void glVertexAttribL4ui64NV(int index, long x, long y, long z, long w) { + throw new ContextException(); + } + + default void glVertexAttribL1ui64vNV(int index, @NativeType("const GLuint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL2ui64vNV(int index, @NativeType("const GLuint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL3ui64vNV(int index, @NativeType("const GLuint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribL4ui64vNV(int index, @NativeType("const GLuint64EXT *") MemorySegment v) { + throw new ContextException(); + } + + default void glGetVertexAttribLi64vNV(int index, int pname, @NativeType("GLint64EXT *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribLui64vNV(int index, int pname, @NativeType("GLuint64EXT *") MemorySegment params) { + throw new ContextException(); + } + + default void glVertexAttribLFormatNV(int index, int size, int type, int stride) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexBufferUnifiedMemory.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexBufferUnifiedMemory.java index 3f74dc20..e4259699 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexBufferUnifiedMemory.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexBufferUnifiedMemory.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -51,16 +50,52 @@ public interface GLNVVertexBufferUnifiedMemory { int GL_DRAW_INDIRECT_ADDRESS_NV = 0x8F41; int GL_DRAW_INDIRECT_LENGTH_NV = 0x8F42; - void glBufferAddressRangeNV(int pname, int index, long address, long length); - void glVertexFormatNV(int size, int type, int stride); - void glNormalFormatNV(int type, int stride); - void glColorFormatNV(int size, int type, int stride); - void glIndexFormatNV(int type, int stride); - void glTexCoordFormatNV(int size, int type, int stride); - void glEdgeFlagFormatNV(int stride); - void glSecondaryColorFormatNV(int size, int type, int stride); - void glFogCoordFormatNV(int type, int stride); - void glVertexAttribFormatNV(int index, int size, int type, boolean normalized, int stride); - void glVertexAttribIFormatNV(int index, int size, int type, int stride); - void glGetIntegerui64i_vNV(int value, int index, @NativeType("GLuint64EXT *") MemorySegment result); + default void glBufferAddressRangeNV(int pname, int index, long address, long length) { + throw new ContextException(); + } + + default void glVertexFormatNV(int size, int type, int stride) { + throw new ContextException(); + } + + default void glNormalFormatNV(int type, int stride) { + throw new ContextException(); + } + + default void glColorFormatNV(int size, int type, int stride) { + throw new ContextException(); + } + + default void glIndexFormatNV(int type, int stride) { + throw new ContextException(); + } + + default void glTexCoordFormatNV(int size, int type, int stride) { + throw new ContextException(); + } + + default void glEdgeFlagFormatNV(int stride) { + throw new ContextException(); + } + + default void glSecondaryColorFormatNV(int size, int type, int stride) { + throw new ContextException(); + } + + default void glFogCoordFormatNV(int type, int stride) { + throw new ContextException(); + } + + default void glVertexAttribFormatNV(int index, int size, int type, boolean normalized, int stride) { + throw new ContextException(); + } + + default void glVertexAttribIFormatNV(int index, int size, int type, int stride) { + throw new ContextException(); + } + + default void glGetIntegerui64i_vNV(int value, int index, @NativeType("GLuint64EXT *") MemorySegment result) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexProgram.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexProgram.java index b7befe77..08192cdd 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexProgram.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexProgram.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -109,68 +108,260 @@ public interface GLNVVertexProgram { int GL_MAP2_VERTEX_ATTRIB14_4_NV = 0x867E; int GL_MAP2_VERTEX_ATTRIB15_4_NV = 0x867F; - boolean glAreProgramsResidentNV(int n, @NativeType("const GLuint *") MemorySegment programs, @NativeType("GLboolean *") MemorySegment residences); - void glBindProgramNV(int target, int id); - void glDeleteProgramsNV(int n, @NativeType("const GLuint *") MemorySegment programs); - void glExecuteProgramNV(int target, int id, @NativeType("const GLfloat *") MemorySegment params); - void glGenProgramsNV(int n, @NativeType("GLuint *") MemorySegment programs); - void glGetProgramParameterdvNV(int target, int index, int pname, @NativeType("GLdouble *") MemorySegment params); - void glGetProgramParameterfvNV(int target, int index, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetProgramivNV(int id, int pname, @NativeType("GLint *") MemorySegment params); - void glGetProgramStringNV(int id, int pname, @NativeType("GLubyte *") MemorySegment program); - void glGetTrackMatrixivNV(int target, int address, int pname, @NativeType("GLint *") MemorySegment params); - void glGetVertexAttribdvNV(int index, int pname, @NativeType("GLdouble *") MemorySegment params); - void glGetVertexAttribfvNV(int index, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetVertexAttribivNV(int index, int pname, @NativeType("GLint *") MemorySegment params); - void glGetVertexAttribPointervNV(int index, int pname, @NativeType("void **") MemorySegment pointer); - boolean glIsProgramNV(int id); - void glLoadProgramNV(int target, int id, int len, @NativeType("const GLubyte *") MemorySegment program); - void glProgramParameter4dNV(int target, int index, double x, double y, double z, double w); - void glProgramParameter4dvNV(int target, int index, @NativeType("const GLdouble *") MemorySegment v); - void glProgramParameter4fNV(int target, int index, float x, float y, float z, float w); - void glProgramParameter4fvNV(int target, int index, @NativeType("const GLfloat *") MemorySegment v); - void glProgramParameters4dvNV(int target, int index, int count, @NativeType("const GLdouble *") MemorySegment v); - void glProgramParameters4fvNV(int target, int index, int count, @NativeType("const GLfloat *") MemorySegment v); - void glRequestResidentProgramsNV(int n, @NativeType("const GLuint *") MemorySegment programs); - void glTrackMatrixNV(int target, int address, int matrix, int transform); - void glVertexAttribPointerNV(int index, int fsize, int type, int stride, @NativeType("const void *") MemorySegment pointer); - void glVertexAttrib1dNV(int index, double x); - void glVertexAttrib1dvNV(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttrib1fNV(int index, float x); - void glVertexAttrib1fvNV(int index, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttrib1sNV(int index, short x); - void glVertexAttrib1svNV(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib2dNV(int index, double x, double y); - void glVertexAttrib2dvNV(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttrib2fNV(int index, float x, float y); - void glVertexAttrib2fvNV(int index, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttrib2sNV(int index, short x, short y); - void glVertexAttrib2svNV(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib3dNV(int index, double x, double y, double z); - void glVertexAttrib3dvNV(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttrib3fNV(int index, float x, float y, float z); - void glVertexAttrib3fvNV(int index, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttrib3sNV(int index, short x, short y, short z); - void glVertexAttrib3svNV(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib4dNV(int index, double x, double y, double z, double w); - void glVertexAttrib4dvNV(int index, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttrib4fNV(int index, float x, float y, float z, float w); - void glVertexAttrib4fvNV(int index, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttrib4sNV(int index, short x, short y, short z, short w); - void glVertexAttrib4svNV(int index, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttrib4ubNV(int index, byte x, byte y, byte z, byte w); - void glVertexAttrib4ubvNV(int index, @NativeType("const GLubyte *") MemorySegment v); - void glVertexAttribs1dvNV(int index, int count, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttribs1fvNV(int index, int count, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttribs1svNV(int index, int count, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttribs2dvNV(int index, int count, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttribs2fvNV(int index, int count, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttribs2svNV(int index, int count, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttribs3dvNV(int index, int count, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttribs3fvNV(int index, int count, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttribs3svNV(int index, int count, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttribs4dvNV(int index, int count, @NativeType("const GLdouble *") MemorySegment v); - void glVertexAttribs4fvNV(int index, int count, @NativeType("const GLfloat *") MemorySegment v); - void glVertexAttribs4svNV(int index, int count, @NativeType("const GLshort *") MemorySegment v); - void glVertexAttribs4ubvNV(int index, int count, @NativeType("const GLubyte *") MemorySegment v); + default boolean glAreProgramsResidentNV(int n, @NativeType("const GLuint *") MemorySegment programs, @NativeType("GLboolean *") MemorySegment residences) { + throw new ContextException(); + } + + default void glBindProgramNV(int target, int id) { + throw new ContextException(); + } + + default void glDeleteProgramsNV(int n, @NativeType("const GLuint *") MemorySegment programs) { + throw new ContextException(); + } + + default void glExecuteProgramNV(int target, int id, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGenProgramsNV(int n, @NativeType("GLuint *") MemorySegment programs) { + throw new ContextException(); + } + + default void glGetProgramParameterdvNV(int target, int index, int pname, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramParameterfvNV(int target, int index, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramivNV(int id, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetProgramStringNV(int id, int pname, @NativeType("GLubyte *") MemorySegment program) { + throw new ContextException(); + } + + default void glGetTrackMatrixivNV(int target, int address, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribdvNV(int index, int pname, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribfvNV(int index, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribivNV(int index, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVertexAttribPointervNV(int index, int pname, @NativeType("void **") MemorySegment pointer) { + throw new ContextException(); + } + + default boolean glIsProgramNV(int id) { + throw new ContextException(); + } + + default void glLoadProgramNV(int target, int id, int len, @NativeType("const GLubyte *") MemorySegment program) { + throw new ContextException(); + } + + default void glProgramParameter4dNV(int target, int index, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glProgramParameter4dvNV(int target, int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glProgramParameter4fNV(int target, int index, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glProgramParameter4fvNV(int target, int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glProgramParameters4dvNV(int target, int index, int count, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glProgramParameters4fvNV(int target, int index, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glRequestResidentProgramsNV(int n, @NativeType("const GLuint *") MemorySegment programs) { + throw new ContextException(); + } + + default void glTrackMatrixNV(int target, int address, int matrix, int transform) { + throw new ContextException(); + } + + default void glVertexAttribPointerNV(int index, int fsize, int type, int stride, @NativeType("const void *") MemorySegment pointer) { + throw new ContextException(); + } + + default void glVertexAttrib1dNV(int index, double x) { + throw new ContextException(); + } + + default void glVertexAttrib1dvNV(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib1fNV(int index, float x) { + throw new ContextException(); + } + + default void glVertexAttrib1fvNV(int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib1sNV(int index, short x) { + throw new ContextException(); + } + + default void glVertexAttrib1svNV(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib2dNV(int index, double x, double y) { + throw new ContextException(); + } + + default void glVertexAttrib2dvNV(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib2fNV(int index, float x, float y) { + throw new ContextException(); + } + + default void glVertexAttrib2fvNV(int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib2sNV(int index, short x, short y) { + throw new ContextException(); + } + + default void glVertexAttrib2svNV(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib3dNV(int index, double x, double y, double z) { + throw new ContextException(); + } + + default void glVertexAttrib3dvNV(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib3fNV(int index, float x, float y, float z) { + throw new ContextException(); + } + + default void glVertexAttrib3fvNV(int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib3sNV(int index, short x, short y, short z) { + throw new ContextException(); + } + + default void glVertexAttrib3svNV(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4dNV(int index, double x, double y, double z, double w) { + throw new ContextException(); + } + + default void glVertexAttrib4dvNV(int index, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4fNV(int index, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glVertexAttrib4fvNV(int index, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4sNV(int index, short x, short y, short z, short w) { + throw new ContextException(); + } + + default void glVertexAttrib4svNV(int index, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttrib4ubNV(int index, byte x, byte y, byte z, byte w) { + throw new ContextException(); + } + + default void glVertexAttrib4ubvNV(int index, @NativeType("const GLubyte *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs1dvNV(int index, int count, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs1fvNV(int index, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs1svNV(int index, int count, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs2dvNV(int index, int count, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs2fvNV(int index, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs2svNV(int index, int count, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs3dvNV(int index, int count, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs3fvNV(int index, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs3svNV(int index, int count, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs4dvNV(int index, int count, @NativeType("const GLdouble *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs4fvNV(int index, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs4svNV(int index, int count, @NativeType("const GLshort *") MemorySegment v) { + throw new ContextException(); + } + + default void glVertexAttribs4ubvNV(int index, int count, @NativeType("const GLubyte *") MemorySegment v) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexProgram4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexProgram4.java index 84a0f9cf..fff94309 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexProgram4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVertexProgram4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVideoCapture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVideoCapture.java index f849011d..be21573e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVideoCapture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVVideoCapture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -55,16 +54,52 @@ public interface GLNVVideoCapture { int GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV = 0x903B; int GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV = 0x903C; - void glBeginVideoCaptureNV(int video_capture_slot); - void glBindVideoCaptureStreamBufferNV(int video_capture_slot, int stream, int frame_region, long offset); - void glBindVideoCaptureStreamTextureNV(int video_capture_slot, int stream, int frame_region, int target, int texture); - void glEndVideoCaptureNV(int video_capture_slot); - void glGetVideoCaptureivNV(int video_capture_slot, int pname, @NativeType("GLint *") MemorySegment params); - void glGetVideoCaptureStreamivNV(int video_capture_slot, int stream, int pname, @NativeType("GLint *") MemorySegment params); - void glGetVideoCaptureStreamfvNV(int video_capture_slot, int stream, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetVideoCaptureStreamdvNV(int video_capture_slot, int stream, int pname, @NativeType("GLdouble *") MemorySegment params); - int glVideoCaptureNV(int video_capture_slot, @NativeType("GLuint *") MemorySegment sequence_num, @NativeType("GLuint64EXT *") MemorySegment capture_time); - void glVideoCaptureStreamParameterivNV(int video_capture_slot, int stream, int pname, @NativeType("const GLint *") MemorySegment params); - void glVideoCaptureStreamParameterfvNV(int video_capture_slot, int stream, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glVideoCaptureStreamParameterdvNV(int video_capture_slot, int stream, int pname, @NativeType("const GLdouble *") MemorySegment params); + default void glBeginVideoCaptureNV(int video_capture_slot) { + throw new ContextException(); + } + + default void glBindVideoCaptureStreamBufferNV(int video_capture_slot, int stream, int frame_region, long offset) { + throw new ContextException(); + } + + default void glBindVideoCaptureStreamTextureNV(int video_capture_slot, int stream, int frame_region, int target, int texture) { + throw new ContextException(); + } + + default void glEndVideoCaptureNV(int video_capture_slot) { + throw new ContextException(); + } + + default void glGetVideoCaptureivNV(int video_capture_slot, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVideoCaptureStreamivNV(int video_capture_slot, int stream, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVideoCaptureStreamfvNV(int video_capture_slot, int stream, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetVideoCaptureStreamdvNV(int video_capture_slot, int stream, int pname, @NativeType("GLdouble *") MemorySegment params) { + throw new ContextException(); + } + + default int glVideoCaptureNV(int video_capture_slot, @NativeType("GLuint *") MemorySegment sequence_num, @NativeType("GLuint64EXT *") MemorySegment capture_time) { + throw new ContextException(); + } + + default void glVideoCaptureStreamParameterivNV(int video_capture_slot, int stream, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glVideoCaptureStreamParameterfvNV(int video_capture_slot, int stream, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glVideoCaptureStreamParameterdvNV(int video_capture_slot, int stream, int pname, @NativeType("const GLdouble *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVViewportSwizzle.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVViewportSwizzle.java index 4a91a02a..5fa51d37 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVViewportSwizzle.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVViewportSwizzle.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -38,5 +37,8 @@ public interface GLNVViewportSwizzle { int GL_VIEWPORT_SWIZZLE_Z_NV = 0x935A; int GL_VIEWPORT_SWIZZLE_W_NV = 0x935B; - void glViewportSwizzleNV(int index, int swizzlex, int swizzley, int swizzlez, int swizzlew); + default void glViewportSwizzleNV(int index, int swizzlex, int swizzley, int swizzlez, int swizzlew) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXConditionalRender.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXConditionalRender.java index 01cdc06b..5b1d41ff 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXConditionalRender.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXConditionalRender.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,6 +25,12 @@ */ public interface GLNVXConditionalRender { - void glBeginConditionalRenderNVX(int id); - void glEndConditionalRenderNVX(); + default void glBeginConditionalRenderNVX(int id) { + throw new ContextException(); + } + + default void glEndConditionalRenderNVX() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXGpuMemoryInfo.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXGpuMemoryInfo.java index f9967e5b..c98c6f3e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXGpuMemoryInfo.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXGpuMemoryInfo.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXGpuMulticast2.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXGpuMulticast2.java index 40f6af83..9c75f3c3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXGpuMulticast2.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXGpuMulticast2.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,10 +26,28 @@ public interface GLNVXGpuMulticast2 { int GL_UPLOAD_GPU_MASK_NVX = 0x954A; - void glUploadGpuMaskNVX(int mask); - void glMulticastViewportArrayvNVX(int gpu, int first, int count, @NativeType("const GLfloat *") MemorySegment v); - void glMulticastViewportPositionWScaleNVX(int gpu, int index, float xcoeff, float ycoeff); - void glMulticastScissorArrayvNVX(int gpu, int first, int count, @NativeType("const GLint *") MemorySegment v); - int glAsyncCopyBufferSubDataNVX(int waitSemaphoreCount, @NativeType("const GLuint *") MemorySegment waitSemaphoreArray, @NativeType("const GLuint64 *") MemorySegment fenceValueArray, int readGpu, int writeGpuMask, int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size, int signalSemaphoreCount, @NativeType("const GLuint *") MemorySegment signalSemaphoreArray, @NativeType("const GLuint64 *") MemorySegment signalValueArray); - int glAsyncCopyImageSubDataNVX(int waitSemaphoreCount, @NativeType("const GLuint *") MemorySegment waitSemaphoreArray, @NativeType("const GLuint64 *") MemorySegment waitValueArray, int srcGpu, int dstGpuMask, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth, int signalSemaphoreCount, @NativeType("const GLuint *") MemorySegment signalSemaphoreArray, @NativeType("const GLuint64 *") MemorySegment signalValueArray); + default void glUploadGpuMaskNVX(int mask) { + throw new ContextException(); + } + + default void glMulticastViewportArrayvNVX(int gpu, int first, int count, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glMulticastViewportPositionWScaleNVX(int gpu, int index, float xcoeff, float ycoeff) { + throw new ContextException(); + } + + default void glMulticastScissorArrayvNVX(int gpu, int first, int count, @NativeType("const GLint *") MemorySegment v) { + throw new ContextException(); + } + + default int glAsyncCopyBufferSubDataNVX(int waitSemaphoreCount, @NativeType("const GLuint *") MemorySegment waitSemaphoreArray, @NativeType("const GLuint64 *") MemorySegment fenceValueArray, int readGpu, int writeGpuMask, int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size, int signalSemaphoreCount, @NativeType("const GLuint *") MemorySegment signalSemaphoreArray, @NativeType("const GLuint64 *") MemorySegment signalValueArray) { + throw new ContextException(); + } + + default int glAsyncCopyImageSubDataNVX(int waitSemaphoreCount, @NativeType("const GLuint *") MemorySegment waitSemaphoreArray, @NativeType("const GLuint64 *") MemorySegment waitValueArray, int srcGpu, int dstGpuMask, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth, int signalSemaphoreCount, @NativeType("const GLuint *") MemorySegment signalSemaphoreArray, @NativeType("const GLuint64 *") MemorySegment signalValueArray) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXLinkedGpuMulticast.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXLinkedGpuMulticast.java index fd063a22..bd8fc8ca 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXLinkedGpuMulticast.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXLinkedGpuMulticast.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,7 +27,16 @@ public interface GLNVXLinkedGpuMulticast { int GL_LGPU_SEPARATE_STORAGE_BIT_NVX = 0x0800; int GL_MAX_LGPU_GPUS_NVX = 0x92BA; - void glLGPUNamedBufferSubDataNVX(int gpuMask, int buffer, long offset, long size, @NativeType("const void *") MemorySegment data); - void glLGPUCopyImageSubDataNVX(int sourceGpu, int destinationGpuMask, int srcName, int srcTarget, int srcLevel, int srcX, int srxY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth); - void glLGPUInterlockNVX(); + default void glLGPUNamedBufferSubDataNVX(int gpuMask, int buffer, long offset, long size, @NativeType("const void *") MemorySegment data) { + throw new ContextException(); + } + + default void glLGPUCopyImageSubDataNVX(int sourceGpu, int destinationGpuMask, int srcName, int srcTarget, int srcLevel, int srcX, int srxY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth) { + throw new ContextException(); + } + + default void glLGPUInterlockNVX() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXProgressFence.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXProgressFence.java index 18d6b1b0..a3e01a32 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXProgressFence.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLNVXProgressFence.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.nv; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,8 +25,20 @@ */ public interface GLNVXProgressFence { - void glCreateProgressFenceNVX(); - void glSignalSemaphoreui64NVX(int signalGpu, int fenceObjectCount, @NativeType("const GLuint *") MemorySegment semaphoreArray, @NativeType("const GLuint64 *") MemorySegment fenceValueArray); - void glWaitSemaphoreui64NVX(int waitGpu, int fenceObjectCount, @NativeType("const GLuint *") MemorySegment semaphoreArray, @NativeType("const GLuint64 *") MemorySegment fenceValueArray); - void glClientWaitSemaphoreui64NVX(int fenceObjectCount, @NativeType("const GLuint *") MemorySegment semaphoreArray, @NativeType("const GLuint64 *") MemorySegment fenceValueArray); + default void glCreateProgressFenceNVX() { + throw new ContextException(); + } + + default void glSignalSemaphoreui64NVX(int signalGpu, int fenceObjectCount, @NativeType("const GLuint *") MemorySegment semaphoreArray, @NativeType("const GLuint64 *") MemorySegment fenceValueArray) { + throw new ContextException(); + } + + default void glWaitSemaphoreui64NVX(int waitGpu, int fenceObjectCount, @NativeType("const GLuint *") MemorySegment semaphoreArray, @NativeType("const GLuint64 *") MemorySegment fenceValueArray) { + throw new ContextException(); + } + + default void glClientWaitSemaphoreui64NVX(int fenceObjectCount, @NativeType("const GLuint *") MemorySegment semaphoreArray, @NativeType("const GLuint64 *") MemorySegment fenceValueArray) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESByteCoordinates.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESByteCoordinates.java index a49aad37..0b22bd09 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESByteCoordinates.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESByteCoordinates.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.oes; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,26 +25,92 @@ */ public interface GLOESByteCoordinates { - void glMultiTexCoord1bOES(int texture, byte s); - void glMultiTexCoord1bvOES(int texture, @NativeType("const GLbyte *") MemorySegment coords); - void glMultiTexCoord2bOES(int texture, byte s, byte t); - void glMultiTexCoord2bvOES(int texture, @NativeType("const GLbyte *") MemorySegment coords); - void glMultiTexCoord3bOES(int texture, byte s, byte t, byte r); - void glMultiTexCoord3bvOES(int texture, @NativeType("const GLbyte *") MemorySegment coords); - void glMultiTexCoord4bOES(int texture, byte s, byte t, byte r, byte q); - void glMultiTexCoord4bvOES(int texture, @NativeType("const GLbyte *") MemorySegment coords); - void glTexCoord1bOES(byte s); - void glTexCoord1bvOES(@NativeType("const GLbyte *") MemorySegment coords); - void glTexCoord2bOES(byte s, byte t); - void glTexCoord2bvOES(@NativeType("const GLbyte *") MemorySegment coords); - void glTexCoord3bOES(byte s, byte t, byte r); - void glTexCoord3bvOES(@NativeType("const GLbyte *") MemorySegment coords); - void glTexCoord4bOES(byte s, byte t, byte r, byte q); - void glTexCoord4bvOES(@NativeType("const GLbyte *") MemorySegment coords); - void glVertex2bOES(byte x, byte y); - void glVertex2bvOES(@NativeType("const GLbyte *") MemorySegment coords); - void glVertex3bOES(byte x, byte y, byte z); - void glVertex3bvOES(@NativeType("const GLbyte *") MemorySegment coords); - void glVertex4bOES(byte x, byte y, byte z, byte w); - void glVertex4bvOES(@NativeType("const GLbyte *") MemorySegment coords); + default void glMultiTexCoord1bOES(int texture, byte s) { + throw new ContextException(); + } + + default void glMultiTexCoord1bvOES(int texture, @NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glMultiTexCoord2bOES(int texture, byte s, byte t) { + throw new ContextException(); + } + + default void glMultiTexCoord2bvOES(int texture, @NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glMultiTexCoord3bOES(int texture, byte s, byte t, byte r) { + throw new ContextException(); + } + + default void glMultiTexCoord3bvOES(int texture, @NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glMultiTexCoord4bOES(int texture, byte s, byte t, byte r, byte q) { + throw new ContextException(); + } + + default void glMultiTexCoord4bvOES(int texture, @NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glTexCoord1bOES(byte s) { + throw new ContextException(); + } + + default void glTexCoord1bvOES(@NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glTexCoord2bOES(byte s, byte t) { + throw new ContextException(); + } + + default void glTexCoord2bvOES(@NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glTexCoord3bOES(byte s, byte t, byte r) { + throw new ContextException(); + } + + default void glTexCoord3bvOES(@NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glTexCoord4bOES(byte s, byte t, byte r, byte q) { + throw new ContextException(); + } + + default void glTexCoord4bvOES(@NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertex2bOES(byte x, byte y) { + throw new ContextException(); + } + + default void glVertex2bvOES(@NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertex3bOES(byte x, byte y, byte z) { + throw new ContextException(); + } + + default void glVertex3bvOES(@NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertex4bOES(byte x, byte y, byte z, byte w) { + throw new ContextException(); + } + + default void glVertex4bvOES(@NativeType("const GLbyte *") MemorySegment coords) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESCompressedPalettedTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESCompressedPalettedTexture.java index 085c8675..bec21478 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESCompressedPalettedTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESCompressedPalettedTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.oes; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESFixedPoint.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESFixedPoint.java index 62cc94bc..749414f8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESFixedPoint.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESFixedPoint.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.oes; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,107 +26,416 @@ public interface GLOESFixedPoint { int GL_FIXED_OES = 0x140C; - void glAlphaFuncxOES(int func, int ref); - void glClearColorxOES(int red, int green, int blue, int alpha); - void glClearDepthxOES(int depth); - void glClipPlanexOES(int plane, @NativeType("const GLfixed *") MemorySegment equation); - void glColor4xOES(int red, int green, int blue, int alpha); - void glDepthRangexOES(int n, int f); - void glFogxOES(int pname, int param); - void glFogxvOES(int pname, @NativeType("const GLfixed *") MemorySegment param); - void glFrustumxOES(int l, int r, int b, int t, int n, int f); - void glGetClipPlanexOES(int plane, @NativeType("GLfixed *") MemorySegment equation); - void glGetFixedvOES(int pname, @NativeType("GLfixed *") MemorySegment params); - void glGetTexEnvxvOES(int target, int pname, @NativeType("GLfixed *") MemorySegment params); - void glGetTexParameterxvOES(int target, int pname, @NativeType("GLfixed *") MemorySegment params); - void glLightModelxOES(int pname, int param); - void glLightModelxvOES(int pname, @NativeType("const GLfixed *") MemorySegment param); - void glLightxOES(int light, int pname, int param); - void glLightxvOES(int light, int pname, @NativeType("const GLfixed *") MemorySegment params); - void glLineWidthxOES(int width); - void glLoadMatrixxOES(@NativeType("const GLfixed *") MemorySegment m); - void glMaterialxOES(int face, int pname, int param); - void glMaterialxvOES(int face, int pname, @NativeType("const GLfixed *") MemorySegment param); - void glMultMatrixxOES(@NativeType("const GLfixed *") MemorySegment m); - void glMultiTexCoord4xOES(int texture, int s, int t, int r, int q); - void glNormal3xOES(int nx, int ny, int nz); - void glOrthoxOES(int l, int r, int b, int t, int n, int f); - void glPointParameterxvOES(int pname, @NativeType("const GLfixed *") MemorySegment params); - void glPointSizexOES(int size); - void glPolygonOffsetxOES(int factor, int units); - void glRotatexOES(int angle, int x, int y, int z); - void glScalexOES(int x, int y, int z); - void glTexEnvxOES(int target, int pname, int param); - void glTexEnvxvOES(int target, int pname, @NativeType("const GLfixed *") MemorySegment params); - void glTexParameterxOES(int target, int pname, int param); - void glTexParameterxvOES(int target, int pname, @NativeType("const GLfixed *") MemorySegment params); - void glTranslatexOES(int x, int y, int z); - void glAccumxOES(int op, int value); - void glBitmapxOES(int width, int height, int xorig, int yorig, int xmove, int ymove, @NativeType("const GLubyte *") MemorySegment bitmap); - void glBlendColorxOES(int red, int green, int blue, int alpha); - void glClearAccumxOES(int red, int green, int blue, int alpha); - void glColor3xOES(int red, int green, int blue); - void glColor3xvOES(@NativeType("const GLfixed *") MemorySegment components); - void glColor4xvOES(@NativeType("const GLfixed *") MemorySegment components); - void glConvolutionParameterxOES(int target, int pname, int param); - void glConvolutionParameterxvOES(int target, int pname, @NativeType("const GLfixed *") MemorySegment params); - void glEvalCoord1xOES(int u); - void glEvalCoord1xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glEvalCoord2xOES(int u, int v); - void glEvalCoord2xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glFeedbackBufferxOES(int n, int type, @NativeType("const GLfixed *") MemorySegment buffer); - void glGetConvolutionParameterxvOES(int target, int pname, @NativeType("GLfixed *") MemorySegment params); - void glGetHistogramParameterxvOES(int target, int pname, @NativeType("GLfixed *") MemorySegment params); - void glGetLightxOES(int light, int pname, @NativeType("GLfixed *") MemorySegment params); - void glGetMapxvOES(int target, int query, @NativeType("GLfixed *") MemorySegment v); - void glGetMaterialxOES(int face, int pname, int param); - void glGetPixelMapxv(int map, int size, @NativeType("GLfixed *") MemorySegment values); - void glGetTexGenxvOES(int coord, int pname, @NativeType("GLfixed *") MemorySegment params); - void glGetTexLevelParameterxvOES(int target, int level, int pname, @NativeType("GLfixed *") MemorySegment params); - void glIndexxOES(int component); - void glIndexxvOES(@NativeType("const GLfixed *") MemorySegment component); - void glLoadTransposeMatrixxOES(@NativeType("const GLfixed *") MemorySegment m); - void glMap1xOES(int target, int u1, int u2, int stride, int order, int points); - void glMap2xOES(int target, int u1, int u2, int ustride, int uorder, int v1, int v2, int vstride, int vorder, int points); - void glMapGrid1xOES(int n, int u1, int u2); - void glMapGrid2xOES(int n, int u1, int u2, int v1, int v2); - void glMultTransposeMatrixxOES(@NativeType("const GLfixed *") MemorySegment m); - void glMultiTexCoord1xOES(int texture, int s); - void glMultiTexCoord1xvOES(int texture, @NativeType("const GLfixed *") MemorySegment coords); - void glMultiTexCoord2xOES(int texture, int s, int t); - void glMultiTexCoord2xvOES(int texture, @NativeType("const GLfixed *") MemorySegment coords); - void glMultiTexCoord3xOES(int texture, int s, int t, int r); - void glMultiTexCoord3xvOES(int texture, @NativeType("const GLfixed *") MemorySegment coords); - void glMultiTexCoord4xvOES(int texture, @NativeType("const GLfixed *") MemorySegment coords); - void glNormal3xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glPassThroughxOES(int token); - void glPixelMapx(int map, int size, @NativeType("const GLfixed *") MemorySegment values); - void glPixelStorex(int pname, int param); - void glPixelTransferxOES(int pname, int param); - void glPixelZoomxOES(int xfactor, int yfactor); - void glPrioritizeTexturesxOES(int n, @NativeType("const GLuint *") MemorySegment textures, @NativeType("const GLfixed *") MemorySegment priorities); - void glRasterPos2xOES(int x, int y); - void glRasterPos2xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glRasterPos3xOES(int x, int y, int z); - void glRasterPos3xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glRasterPos4xOES(int x, int y, int z, int w); - void glRasterPos4xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glRectxOES(int x1, int y1, int x2, int y2); - void glRectxvOES(@NativeType("const GLfixed *") MemorySegment v1, @NativeType("const GLfixed *") MemorySegment v2); - void glTexCoord1xOES(int s); - void glTexCoord1xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glTexCoord2xOES(int s, int t); - void glTexCoord2xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glTexCoord3xOES(int s, int t, int r); - void glTexCoord3xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glTexCoord4xOES(int s, int t, int r, int q); - void glTexCoord4xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glTexGenxOES(int coord, int pname, int param); - void glTexGenxvOES(int coord, int pname, @NativeType("const GLfixed *") MemorySegment params); - void glVertex2xOES(int x); - void glVertex2xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glVertex3xOES(int x, int y); - void glVertex3xvOES(@NativeType("const GLfixed *") MemorySegment coords); - void glVertex4xOES(int x, int y, int z); - void glVertex4xvOES(@NativeType("const GLfixed *") MemorySegment coords); + default void glAlphaFuncxOES(int func, int ref) { + throw new ContextException(); + } + + default void glClearColorxOES(int red, int green, int blue, int alpha) { + throw new ContextException(); + } + + default void glClearDepthxOES(int depth) { + throw new ContextException(); + } + + default void glClipPlanexOES(int plane, @NativeType("const GLfixed *") MemorySegment equation) { + throw new ContextException(); + } + + default void glColor4xOES(int red, int green, int blue, int alpha) { + throw new ContextException(); + } + + default void glDepthRangexOES(int n, int f) { + throw new ContextException(); + } + + default void glFogxOES(int pname, int param) { + throw new ContextException(); + } + + default void glFogxvOES(int pname, @NativeType("const GLfixed *") MemorySegment param) { + throw new ContextException(); + } + + default void glFrustumxOES(int l, int r, int b, int t, int n, int f) { + throw new ContextException(); + } + + default void glGetClipPlanexOES(int plane, @NativeType("GLfixed *") MemorySegment equation) { + throw new ContextException(); + } + + default void glGetFixedvOES(int pname, @NativeType("GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTexEnvxvOES(int target, int pname, @NativeType("GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTexParameterxvOES(int target, int pname, @NativeType("GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glLightModelxOES(int pname, int param) { + throw new ContextException(); + } + + default void glLightModelxvOES(int pname, @NativeType("const GLfixed *") MemorySegment param) { + throw new ContextException(); + } + + default void glLightxOES(int light, int pname, int param) { + throw new ContextException(); + } + + default void glLightxvOES(int light, int pname, @NativeType("const GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glLineWidthxOES(int width) { + throw new ContextException(); + } + + default void glLoadMatrixxOES(@NativeType("const GLfixed *") MemorySegment m) { + throw new ContextException(); + } + + default void glMaterialxOES(int face, int pname, int param) { + throw new ContextException(); + } + + default void glMaterialxvOES(int face, int pname, @NativeType("const GLfixed *") MemorySegment param) { + throw new ContextException(); + } + + default void glMultMatrixxOES(@NativeType("const GLfixed *") MemorySegment m) { + throw new ContextException(); + } + + default void glMultiTexCoord4xOES(int texture, int s, int t, int r, int q) { + throw new ContextException(); + } + + default void glNormal3xOES(int nx, int ny, int nz) { + throw new ContextException(); + } + + default void glOrthoxOES(int l, int r, int b, int t, int n, int f) { + throw new ContextException(); + } + + default void glPointParameterxvOES(int pname, @NativeType("const GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glPointSizexOES(int size) { + throw new ContextException(); + } + + default void glPolygonOffsetxOES(int factor, int units) { + throw new ContextException(); + } + + default void glRotatexOES(int angle, int x, int y, int z) { + throw new ContextException(); + } + + default void glScalexOES(int x, int y, int z) { + throw new ContextException(); + } + + default void glTexEnvxOES(int target, int pname, int param) { + throw new ContextException(); + } + + default void glTexEnvxvOES(int target, int pname, @NativeType("const GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glTexParameterxOES(int target, int pname, int param) { + throw new ContextException(); + } + + default void glTexParameterxvOES(int target, int pname, @NativeType("const GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glTranslatexOES(int x, int y, int z) { + throw new ContextException(); + } + + default void glAccumxOES(int op, int value) { + throw new ContextException(); + } + + default void glBitmapxOES(int width, int height, int xorig, int yorig, int xmove, int ymove, @NativeType("const GLubyte *") MemorySegment bitmap) { + throw new ContextException(); + } + + default void glBlendColorxOES(int red, int green, int blue, int alpha) { + throw new ContextException(); + } + + default void glClearAccumxOES(int red, int green, int blue, int alpha) { + throw new ContextException(); + } + + default void glColor3xOES(int red, int green, int blue) { + throw new ContextException(); + } + + default void glColor3xvOES(@NativeType("const GLfixed *") MemorySegment components) { + throw new ContextException(); + } + + default void glColor4xvOES(@NativeType("const GLfixed *") MemorySegment components) { + throw new ContextException(); + } + + default void glConvolutionParameterxOES(int target, int pname, int param) { + throw new ContextException(); + } + + default void glConvolutionParameterxvOES(int target, int pname, @NativeType("const GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glEvalCoord1xOES(int u) { + throw new ContextException(); + } + + default void glEvalCoord1xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glEvalCoord2xOES(int u, int v) { + throw new ContextException(); + } + + default void glEvalCoord2xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glFeedbackBufferxOES(int n, int type, @NativeType("const GLfixed *") MemorySegment buffer) { + throw new ContextException(); + } + + default void glGetConvolutionParameterxvOES(int target, int pname, @NativeType("GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetHistogramParameterxvOES(int target, int pname, @NativeType("GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetLightxOES(int light, int pname, @NativeType("GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetMapxvOES(int target, int query, @NativeType("GLfixed *") MemorySegment v) { + throw new ContextException(); + } + + default void glGetMaterialxOES(int face, int pname, int param) { + throw new ContextException(); + } + + default void glGetPixelMapxv(int map, int size, @NativeType("GLfixed *") MemorySegment values) { + throw new ContextException(); + } + + default void glGetTexGenxvOES(int coord, int pname, @NativeType("GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetTexLevelParameterxvOES(int target, int level, int pname, @NativeType("GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glIndexxOES(int component) { + throw new ContextException(); + } + + default void glIndexxvOES(@NativeType("const GLfixed *") MemorySegment component) { + throw new ContextException(); + } + + default void glLoadTransposeMatrixxOES(@NativeType("const GLfixed *") MemorySegment m) { + throw new ContextException(); + } + + default void glMap1xOES(int target, int u1, int u2, int stride, int order, int points) { + throw new ContextException(); + } + + default void glMap2xOES(int target, int u1, int u2, int ustride, int uorder, int v1, int v2, int vstride, int vorder, int points) { + throw new ContextException(); + } + + default void glMapGrid1xOES(int n, int u1, int u2) { + throw new ContextException(); + } + + default void glMapGrid2xOES(int n, int u1, int u2, int v1, int v2) { + throw new ContextException(); + } + + default void glMultTransposeMatrixxOES(@NativeType("const GLfixed *") MemorySegment m) { + throw new ContextException(); + } + + default void glMultiTexCoord1xOES(int texture, int s) { + throw new ContextException(); + } + + default void glMultiTexCoord1xvOES(int texture, @NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glMultiTexCoord2xOES(int texture, int s, int t) { + throw new ContextException(); + } + + default void glMultiTexCoord2xvOES(int texture, @NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glMultiTexCoord3xOES(int texture, int s, int t, int r) { + throw new ContextException(); + } + + default void glMultiTexCoord3xvOES(int texture, @NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glMultiTexCoord4xvOES(int texture, @NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glNormal3xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glPassThroughxOES(int token) { + throw new ContextException(); + } + + default void glPixelMapx(int map, int size, @NativeType("const GLfixed *") MemorySegment values) { + throw new ContextException(); + } + + default void glPixelStorex(int pname, int param) { + throw new ContextException(); + } + + default void glPixelTransferxOES(int pname, int param) { + throw new ContextException(); + } + + default void glPixelZoomxOES(int xfactor, int yfactor) { + throw new ContextException(); + } + + default void glPrioritizeTexturesxOES(int n, @NativeType("const GLuint *") MemorySegment textures, @NativeType("const GLfixed *") MemorySegment priorities) { + throw new ContextException(); + } + + default void glRasterPos2xOES(int x, int y) { + throw new ContextException(); + } + + default void glRasterPos2xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glRasterPos3xOES(int x, int y, int z) { + throw new ContextException(); + } + + default void glRasterPos3xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glRasterPos4xOES(int x, int y, int z, int w) { + throw new ContextException(); + } + + default void glRasterPos4xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glRectxOES(int x1, int y1, int x2, int y2) { + throw new ContextException(); + } + + default void glRectxvOES(@NativeType("const GLfixed *") MemorySegment v1, @NativeType("const GLfixed *") MemorySegment v2) { + throw new ContextException(); + } + + default void glTexCoord1xOES(int s) { + throw new ContextException(); + } + + default void glTexCoord1xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glTexCoord2xOES(int s, int t) { + throw new ContextException(); + } + + default void glTexCoord2xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glTexCoord3xOES(int s, int t, int r) { + throw new ContextException(); + } + + default void glTexCoord3xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glTexCoord4xOES(int s, int t, int r, int q) { + throw new ContextException(); + } + + default void glTexCoord4xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glTexGenxOES(int coord, int pname, int param) { + throw new ContextException(); + } + + default void glTexGenxvOES(int coord, int pname, @NativeType("const GLfixed *") MemorySegment params) { + throw new ContextException(); + } + + default void glVertex2xOES(int x) { + throw new ContextException(); + } + + default void glVertex2xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertex3xOES(int x, int y) { + throw new ContextException(); + } + + default void glVertex3xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + + default void glVertex4xOES(int x, int y, int z) { + throw new ContextException(); + } + + default void glVertex4xvOES(@NativeType("const GLfixed *") MemorySegment coords) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESQueryMatrix.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESQueryMatrix.java index d087901a..d38e6e68 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESQueryMatrix.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESQueryMatrix.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.oes; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLOESQueryMatrix { - int glQueryMatrixxOES(@NativeType("GLfixed *") MemorySegment mantissa, @NativeType("GLint *") MemorySegment exponent); + default int glQueryMatrixxOES(@NativeType("GLfixed *") MemorySegment mantissa, @NativeType("GLint *") MemorySegment exponent) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESReadFormat.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESReadFormat.java index 6bbb74d1..1af5f057 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESReadFormat.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESReadFormat.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.oes; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESSinglePrecision.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESSinglePrecision.java index dbae6876..7ed4101e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESSinglePrecision.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/oes/GLOESSinglePrecision.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.oes; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,10 +25,28 @@ */ public interface GLOESSinglePrecision { - void glClearDepthfOES(float depth); - void glClipPlanefOES(int plane, @NativeType("const GLfloat *") MemorySegment equation); - void glDepthRangefOES(float n, float f); - void glFrustumfOES(float l, float r, float b, float t, float n, float f); - void glGetClipPlanefOES(int plane, @NativeType("GLfloat *") MemorySegment equation); - void glOrthofOES(float l, float r, float b, float t, float n, float f); + default void glClearDepthfOES(float depth) { + throw new ContextException(); + } + + default void glClipPlanefOES(int plane, @NativeType("const GLfloat *") MemorySegment equation) { + throw new ContextException(); + } + + default void glDepthRangefOES(float n, float f) { + throw new ContextException(); + } + + default void glFrustumfOES(float l, float r, float b, float t, float n, float f) { + throw new ContextException(); + } + + default void glGetClipPlanefOES(int plane, @NativeType("GLfloat *") MemorySegment equation) { + throw new ContextException(); + } + + default void glOrthofOES(float l, float r, float b, float t, float n, float f) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIColorMatrix.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIColorMatrix.java index ea8d747f..16c11c58 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIColorMatrix.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIColorMatrix.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIColorTable.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIColorTable.java index 0e5d76a3..f11dacf8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIColorTable.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIColorTable.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -42,11 +41,32 @@ public interface GLSGIColorTable { int GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE; int GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF; - void glColorTableSGI(int target, int internalformat, int width, int format, int type, @NativeType("const void *") MemorySegment table); - void glColorTableParameterfvSGI(int target, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glColorTableParameterivSGI(int target, int pname, @NativeType("const GLint *") MemorySegment params); - void glCopyColorTableSGI(int target, int internalformat, int x, int y, int width); - void glGetColorTableSGI(int target, int format, int type, @NativeType("void *") MemorySegment table); - void glGetColorTableParameterfvSGI(int target, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetColorTableParameterivSGI(int target, int pname, @NativeType("GLint *") MemorySegment params); + default void glColorTableSGI(int target, int internalformat, int width, int format, int type, @NativeType("const void *") MemorySegment table) { + throw new ContextException(); + } + + default void glColorTableParameterfvSGI(int target, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glColorTableParameterivSGI(int target, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glCopyColorTableSGI(int target, int internalformat, int x, int y, int width) { + throw new ContextException(); + } + + default void glGetColorTableSGI(int target, int format, int type, @NativeType("void *") MemorySegment table) { + throw new ContextException(); + } + + default void glGetColorTableParameterfvSGI(int target, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetColorTableParameterivSGI(int target, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISDetailTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISDetailTexture.java index 4405d9bc..00b4fbc9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISDetailTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISDetailTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -34,6 +33,12 @@ public interface GLSGISDetailTexture { int GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B; int GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS = 0x809C; - void glDetailTexFuncSGIS(int target, int n, @NativeType("const GLfloat *") MemorySegment points); - void glGetDetailTexFuncSGIS(int target, @NativeType("GLfloat *") MemorySegment points); + default void glDetailTexFuncSGIS(int target, int n, @NativeType("const GLfloat *") MemorySegment points) { + throw new ContextException(); + } + + default void glGetDetailTexFuncSGIS(int target, @NativeType("GLfloat *") MemorySegment points) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISFogFunction.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISFogFunction.java index c0b65c09..87430c9d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISFogFunction.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISFogFunction.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,6 +28,12 @@ public interface GLSGISFogFunction { int GL_FOG_FUNC_POINTS_SGIS = 0x812B; int GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C; - void glFogFuncSGIS(int n, @NativeType("const GLfloat *") MemorySegment points); - void glGetFogFuncSGIS(@NativeType("GLfloat *") MemorySegment points); + default void glFogFuncSGIS(int n, @NativeType("const GLfloat *") MemorySegment points) { + throw new ContextException(); + } + + default void glGetFogFuncSGIS(@NativeType("GLfloat *") MemorySegment points) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISGenerateMipmap.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISGenerateMipmap.java index 5b50e432..13aba568 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISGenerateMipmap.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISGenerateMipmap.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISMultisample.java index cae7bb2d..d57f106f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISMultisample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISMultisample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -42,6 +41,12 @@ public interface GLSGISMultisample { int GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB; int GL_SAMPLE_PATTERN_SGIS = 0x80AC; - void glSampleMaskSGIS(float value, boolean invert); - void glSamplePatternSGIS(int pattern); + default void glSampleMaskSGIS(float value, boolean invert) { + throw new ContextException(); + } + + default void glSamplePatternSGIS(int pattern) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPixelTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPixelTexture.java index 491f0bb7..c2e1aa6f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPixelTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPixelTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,10 +29,28 @@ public interface GLSGISPixelTexture { int GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x8355; int GL_PIXEL_GROUP_COLOR_SGIS = 0x8356; - void glPixelTexGenParameteriSGIS(int pname, int param); - void glPixelTexGenParameterivSGIS(int pname, @NativeType("const GLint *") MemorySegment params); - void glPixelTexGenParameterfSGIS(int pname, float param); - void glPixelTexGenParameterfvSGIS(int pname, @NativeType("const GLfloat *") MemorySegment params); - void glGetPixelTexGenParameterivSGIS(int pname, @NativeType("GLint *") MemorySegment params); - void glGetPixelTexGenParameterfvSGIS(int pname, @NativeType("GLfloat *") MemorySegment params); + default void glPixelTexGenParameteriSGIS(int pname, int param) { + throw new ContextException(); + } + + default void glPixelTexGenParameterivSGIS(int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glPixelTexGenParameterfSGIS(int pname, float param) { + throw new ContextException(); + } + + default void glPixelTexGenParameterfvSGIS(int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetPixelTexGenParameterivSGIS(int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetPixelTexGenParameterfvSGIS(int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPointLineTexgen.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPointLineTexgen.java index b0b90dcd..23c6f610 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPointLineTexgen.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPointLineTexgen.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPointParameters.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPointParameters.java index 05412d3a..1abb5e79 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPointParameters.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISPointParameters.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,6 +29,12 @@ public interface GLSGISPointParameters { int GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128; int GL_DISTANCE_ATTENUATION_SGIS = 0x8129; - void glPointParameterfSGIS(int pname, float param); - void glPointParameterfvSGIS(int pname, @NativeType("const GLfloat *") MemorySegment params); + default void glPointParameterfSGIS(int pname, float param) { + throw new ContextException(); + } + + default void glPointParameterfvSGIS(int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISSharpenTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISSharpenTexture.java index 0fa454df..7db85a23 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISSharpenTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISSharpenTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -30,6 +29,12 @@ public interface GLSGISSharpenTexture { int GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF; int GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0; - void glSharpenTexFuncSGIS(int target, int n, @NativeType("const GLfloat *") MemorySegment points); - void glGetSharpenTexFuncSGIS(int target, @NativeType("GLfloat *") MemorySegment points); + default void glSharpenTexFuncSGIS(int target, int n, @NativeType("const GLfloat *") MemorySegment points) { + throw new ContextException(); + } + + default void glGetSharpenTexFuncSGIS(int target, @NativeType("GLfloat *") MemorySegment points) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTexture4D.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTexture4D.java index 933f8a56..8ccea1f2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTexture4D.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTexture4D.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -36,6 +35,12 @@ public interface GLSGISTexture4D { int GL_MAX_4D_TEXTURE_SIZE_SGIS = 0x8138; int GL_TEXTURE_4D_BINDING_SGIS = 0x814F; - void glTexImage4DSGIS(int target, int level, int internalformat, int width, int height, int depth, int size4d, int border, int format, int type, @NativeType("const void *") MemorySegment pixels); - void glTexSubImage4DSGIS(int target, int level, int xoffset, int yoffset, int zoffset, int woffset, int width, int height, int depth, int size4d, int format, int type, @NativeType("const void *") MemorySegment pixels); + default void glTexImage4DSGIS(int target, int level, int internalformat, int width, int height, int depth, int size4d, int border, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + + default void glTexSubImage4DSGIS(int target, int level, int xoffset, int yoffset, int zoffset, int woffset, int width, int height, int depth, int size4d, int format, int type, @NativeType("const void *") MemorySegment pixels) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureBorderClamp.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureBorderClamp.java index ea6e5660..a13bdc75 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureBorderClamp.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureBorderClamp.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureColorMask.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureColorMask.java index 49dc3125..41320602 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureColorMask.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureColorMask.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,5 +26,8 @@ public interface GLSGISTextureColorMask { int GL_TEXTURE_COLOR_WRITEMASK_SGIS = 0x81EF; - void glTextureColorMaskSGIS(boolean red, boolean green, boolean blue, boolean alpha); + default void glTextureColorMaskSGIS(boolean red, boolean green, boolean blue, boolean alpha) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureEdgeClamp.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureEdgeClamp.java index 5d6ed9b0..2bf890d7 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureEdgeClamp.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureEdgeClamp.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureFilter4.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureFilter4.java index e1172fde..fa730658 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureFilter4.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureFilter4.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,6 +27,12 @@ public interface GLSGISTextureFilter4 { int GL_FILTER4_SGIS = 0x8146; int GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147; - void glGetTexFilterFuncSGIS(int target, int filter, @NativeType("GLfloat *") MemorySegment weights); - void glTexFilterFuncSGIS(int target, int filter, int n, @NativeType("const GLfloat *") MemorySegment weights); + default void glGetTexFilterFuncSGIS(int target, int filter, @NativeType("GLfloat *") MemorySegment weights) { + throw new ContextException(); + } + + default void glTexFilterFuncSGIS(int target, int filter, int n, @NativeType("const GLfloat *") MemorySegment weights) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureLod.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureLod.java index 5aaa0074..255f7158 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureLod.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureLod.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureSelect.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureSelect.java index e24bd3c0..315cc763 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureSelect.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGISTextureSelect.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGITextureColorTable.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGITextureColorTable.java index a014e264..887437c0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGITextureColorTable.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGITextureColorTable.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsync.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsync.java index 23461985..bea9e7fc 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsync.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsync.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,10 +26,28 @@ public interface GLSGIXAsync { int GL_ASYNC_MARKER_SGIX = 0x8329; - void glAsyncMarkerSGIX(int marker); - int glFinishAsyncSGIX(@NativeType("GLuint *") MemorySegment markerp); - int glPollAsyncSGIX(@NativeType("GLuint *") MemorySegment markerp); - int glGenAsyncMarkersSGIX(int range); - void glDeleteAsyncMarkersSGIX(int marker, int range); - boolean glIsAsyncMarkerSGIX(int marker); + default void glAsyncMarkerSGIX(int marker) { + throw new ContextException(); + } + + default int glFinishAsyncSGIX(@NativeType("GLuint *") MemorySegment markerp) { + throw new ContextException(); + } + + default int glPollAsyncSGIX(@NativeType("GLuint *") MemorySegment markerp) { + throw new ContextException(); + } + + default int glGenAsyncMarkersSGIX(int range) { + throw new ContextException(); + } + + default void glDeleteAsyncMarkersSGIX(int marker, int range) { + throw new ContextException(); + } + + default boolean glIsAsyncMarkerSGIX(int marker) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsyncHistogram.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsyncHistogram.java index 7d691beb..443c076e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsyncHistogram.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsyncHistogram.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsyncPixel.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsyncPixel.java index ec17fbe6..4fa75c92 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsyncPixel.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXAsyncPixel.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXBlendAlphaMinmax.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXBlendAlphaMinmax.java index 9a31c8be..266d108c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXBlendAlphaMinmax.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXBlendAlphaMinmax.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXCalligraphicFragment.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXCalligraphicFragment.java index be0c27d7..cdb01bd6 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXCalligraphicFragment.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXCalligraphicFragment.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXClipmap.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXClipmap.java index c7916583..af7c37a1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXClipmap.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXClipmap.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXConvolutionAccuracy.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXConvolutionAccuracy.java index 7246d939..f3733f28 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXConvolutionAccuracy.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXConvolutionAccuracy.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXDepthTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXDepthTexture.java index aa4a72dc..eed03684 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXDepthTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXDepthTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFlushRaster.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFlushRaster.java index c8c76462..cbbc72a5 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFlushRaster.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFlushRaster.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLSGIXFlushRaster { - void glFlushRasterSGIX(); + default void glFlushRasterSGIX() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFogOffset.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFogOffset.java index fff8f892..5c4bceeb 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFogOffset.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFogOffset.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFragmentLighting.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFragmentLighting.java index d47d44a2..33217597 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFragmentLighting.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFragmentLighting.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -46,22 +45,76 @@ public interface GLSGIXFragmentLighting { int GL_FRAGMENT_LIGHT6_SGIX = 0x8412; int GL_FRAGMENT_LIGHT7_SGIX = 0x8413; - void glFragmentColorMaterialSGIX(int face, int mode); - void glFragmentLightfSGIX(int light, int pname, float param); - void glFragmentLightfvSGIX(int light, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glFragmentLightiSGIX(int light, int pname, int param); - void glFragmentLightivSGIX(int light, int pname, @NativeType("const GLint *") MemorySegment params); - void glFragmentLightModelfSGIX(int pname, float param); - void glFragmentLightModelfvSGIX(int pname, @NativeType("const GLfloat *") MemorySegment params); - void glFragmentLightModeliSGIX(int pname, int param); - void glFragmentLightModelivSGIX(int pname, @NativeType("const GLint *") MemorySegment params); - void glFragmentMaterialfSGIX(int face, int pname, float param); - void glFragmentMaterialfvSGIX(int face, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glFragmentMaterialiSGIX(int face, int pname, int param); - void glFragmentMaterialivSGIX(int face, int pname, @NativeType("const GLint *") MemorySegment params); - void glGetFragmentLightfvSGIX(int light, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetFragmentLightivSGIX(int light, int pname, @NativeType("GLint *") MemorySegment params); - void glGetFragmentMaterialfvSGIX(int face, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetFragmentMaterialivSGIX(int face, int pname, @NativeType("GLint *") MemorySegment params); - void glLightEnviSGIX(int pname, int param); + default void glFragmentColorMaterialSGIX(int face, int mode) { + throw new ContextException(); + } + + default void glFragmentLightfSGIX(int light, int pname, float param) { + throw new ContextException(); + } + + default void glFragmentLightfvSGIX(int light, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glFragmentLightiSGIX(int light, int pname, int param) { + throw new ContextException(); + } + + default void glFragmentLightivSGIX(int light, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glFragmentLightModelfSGIX(int pname, float param) { + throw new ContextException(); + } + + default void glFragmentLightModelfvSGIX(int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glFragmentLightModeliSGIX(int pname, int param) { + throw new ContextException(); + } + + default void glFragmentLightModelivSGIX(int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glFragmentMaterialfSGIX(int face, int pname, float param) { + throw new ContextException(); + } + + default void glFragmentMaterialfvSGIX(int face, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glFragmentMaterialiSGIX(int face, int pname, int param) { + throw new ContextException(); + } + + default void glFragmentMaterialivSGIX(int face, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetFragmentLightfvSGIX(int light, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetFragmentLightivSGIX(int light, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetFragmentMaterialfvSGIX(int face, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetFragmentMaterialivSGIX(int face, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glLightEnviSGIX(int pname, int param) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFramezoom.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFramezoom.java index 40067cc3..457b47a2 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFramezoom.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXFramezoom.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -29,5 +28,8 @@ public interface GLSGIXFramezoom { int GL_FRAMEZOOM_FACTOR_SGIX = 0x818C; int GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D; - void glFrameZoomSGIX(int factor); + default void glFrameZoomSGIX(int factor) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXIglooInterface.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXIglooInterface.java index 348f1526..ef4e2d7f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXIglooInterface.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXIglooInterface.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLSGIXIglooInterface { - void glIglooInterfaceSGIX(int pname, @NativeType("const void *") MemorySegment params); + default void glIglooInterfaceSGIX(int pname, @NativeType("const void *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXInstruments.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXInstruments.java index b9858284..95f6360f 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXInstruments.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXInstruments.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,10 +27,28 @@ public interface GLSGIXInstruments { int GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180; int GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181; - int glGetInstrumentsSGIX(); - void glInstrumentsBufferSGIX(int size, @NativeType("GLint *") MemorySegment buffer); - int glPollInstrumentsSGIX(@NativeType("GLint *") MemorySegment marker_p); - void glReadInstrumentsSGIX(int marker); - void glStartInstrumentsSGIX(); - void glStopInstrumentsSGIX(int marker); + default int glGetInstrumentsSGIX() { + throw new ContextException(); + } + + default void glInstrumentsBufferSGIX(int size, @NativeType("GLint *") MemorySegment buffer) { + throw new ContextException(); + } + + default int glPollInstrumentsSGIX(@NativeType("GLint *") MemorySegment marker_p) { + throw new ContextException(); + } + + default void glReadInstrumentsSGIX(int marker) { + throw new ContextException(); + } + + default void glStartInstrumentsSGIX() { + throw new ContextException(); + } + + default void glStopInstrumentsSGIX(int marker) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXInterlace.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXInterlace.java index beced66a..8719b39e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXInterlace.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXInterlace.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXIrInstrument1.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXIrInstrument1.java index 79efc896..9ffd3d8c 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXIrInstrument1.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXIrInstrument1.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXListPriority.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXListPriority.java index b6c403de..a6fa9f81 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXListPriority.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXListPriority.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -27,10 +26,28 @@ public interface GLSGIXListPriority { int GL_LIST_PRIORITY_SGIX = 0x8182; - void glGetListParameterfvSGIX(int list, int pname, @NativeType("GLfloat *") MemorySegment params); - void glGetListParameterivSGIX(int list, int pname, @NativeType("GLint *") MemorySegment params); - void glListParameterfSGIX(int list, int pname, float param); - void glListParameterfvSGIX(int list, int pname, @NativeType("const GLfloat *") MemorySegment params); - void glListParameteriSGIX(int list, int pname, int param); - void glListParameterivSGIX(int list, int pname, @NativeType("const GLint *") MemorySegment params); + default void glGetListParameterfvSGIX(int list, int pname, @NativeType("GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glGetListParameterivSGIX(int list, int pname, @NativeType("GLint *") MemorySegment params) { + throw new ContextException(); + } + + default void glListParameterfSGIX(int list, int pname, float param) { + throw new ContextException(); + } + + default void glListParameterfvSGIX(int list, int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glListParameteriSGIX(int list, int pname, int param) { + throw new ContextException(); + } + + default void glListParameterivSGIX(int list, int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPixelTexture.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPixelTexture.java index 7fe43a94..ec5f03f8 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPixelTexture.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPixelTexture.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLSGIXPixelTexture { int GL_PIXEL_TEX_GEN_SGIX = 0x8139; int GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B; - void glPixelTexGenSGIX(int mode); + default void glPixelTexGenSGIX(int mode) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPixelTiles.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPixelTiles.java index b537df80..79857476 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPixelTiles.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPixelTiles.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPolynomialFFD.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPolynomialFFD.java index 96dbc52d..1a937dce 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPolynomialFFD.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXPolynomialFFD.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -32,8 +31,20 @@ public interface GLSGIXPolynomialFFD { int GL_DEFORMATIONS_MASK_SGIX = 0x8196; int GL_MAX_DEFORMATION_ORDER_SGIX = 0x8197; - void glDeformationMap3dSGIX(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, double w1, double w2, int wstride, int worder, @NativeType("const GLdouble *") MemorySegment points); - void glDeformationMap3fSGIX(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, float w1, float w2, int wstride, int worder, @NativeType("const GLfloat *") MemorySegment points); - void glDeformSGIX(int mask); - void glLoadIdentityDeformationMapSGIX(int mask); + default void glDeformationMap3dSGIX(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, double w1, double w2, int wstride, int worder, @NativeType("const GLdouble *") MemorySegment points) { + throw new ContextException(); + } + + default void glDeformationMap3fSGIX(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, float w1, float w2, int wstride, int worder, @NativeType("const GLfloat *") MemorySegment points) { + throw new ContextException(); + } + + default void glDeformSGIX(int mask) { + throw new ContextException(); + } + + default void glLoadIdentityDeformationMapSGIX(int mask) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXReferencePlane.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXReferencePlane.java index 0ea67294..5c756126 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXReferencePlane.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXReferencePlane.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLSGIXReferencePlane { int GL_REFERENCE_PLANE_SGIX = 0x817D; int GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E; - void glReferencePlaneSGIX(@NativeType("const GLdouble *") MemorySegment equation); + default void glReferencePlaneSGIX(@NativeType("const GLdouble *") MemorySegment equation) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXResample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXResample.java index 4c2b390d..31d0b3c9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXResample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXResample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXScalebiasHint.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXScalebiasHint.java index 9323dc6d..a5e815e1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXScalebiasHint.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXScalebiasHint.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXShadow.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXShadow.java index 8ee529d3..ade15f9b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXShadow.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXShadow.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXShadowAmbient.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXShadowAmbient.java index cfc5c906..eccd9af4 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXShadowAmbient.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXShadowAmbient.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXSprite.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXSprite.java index a347ef19..e4261587 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXSprite.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXSprite.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -33,8 +32,20 @@ public interface GLSGIXSprite { int GL_SPRITE_OBJECT_ALIGNED_SGIX = 0x814D; int GL_SPRITE_EYE_ALIGNED_SGIX = 0x814E; - void glSpriteParameterfSGIX(int pname, float param); - void glSpriteParameterfvSGIX(int pname, @NativeType("const GLfloat *") MemorySegment params); - void glSpriteParameteriSGIX(int pname, int param); - void glSpriteParameterivSGIX(int pname, @NativeType("const GLint *") MemorySegment params); + default void glSpriteParameterfSGIX(int pname, float param) { + throw new ContextException(); + } + + default void glSpriteParameterfvSGIX(int pname, @NativeType("const GLfloat *") MemorySegment params) { + throw new ContextException(); + } + + default void glSpriteParameteriSGIX(int pname, int param) { + throw new ContextException(); + } + + default void glSpriteParameterivSGIX(int pname, @NativeType("const GLint *") MemorySegment params) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXSubsample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXSubsample.java index 0ad62017..63f3f4d9 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXSubsample.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXSubsample.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTagSampleBuffer.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTagSampleBuffer.java index abfcf1a1..b9710417 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTagSampleBuffer.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTagSampleBuffer.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,5 +25,8 @@ */ public interface GLSGIXTagSampleBuffer { - void glTagSampleBufferSGIX(); + default void glTagSampleBufferSGIX() { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureAddEnv.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureAddEnv.java index 74755292..91cf1fad 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureAddEnv.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureAddEnv.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureCoordinateClamp.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureCoordinateClamp.java index 7e8c093c..f51a1cfd 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureCoordinateClamp.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureCoordinateClamp.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureLodBias.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureLodBias.java index 7dc10298..405a60f1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureLodBias.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureLodBias.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureMultiBuffer.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureMultiBuffer.java index 6231a37e..52a8b06b 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureMultiBuffer.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureMultiBuffer.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureScaleBias.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureScaleBias.java index 0169afd8..5f7edb6a 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureScaleBias.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXTextureScaleBias.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXVertexPreclip.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXVertexPreclip.java index fa53203b..a765d12e 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXVertexPreclip.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXVertexPreclip.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXYcrcb.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXYcrcb.java index 44ac2db9..bd583ee0 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXYcrcb.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXYcrcb.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXYcrcba.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXYcrcba.java index 43bd5163..ef1dcab3 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXYcrcba.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sgi/GLSGIXYcrcba.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sgi; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNConvolutionBorderModes.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNConvolutionBorderModes.java index 2085e3d1..e69c1a3d 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNConvolutionBorderModes.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNConvolutionBorderModes.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sun; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNGlobalAlpha.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNGlobalAlpha.java index 5e3c716a..599153a1 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNGlobalAlpha.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNGlobalAlpha.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sun; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,12 +27,36 @@ public interface GLSUNGlobalAlpha { int GL_GLOBAL_ALPHA_SUN = 0x81D9; int GL_GLOBAL_ALPHA_FACTOR_SUN = 0x81DA; - void glGlobalAlphaFactorbSUN(byte factor); - void glGlobalAlphaFactorsSUN(short factor); - void glGlobalAlphaFactoriSUN(int factor); - void glGlobalAlphaFactorfSUN(float factor); - void glGlobalAlphaFactordSUN(double factor); - void glGlobalAlphaFactorubSUN(byte factor); - void glGlobalAlphaFactorusSUN(short factor); - void glGlobalAlphaFactoruiSUN(int factor); + default void glGlobalAlphaFactorbSUN(byte factor) { + throw new ContextException(); + } + + default void glGlobalAlphaFactorsSUN(short factor) { + throw new ContextException(); + } + + default void glGlobalAlphaFactoriSUN(int factor) { + throw new ContextException(); + } + + default void glGlobalAlphaFactorfSUN(float factor) { + throw new ContextException(); + } + + default void glGlobalAlphaFactordSUN(double factor) { + throw new ContextException(); + } + + default void glGlobalAlphaFactorubSUN(byte factor) { + throw new ContextException(); + } + + default void glGlobalAlphaFactorusSUN(short factor) { + throw new ContextException(); + } + + default void glGlobalAlphaFactoruiSUN(int factor) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNMeshArray.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNMeshArray.java index d5bb893d..35955526 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNMeshArray.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNMeshArray.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sun; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLSUNMeshArray { int GL_QUAD_MESH_SUN = 0x8614; int GL_TRIANGLE_MESH_SUN = 0x8615; - void glDrawMeshArraysSUN(int mode, int first, int count, int width); + default void glDrawMeshArraysSUN(int mode, int first, int count, int width) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNSliceAccum.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNSliceAccum.java index d7e7a854..26d115df 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNSliceAccum.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNSliceAccum.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sun; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNTriangleList.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNTriangleList.java index 57336762..01af8271 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNTriangleList.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNTriangleList.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sun; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -43,11 +42,32 @@ public interface GLSUNTriangleList { int GL_R1UI_T2F_N3F_V3F_SUN = 0x85CA; int GL_R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB; - void glReplacementCodeuiSUN(int code); - void glReplacementCodeusSUN(short code); - void glReplacementCodeubSUN(byte code); - void glReplacementCodeuivSUN(@NativeType("const GLuint *") MemorySegment code); - void glReplacementCodeusvSUN(@NativeType("const GLushort *") MemorySegment code); - void glReplacementCodeubvSUN(@NativeType("const GLubyte *") MemorySegment code); - void glReplacementCodePointerSUN(int type, int stride, @NativeType("const void **") MemorySegment pointer); + default void glReplacementCodeuiSUN(int code) { + throw new ContextException(); + } + + default void glReplacementCodeusSUN(short code) { + throw new ContextException(); + } + + default void glReplacementCodeubSUN(byte code) { + throw new ContextException(); + } + + default void glReplacementCodeuivSUN(@NativeType("const GLuint *") MemorySegment code) { + throw new ContextException(); + } + + default void glReplacementCodeusvSUN(@NativeType("const GLushort *") MemorySegment code) { + throw new ContextException(); + } + + default void glReplacementCodeubvSUN(@NativeType("const GLubyte *") MemorySegment code) { + throw new ContextException(); + } + + default void glReplacementCodePointerSUN(int type, int stride, @NativeType("const void **") MemorySegment pointer) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNVertex.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNVertex.java index d5a17efc..310f8126 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNVertex.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNVertex.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sun; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -26,44 +25,164 @@ */ public interface GLSUNVertex { - void glColor4ubVertex2fSUN(byte r, byte g, byte b, byte a, float x, float y); - void glColor4ubVertex2fvSUN(@NativeType("const GLubyte *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v); - void glColor4ubVertex3fSUN(byte r, byte g, byte b, byte a, float x, float y, float z); - void glColor4ubVertex3fvSUN(@NativeType("const GLubyte *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v); - void glColor3fVertex3fSUN(float r, float g, float b, float x, float y, float z); - void glColor3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v); - void glNormal3fVertex3fSUN(float nx, float ny, float nz, float x, float y, float z); - void glNormal3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); - void glColor4fNormal3fVertex3fSUN(float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z); - void glColor4fNormal3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); - void glTexCoord2fVertex3fSUN(float s, float t, float x, float y, float z); - void glTexCoord2fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment v); - void glTexCoord4fVertex4fSUN(float s, float t, float p, float q, float x, float y, float z, float w); - void glTexCoord4fVertex4fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment v); - void glTexCoord2fColor4ubVertex3fSUN(float s, float t, byte r, byte g, byte b, byte a, float x, float y, float z); - void glTexCoord2fColor4ubVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLubyte *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v); - void glTexCoord2fColor3fVertex3fSUN(float s, float t, float r, float g, float b, float x, float y, float z); - void glTexCoord2fColor3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v); - void glTexCoord2fNormal3fVertex3fSUN(float s, float t, float nx, float ny, float nz, float x, float y, float z); - void glTexCoord2fNormal3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); - void glTexCoord2fColor4fNormal3fVertex3fSUN(float s, float t, float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z); - void glTexCoord2fColor4fNormal3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); - void glTexCoord4fColor4fNormal3fVertex4fSUN(float s, float t, float p, float q, float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z, float w); - void glTexCoord4fColor4fNormal3fVertex4fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); - void glReplacementCodeuiVertex3fSUN(int rc, float x, float y, float z); - void glReplacementCodeuiVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment v); - void glReplacementCodeuiColor4ubVertex3fSUN(int rc, byte r, byte g, byte b, byte a, float x, float y, float z); - void glReplacementCodeuiColor4ubVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLubyte *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v); - void glReplacementCodeuiColor3fVertex3fSUN(int rc, float r, float g, float b, float x, float y, float z); - void glReplacementCodeuiColor3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v); - void glReplacementCodeuiNormal3fVertex3fSUN(int rc, float nx, float ny, float nz, float x, float y, float z); - void glReplacementCodeuiNormal3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); - void glReplacementCodeuiColor4fNormal3fVertex3fSUN(int rc, float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z); - void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); - void glReplacementCodeuiTexCoord2fVertex3fSUN(int rc, float s, float t, float x, float y, float z); - void glReplacementCodeuiTexCoord2fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment v); - void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(int rc, float s, float t, float nx, float ny, float nz, float x, float y, float z); - void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); - void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(int rc, float s, float t, float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z); - void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v); + default void glColor4ubVertex2fSUN(byte r, byte g, byte b, byte a, float x, float y) { + throw new ContextException(); + } + + default void glColor4ubVertex2fvSUN(@NativeType("const GLubyte *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glColor4ubVertex3fSUN(byte r, byte g, byte b, byte a, float x, float y, float z) { + throw new ContextException(); + } + + default void glColor4ubVertex3fvSUN(@NativeType("const GLubyte *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glColor3fVertex3fSUN(float r, float g, float b, float x, float y, float z) { + throw new ContextException(); + } + + default void glColor3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glNormal3fVertex3fSUN(float nx, float ny, float nz, float x, float y, float z) { + throw new ContextException(); + } + + default void glNormal3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glColor4fNormal3fVertex3fSUN(float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z) { + throw new ContextException(); + } + + default void glColor4fNormal3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord2fVertex3fSUN(float s, float t, float x, float y, float z) { + throw new ContextException(); + } + + default void glTexCoord2fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord4fVertex4fSUN(float s, float t, float p, float q, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glTexCoord4fVertex4fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord2fColor4ubVertex3fSUN(float s, float t, byte r, byte g, byte b, byte a, float x, float y, float z) { + throw new ContextException(); + } + + default void glTexCoord2fColor4ubVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLubyte *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord2fColor3fVertex3fSUN(float s, float t, float r, float g, float b, float x, float y, float z) { + throw new ContextException(); + } + + default void glTexCoord2fColor3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord2fNormal3fVertex3fSUN(float s, float t, float nx, float ny, float nz, float x, float y, float z) { + throw new ContextException(); + } + + default void glTexCoord2fNormal3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord2fColor4fNormal3fVertex3fSUN(float s, float t, float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z) { + throw new ContextException(); + } + + default void glTexCoord2fColor4fNormal3fVertex3fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glTexCoord4fColor4fNormal3fVertex4fSUN(float s, float t, float p, float q, float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z, float w) { + throw new ContextException(); + } + + default void glTexCoord4fColor4fNormal3fVertex4fvSUN(@NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glReplacementCodeuiVertex3fSUN(int rc, float x, float y, float z) { + throw new ContextException(); + } + + default void glReplacementCodeuiVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glReplacementCodeuiColor4ubVertex3fSUN(int rc, byte r, byte g, byte b, byte a, float x, float y, float z) { + throw new ContextException(); + } + + default void glReplacementCodeuiColor4ubVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLubyte *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glReplacementCodeuiColor3fVertex3fSUN(int rc, float r, float g, float b, float x, float y, float z) { + throw new ContextException(); + } + + default void glReplacementCodeuiColor3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glReplacementCodeuiNormal3fVertex3fSUN(int rc, float nx, float ny, float nz, float x, float y, float z) { + throw new ContextException(); + } + + default void glReplacementCodeuiNormal3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glReplacementCodeuiColor4fNormal3fVertex3fSUN(int rc, float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z) { + throw new ContextException(); + } + + default void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glReplacementCodeuiTexCoord2fVertex3fSUN(int rc, float s, float t, float x, float y, float z) { + throw new ContextException(); + } + + default void glReplacementCodeuiTexCoord2fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(int rc, float s, float t, float nx, float ny, float nz, float x, float y, float z) { + throw new ContextException(); + } + + default void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + + default void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(int rc, float s, float t, float r, float g, float b, float a, float nx, float ny, float nz, float x, float y, float z) { + throw new ContextException(); + } + + default void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(@NativeType("const GLuint *") MemorySegment rc, @NativeType("const GLfloat *") MemorySegment tc, @NativeType("const GLfloat *") MemorySegment c, @NativeType("const GLfloat *") MemorySegment n, @NativeType("const GLfloat *") MemorySegment v) { + throw new ContextException(); + } + } diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNXConstantData.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNXConstantData.java index 55678412..29a61365 100644 --- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNXConstantData.java +++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/sun/GLSUNXConstantData.java @@ -16,9 +16,8 @@ // This file is auto-generated. DO NOT EDIT! package overrungl.opengl.ext.sun; - -import overrungl.*; -import overrun.marshal.*; +import overrungl.NativeType; +import overrungl.opengl.*; import java.lang.foreign.*; /** @@ -28,5 +27,8 @@ public interface GLSUNXConstantData { int GL_UNPACK_CONSTANT_DATA_SUNX = 0x81D5; int GL_TEXTURE_CONSTANT_DATA_SUNX = 0x81D6; - void glFinishTextureSUNX(); + default void glFinishTextureSUNX() { + throw new ContextException(); + } + }