diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index dd794f9d..fd3b2392 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -30,10 +30,10 @@ jobs:
- name: Grant execute permission for gradlew
if: ${{ runner.os != 'Windows' }}
run: chmod +x gradlew
- - name: Build with Gradle
- uses: gradle/gradle-build-action@v2
- with:
- arguments: build --no-daemon -x :samples:test
+ - name: Setup Gradle
+ uses: gradle/actions/setup-gradle@v3
+ - name: Execute Gradle build
+ run: ./gradlew build --no-daemon -x :samples:test
- name: Upload build reports
if: ${{ runner.os == 'Linux' && matrix.java == '22-ea' && failure() }}
uses: actions/upload-artifact@v4
diff --git a/README.md b/README.md
index ce959c14..5e7034f1 100644
--- a/README.md
+++ b/README.md
@@ -26,24 +26,16 @@ but OverrunGL uses [FFM API](https://openjdk.org/jeps/454), which has better per
You can check our [wiki](https://github.com/Over-Run/overrungl/wiki) or
the [samples](modules/samples/src/test/java/overrungl/demo).
-### Enable native access
-
-You must enable the access of OverrunGL by adding a VM argument or a manifest attribute.
-
-```
---enable-preview-access=overrungl.core,...
-```
-
## Import as a Dependency
+We provided a modules customizer [here](https://over-run.github.io/overrungl-gen/).
+
Currently, we are developing with the first version,
and it uses preview features, which prevent users from using newer JDKs,
so you have to use `-SNAPSHOT` version.
You can import with `io.github.over-run:overrungl-bom:{the version}` and other submodules.
-We have provided a modules customizer [here](https://over-run.github.io/overrungl-gen/).
-
### Using -SNAPSHOT Versions
We publish `-SNAPSHOT` versions frequently.
@@ -56,6 +48,14 @@ and include this maven repository:
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots" }
```
+### Enable native access
+
+You must enable the access of OverrunGL by adding a VM argument or a manifest attribute.
+
+```
+--enable-preview-access=overrungl.core,...
+```
+
## List of Supported Bindings
### Khronos APIs
@@ -105,6 +105,8 @@ Javadoc can be found [here](https://over-run.github.io/overrungl-doc/).
The documentation of OpenGL can be found from [references](https://registry.khronos.org/OpenGL-Refpages/gl4/) and [docs.gl](https://docs.gl/).
+OverrunGL uses [Marshal](https://github.com/Over-Run/marshal).
+
### Credits
[
](https://jb.gg/OpenSourceSupport)
diff --git a/build.gradle.kts b/build.gradle.kts
index a2840ec7..4c957697 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -6,7 +6,6 @@ plugins {
`java-platform`
`maven-publish`
signing
- id("me.champeau.jmh") version "0.7.2" apply false
}
val projGroupId: String by project
@@ -127,7 +126,6 @@ artifactNameMap.forEach { (subprojectName, artifactName) ->
project(subprojectName) {
apply(plugin = "java-library")
apply(plugin = "idea")
- apply(plugin = "me.champeau.jmh")
group = projGroupId
version = projVersion
diff --git a/modules/overrungl.opengl/build.gradle.kts b/generators/opengl/build.gradle.kts
similarity index 75%
rename from modules/overrungl.opengl/build.gradle.kts
rename to generators/opengl/build.gradle.kts
index d8234166..3ace3e81 100644
--- a/modules/overrungl.opengl/build.gradle.kts
+++ b/generators/opengl/build.gradle.kts
@@ -1,22 +1,20 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
- embeddedKotlin("jvm") apply false
+ embeddedKotlin("jvm")
}
+repositories { mavenCentral() }
+
val jdkVersion: String by rootProject
val jdkEnablePreview: String by rootProject
val kotlinTargetJdkVersion: String by rootProject
-sourceSets {
- create("generator")
-}
-
tasks.withType {
kotlinOptions { jvmTarget = kotlinTargetJdkVersion }
}
-tasks.named("compileGeneratorJava") {
+tasks.withType {
javaCompiler.set(javaToolchains.compilerFor {
targetCompatibility = kotlinTargetJdkVersion
languageVersion.set(JavaLanguageVersion.of(jdkVersion))
@@ -24,11 +22,11 @@ tasks.named("compileGeneratorJava") {
}
tasks.register("generate") {
- classpath(sourceSets["generator"].runtimeClasspath)
+ classpath(sourceSets["main"].runtimeClasspath)
javaLauncher.set(javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(jdkVersion))
})
if (jdkEnablePreview.toBoolean()) jvmArgs("--enable-preview")
mainClass.set("overrungl.opengl.OpenGLGeneratorKt")
- workingDir = File("src/main/java/overrungl/opengl")
+ workingDir = project(":opengl").projectDir.resolve("src/main/java/overrungl/opengl")
}
diff --git a/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/GLAMD.kt b/generators/opengl/src/main/kotlin/overrungl/opengl/GLAMD.kt
similarity index 100%
rename from modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/GLAMD.kt
rename to generators/opengl/src/main/kotlin/overrungl/opengl/GLAMD.kt
diff --git a/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/GLARB.kt b/generators/opengl/src/main/kotlin/overrungl/opengl/GLARB.kt
similarity index 100%
rename from modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/GLARB.kt
rename to generators/opengl/src/main/kotlin/overrungl/opengl/GLARB.kt
diff --git a/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/GLEXT.kt b/generators/opengl/src/main/kotlin/overrungl/opengl/GLEXT.kt
similarity index 100%
rename from modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/GLEXT.kt
rename to generators/opengl/src/main/kotlin/overrungl/opengl/GLEXT.kt
diff --git a/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/GLNV.kt b/generators/opengl/src/main/kotlin/overrungl/opengl/GLNV.kt
similarity index 100%
rename from modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/GLNV.kt
rename to generators/opengl/src/main/kotlin/overrungl/opengl/GLNV.kt
diff --git a/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/OpenGLGenerator.kt b/generators/opengl/src/main/kotlin/overrungl/opengl/OpenGLGenerator.kt
similarity index 99%
rename from modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/OpenGLGenerator.kt
rename to generators/opengl/src/main/kotlin/overrungl/opengl/OpenGLGenerator.kt
index 6a46b37b..f74d8d73 100644
--- a/modules/overrungl.opengl/src/generator/kotlin/overrungl/opengl/OpenGLGenerator.kt
+++ b/generators/opengl/src/main/kotlin/overrungl/opengl/OpenGLGenerator.kt
@@ -64,7 +64,7 @@ data class Type(val name: String, val layout: String?) {
const val fileHeader = """/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -193,7 +193,7 @@ class OpenGLFile(
|/**
| * {@code $extName}
| */
- |public interface GL${ext.extName}$name {
+ |public interface GL${ext.extName}$name extends overrun.marshal.DirectAccess {
""".trimMargin()
)
// constants
@@ -2524,10 +2524,9 @@ fun glExtension() {
|
|/**
| * The OpenGL extension functions.
- | *
| * @since 0.1.0
| */
- |public interface GLExtension extends
+ |public interface GLExtension extends overrun.marshal.DirectAccess,
""".trimMargin())
generatedExtClasses.joinTo(this, ",\n") { " GL${it.ext.extName}${it.name}" }
appendLine(" {")
@@ -3165,7 +3164,6 @@ fun glFlags() {
|
|/**
| * The OpenGL flags.
- | *
| * @since 0.1.0
| */
|public final class GLFlags {
@@ -3177,7 +3175,7 @@ fun glFlags() {
| GL30, GL31, GL32, GL33,
| GL40, GL41, GL42, GL43, GL44, GL45, GL46;
| /** The OpenGL extension flags. */
- | public final boolean ${caps.joinToString()};
+ | public final boolean ${caps.joinToString(separator = ",\n| ")};
|
| /**
| * Construct OpenGL flags.
diff --git a/gradle.properties b/gradle.properties
index 7352914b..0a81762d 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -18,5 +18,5 @@ jdkEnablePreview=true
jdkEarlyAccessDoc=jdk22
kotlinTargetJdkVersion=21
-overrunMarshalVersion=0.1.0-alpha.17-jdk22
+overrunMarshalVersion=0.1.0-alpha.21-jdk22
overrunPlatformVersion=1.0.0
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 1af9e093..a80b22ce 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
diff --git a/gradlew.bat b/gradlew.bat
index 93e3f59f..25da30db 100644
--- a/gradlew.bat
+++ b/gradlew.bat
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
+echo. 1>&2
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
+echo. 1>&2
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2
+echo location of your Java installation. 1>&2
goto fail
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
+echo. 1>&2
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
+echo. 1>&2
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2
+echo location of your Java installation. 1>&2
goto fail
diff --git a/modules/overrungl.core/src/main/java/overrungl/OverrunGL.java b/modules/overrungl.core/src/main/java/overrungl/OverrunGL.java
index 2f8ec868..59b60714 100644
--- a/modules/overrungl.core/src/main/java/overrungl/OverrunGL.java
+++ b/modules/overrungl.core/src/main/java/overrungl/OverrunGL.java
@@ -41,7 +41,7 @@ public final class OverrunGL {
/**
* The version of STB native libraries.
*/
- public static final String STB_VERSION = "0.1.0.2";
+ public static final String STB_VERSION = "0.1.0.3";
private static final Consumer DEFAULT_LOGGER = System.err::println;
private static Consumer apiLogger = DEFAULT_LOGGER;
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFW.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFW.java
index ca63a8bf..6bfbf956 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFW.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFW.java
@@ -17,6 +17,7 @@
package overrungl.glfw;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -40,7 +41,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface GLFW {
+public interface GLFW extends DirectAccess {
/**
* The instance of GLFW.
*/
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCharFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCharFun.java
index 5b15487b..7bb43101 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCharFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCharFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for Unicode character callbacks.
@@ -37,7 +39,7 @@ public interface GLFWCharFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
/**
* The function pointer type for Unicode character callbacks.
@@ -45,7 +47,6 @@ public interface GLFWCharFun extends Upcall {
* @param window The window that received the event.
* @param codepoint The Unicode code point of the character.
*/
- @Stub
void invoke(MemorySegment window, int codepoint);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCursorEnterFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCursorEnterFun.java
index 169e6bce..2ddad45a 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCursorEnterFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCursorEnterFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for cursor enter/leave callbacks.
@@ -37,7 +39,7 @@ public interface GLFWCursorEnterFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
/**
* The function pointer type for cursor enter/leave callbacks.
@@ -55,7 +57,6 @@ public interface GLFWCursorEnterFun extends Upcall {
* @param entered {@code true} if the cursor entered the window's content
* area, or {@code false} if it left it.
*/
- @Stub
default void ninvoke(MemorySegment window, int entered) {
invoke(window, entered != GLFW.FALSE);
}
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCursorPosFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCursorPosFun.java
index d8bba273..37ba2fdf 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCursorPosFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWCursorPosFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for cursor position callbacks. A cursor
@@ -37,7 +39,7 @@ public interface GLFWCursorPosFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_DOUBLE, ValueLayout.JAVA_DOUBLE));
/**
* The function pointer type for cursor position callbacks.
@@ -46,7 +48,6 @@ public interface GLFWCursorPosFun extends Upcall {
* @param xpos The new cursor x-coordinate, relative to the left edge of the content area.
* @param ypos The new cursor y-coordinate, relative to the top edge of the content area.
*/
- @Stub
void invoke(MemorySegment window, double xpos, double ypos);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWDropFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWDropFun.java
index 79a742c8..d19d6c9a 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWDropFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWDropFun.java
@@ -20,6 +20,7 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
import java.lang.foreign.ValueLayout;
@@ -41,7 +42,7 @@ public interface GLFWDropFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.ADDRESS));
/**
* The function pointer type for path drop callbacks.
@@ -58,7 +59,6 @@ public interface GLFWDropFun extends Upcall {
* @param pathCount The number of dropped paths.
* @param paths The UTF-8 encoded file and/or directory path names.
*/
- @Stub
default void ninvoke(MemorySegment window, int pathCount, MemorySegment paths) {
invoke(window, Unmarshal.unmarshalAsStringArray(paths.reinterpret(ValueLayout.ADDRESS.scale(0L, pathCount))));
}
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWErrorFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWErrorFun.java
index a8751f40..e691b158 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWErrorFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWErrorFun.java
@@ -18,12 +18,15 @@
import overrun.marshal.Unmarshal;
import overrun.marshal.Upcall;
-import overrun.marshal.gen.SizedSeg;
import overrungl.NativeType;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
+import java.lang.foreign.MemoryLayout;
import java.lang.foreign.MemorySegment;
+import static java.lang.foreign.ValueLayout.*;
+
/**
* This is the function pointer type for error callbacks. An error callback
* function has the following signature:
@@ -43,7 +46,7 @@ public interface GLFWErrorFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(JAVA_INT, ADDRESS.withTargetLayout(MemoryLayout.sequenceLayout(Unmarshal.STR_SIZE, JAVA_BYTE))));
/**
* The function pointer type for error callbacks.
@@ -60,8 +63,7 @@ public interface GLFWErrorFun extends Upcall {
* Future releases may add more error codes.
* @param description A UTF-8 encoded string describing the error.
*/
- @Stub
- default void ninvoke(int errorCode, @NativeType("const char*") @SizedSeg(Unmarshal.STR_SIZE) MemorySegment description) {
+ default void ninvoke(int errorCode, @NativeType("const char*") MemorySegment description) {
invoke(errorCode, Unmarshal.unmarshalAsString(description));
}
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWFramebufferSizeFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWFramebufferSizeFun.java
index 2dffce53..cd567067 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWFramebufferSizeFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWFramebufferSizeFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for framebuffer size callbacks.
@@ -37,7 +39,7 @@ public interface GLFWFramebufferSizeFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT));
/**
* The function pointer type for framebuffer size callbacks.
@@ -46,7 +48,6 @@ public interface GLFWFramebufferSizeFun extends Upcall {
* @param width The new width, in pixels, of the framebuffer.
* @param height The new height, in pixels, of the framebuffer.
*/
- @Stub
void invoke(MemorySegment window, int width, int height);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWGamepadState.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWGamepadState.java
index a7133d8b..44e4f10c 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWGamepadState.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWGamepadState.java
@@ -45,12 +45,12 @@ public final class GLFWGamepadState extends Struct {
* The states of each gamepad button,
* {@link GLFW#PRESS} or {@link GLFW#RELEASE}.
*/
- public final StructHandleSizedByteArray buttons = StructHandleSizedByteArray.of(this, "buttons");
+ public static final StructHandleSizedByteArray buttons = StructHandleSizedByteArray.of(LAYOUT, "buttons");
/**
* The states of each gamepad axis,
* in the range -1.0 to 1.0 inclusive.
*/
- public final StructHandleSizedFloatArray axes = StructHandleSizedFloatArray.of(this, "axes");
+ public static final StructHandleSizedFloatArray axes = StructHandleSizedFloatArray.of(LAYOUT, "axes");
/**
* Creates a struct with the given layout.
@@ -97,7 +97,7 @@ public GLFWGamepadState(SegmentAllocator allocator) {
* @return the state, {@code PRESS} or {@code RELEASE}
*/
public boolean button(int index) {
- return buttons.get(index) == GLFW.PRESS;
+ return buttons.get(this, index) == GLFW.PRESS;
}
/**
@@ -107,6 +107,6 @@ public boolean button(int index) {
* @return the state, in the range -1.0 to 1.0 inclusive
*/
public float axe(int index) {
- return axes.get(index);
+ return axes.get(this, index);
}
}
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWGammaRamp.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWGammaRamp.java
index 85d8aae2..ec904d4d 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWGammaRamp.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWGammaRamp.java
@@ -55,19 +55,19 @@ public final class GLFWGammaRamp extends Struct {
/**
* An array of value describing the response of the red channel.
*/
- public final StructHandle.Array red = StructHandle.ofArray(this, "red", Marshal::marshal, Unmarshal::unmarshalAsShortArray);
+ public static final StructHandle.Array red = StructHandle.ofArray(LAYOUT, "red", Marshal::marshal, Unmarshal::unmarshalAsShortArray);
/**
* An array of value describing the response of the green channel.
*/
- public final StructHandle.Array green = StructHandle.ofArray(this, "green", Marshal::marshal, Unmarshal::unmarshalAsShortArray);
+ public static final StructHandle.Array green = StructHandle.ofArray(LAYOUT, "green", Marshal::marshal, Unmarshal::unmarshalAsShortArray);
/**
* An array of value describing the response of the blue channel.
*/
- public final StructHandle.Array blue = StructHandle.ofArray(this, "blue", Marshal::marshal, Unmarshal::unmarshalAsShortArray);
+ public static final StructHandle.Array blue = StructHandle.ofArray(LAYOUT, "blue", Marshal::marshal, Unmarshal::unmarshalAsShortArray);
/**
* The number of elements in each array.
*/
- public final StructHandle.Int size = StructHandle.ofInt(this, "size");
+ public static final StructHandle.Int size = StructHandle.ofInt(LAYOUT, "size");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWImage.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWImage.java
index b9136a8f..09736d0a 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWImage.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWImage.java
@@ -47,15 +47,15 @@ public final class GLFWImage extends Struct {
/**
* The width, in pixels, of this image.
*/
- public final StructHandle.Int width = StructHandle.ofInt(this, "width");
+ public static final StructHandle.Int width = StructHandle.ofInt(LAYOUT, "width");
/**
* The height, in pixels, of this image.
*/
- public final StructHandle.Int height = StructHandle.ofInt(this, "height");
+ public static final StructHandle.Int height = StructHandle.ofInt(LAYOUT, "height");
/**
* The pixel data address of this image, arranged left-to-right, top-to-bottom.
*/
- public final StructHandle.Address pixels = StructHandle.ofAddress(this, "pixels");
+ public static final StructHandle.Address pixels = StructHandle.ofAddress(LAYOUT, "pixels");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWJoystickFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWJoystickFun.java
index fdfc0b20..c447e5b4 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWJoystickFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWJoystickFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for joystick configuration callbacks.
@@ -37,7 +39,7 @@ public interface GLFWJoystickFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.JAVA_INT, ValueLayout.JAVA_INT));
/**
* The function pointer type for joystick configuration callbacks.
@@ -46,7 +48,6 @@ public interface GLFWJoystickFun extends Upcall {
* @param event One of {@code CONNECTED} or {@code DISCONNECTED}. Future
* releases may add more events.
*/
- @Stub
void invoke(int jid, int event);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWKeyFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWKeyFun.java
index bd87b937..837b8ef0 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWKeyFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWKeyFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for keyboard key callbacks. A keyboard
@@ -37,7 +39,7 @@ public interface GLFWKeyFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT));
/**
* The function pointer type for keyboard key callbacks.
@@ -50,7 +52,6 @@ public interface GLFWKeyFun extends Upcall {
* @param mods Bit field describing which modifier keys
* were held down.
*/
- @Stub
void invoke(MemorySegment window, int key, int scancode, int action, int mods);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWMonitorFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWMonitorFun.java
index d8e36873..3ad5f3e2 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWMonitorFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWMonitorFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for monitor configuration callbacks.
@@ -37,7 +39,7 @@ public interface GLFWMonitorFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
/**
* The function pointer type for monitor configuration callbacks.
@@ -46,7 +48,6 @@ public interface GLFWMonitorFun extends Upcall {
* @param event One of {@code CONNECTED} or {@code DISCONNECTED}. Future
* releases may add more events.
*/
- @Stub
void invoke(MemorySegment monitor, int event);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWMouseButtonFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWMouseButtonFun.java
index 970d5a83..17ebaba9 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWMouseButtonFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWMouseButtonFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for mouse button callback functions.
@@ -37,7 +39,7 @@ public interface GLFWMouseButtonFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT));
/**
* The function pointer type for mouse button callbacks.
@@ -47,7 +49,6 @@ public interface GLFWMouseButtonFun extends Upcall {
* @param action One of {@code PRESS} or {@code RELEASE}. Future releases may add more actions.
* @param mods Bit field describing which modifier keys were held down.
*/
- @Stub
void invoke(MemorySegment window, int button, int action, int mods);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWNative.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWNative.java
index 006fd944..ba57c945 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWNative.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWNative.java
@@ -17,6 +17,7 @@
package overrungl.glfw;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Convert;
import overrun.marshal.gen.Entrypoint;
@@ -36,7 +37,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface GLFWNative {
+public interface GLFWNative extends DirectAccess {
/**
* The instance of GLFWNative.
*/
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWScrollFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWScrollFun.java
index ee483d7e..36fc48d4 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWScrollFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWScrollFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for scroll callbacks. A scroll callback
@@ -37,7 +39,7 @@ public interface GLFWScrollFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_DOUBLE, ValueLayout.JAVA_DOUBLE));
/**
* The function pointer type for scroll callbacks.
@@ -46,7 +48,6 @@ public interface GLFWScrollFun extends Upcall {
* @param xoffset The scroll offset along the x-axis.
* @param yoffset The scroll offset along the y-axis.
*/
- @Stub
void invoke(MemorySegment window, double xoffset, double yoffset);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWVidMode.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWVidMode.java
index 3f341976..3efec5fe 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWVidMode.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWVidMode.java
@@ -54,27 +54,27 @@ public final class GLFWVidMode extends Struct {
/**
* the width, in screen coordinates, of the video mode
*/
- public final StructHandle.Int width = StructHandle.ofInt(this, "width");
+ public static final StructHandle.Int width = StructHandle.ofInt(LAYOUT, "width");
/**
* the height, in screen coordinates, of the video mode
*/
- public final StructHandle.Int height = StructHandle.ofInt(this, "height");
+ public static final StructHandle.Int height = StructHandle.ofInt(LAYOUT, "height");
/**
* the bit depth of the red channel of the video mode
*/
- public final StructHandle.Int redBits = StructHandle.ofInt(this, "redBits");
+ public static final StructHandle.Int redBits = StructHandle.ofInt(LAYOUT, "redBits");
/**
* the bit depth of the green channel of the video mode
*/
- public final StructHandle.Int greenBits = StructHandle.ofInt(this, "greenBits");
+ public static final StructHandle.Int greenBits = StructHandle.ofInt(LAYOUT, "greenBits");
/**
* the bit depth of the blue channel of the video mode
*/
- public final StructHandle.Int blueBits = StructHandle.ofInt(this, "blueBits");
+ public static final StructHandle.Int blueBits = StructHandle.ofInt(LAYOUT, "blueBits");
/**
* the refresh rate, in Hz, of the video mode
*/
- public final StructHandle.Int refreshRate = StructHandle.ofInt(this, "refreshRate");
+ public static final StructHandle.Int refreshRate = StructHandle.ofInt(LAYOUT, "refreshRate");
/**
* Creates a struct with the given layout.
@@ -118,7 +118,12 @@ public GLFWVidMode(SegmentAllocator allocator) {
* {@return an immutable state of this struct}
*/
public Value value() {
- return new Value(width.get(), height.get(), redBits.get(), greenBits.get(), blueBits.get(), refreshRate.get());
+ return new Value(width.get(this),
+ height.get(this),
+ redBits.get(this),
+ greenBits.get(this),
+ blueBits.get(this),
+ refreshRate.get(this));
}
/**
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWVulkan.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWVulkan.java
index b7d2ad59..b2444a8f 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWVulkan.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWVulkan.java
@@ -16,6 +16,7 @@
package overrungl.glfw;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Convert;
import overrun.marshal.gen.Entrypoint;
@@ -31,7 +32,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface GLFWVulkan {
+public interface GLFWVulkan extends DirectAccess {
/**
* The instance of GLFWVulkan.
*/
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowCloseFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowCloseFun.java
index 128d295c..4ec98408 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowCloseFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowCloseFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for window close callbacks. A window
@@ -37,14 +39,13 @@ public interface GLFWWindowCloseFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS));
/**
* The function pointer type for window close callbacks.
*
* @param window The window that the user attempted to close.
*/
- @Stub
void invoke(MemorySegment window);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowContentScaleFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowContentScaleFun.java
index b82ca1a3..dd5256de 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowContentScaleFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowContentScaleFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for window content scale callbacks.
@@ -37,7 +39,7 @@ public interface GLFWWindowContentScaleFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_FLOAT, ValueLayout.JAVA_FLOAT));
/**
* The function pointer type for window content scale callbacks.
@@ -46,7 +48,6 @@ public interface GLFWWindowContentScaleFun extends Upcall {
* @param xscale The new x-axis content scale of the window.
* @param yscale The new y-axis content scale of the window.
*/
- @Stub
void invoke(MemorySegment window, float xscale, float yscale);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowFocusFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowFocusFun.java
index be237d00..bdbf30f9 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowFocusFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowFocusFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for window focus callbacks. A window
@@ -37,7 +39,7 @@ public interface GLFWWindowFocusFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
/**
* The function pointer type for window focus callbacks.
@@ -55,7 +57,6 @@ public interface GLFWWindowFocusFun extends Upcall {
* @param focused {@code true} if the window was given input focus, or
* {@code false} if it lost it.
*/
- @Stub
default void ninvoke(MemorySegment window, int focused) {
invoke(window, focused != GLFW.FALSE);
}
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowIconifyFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowIconifyFun.java
index 34837046..6884656f 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowIconifyFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowIconifyFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for window iconify callbacks. A window
@@ -37,7 +39,7 @@ public interface GLFWWindowIconifyFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
/**
* The function pointer type for window iconify callbacks.
@@ -55,7 +57,6 @@ public interface GLFWWindowIconifyFun extends Upcall {
* @param iconified {@code true} if the window was iconified, or
* {@code false} if it was restored.
*/
- @Stub
default void ninvoke(MemorySegment window, int iconified) {
invoke(window, iconified != GLFW.FALSE);
}
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowMaximizeFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowMaximizeFun.java
index 2d7f5b40..82f74f21 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowMaximizeFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowMaximizeFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for window maximize callbacks. A window
@@ -37,7 +39,7 @@ public interface GLFWWindowMaximizeFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
/**
* The function pointer type for window maximize callbacks.
@@ -55,7 +57,6 @@ public interface GLFWWindowMaximizeFun extends Upcall {
* @param maximized {@code true} if the window was maximized, or
* {@code false} if it was restored.
*/
- @Stub
default void ninvoke(MemorySegment window, int maximized) {
invoke(window, maximized != GLFW.FALSE);
}
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowPosFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowPosFun.java
index 2d6c82c9..5d44b2f5 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowPosFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowPosFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for window position callbacks.
@@ -37,7 +39,7 @@ public interface GLFWWindowPosFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT));
/**
* The function pointer type for window position callbacks.
@@ -48,7 +50,6 @@ public interface GLFWWindowPosFun extends Upcall {
* @param ypos The new y-coordinate, in screen coordinates, of the
* upper-left corner of the content area of the window.
*/
- @Stub
void invoke(MemorySegment window, int xpos, int ypos);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowRefreshFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowRefreshFun.java
index f4c3776f..d6a498df 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowRefreshFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowRefreshFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for window content refresh callbacks.
@@ -37,14 +39,13 @@ public interface GLFWWindowRefreshFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS));
/**
* The function pointer type for window content refresh callbacks.
*
* @param window The window whose content needs to be refreshed.
*/
- @Stub
void invoke(MemorySegment window);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowSizeFun.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowSizeFun.java
index 05b88a99..96bbf0e7 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowSizeFun.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/GLFWWindowSizeFun.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* This is the function pointer type for window size callbacks. A window size
@@ -37,7 +39,7 @@ public interface GLFWWindowSizeFun extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT));
/**
* The function pointer type for window size callbacks.
@@ -46,7 +48,6 @@ public interface GLFWWindowSizeFun extends Upcall {
* @param width The new width, in screen coordinates, of the window.
* @param height The new height, in screen coordinates, of the window.
*/
- @Stub
void invoke(MemorySegment window, int width, int height);
@Override
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/StructHandleSizedByteArray.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/StructHandleSizedByteArray.java
index 96eef129..e4a2af8d 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/StructHandleSizedByteArray.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/StructHandleSizedByteArray.java
@@ -16,9 +16,11 @@
package overrungl.glfw;
+import overrun.marshal.Marshal;
import overrun.marshal.struct.Struct;
import overrun.marshal.struct.StructHandle;
+import java.lang.foreign.StructLayout;
import java.lang.invoke.VarHandle;
/**
@@ -39,49 +41,53 @@ private StructHandleSizedByteArray(VarHandle varHandle) {
* @param name name
* @return handle
*/
- static StructHandleSizedByteArray of(Struct struct, String name) {
+ static StructHandleSizedByteArray of(StructLayout struct, String name) {
return new StructHandleSizedByteArray(StructHandle.ofSizedArray(struct, name));
}
/**
* Sets the value at the given index.
*
+ * @param struct the struct
* @param index the index
* @param arrayIndex the array index
* @param value the value
*/
- public void set(long index, long arrayIndex, byte value) {
- varHandle.set(0L, index, arrayIndex, value);
+ public void set(Struct struct, long index, long arrayIndex, byte value) {
+ varHandle.set(Marshal.marshal(struct), 0L, index, arrayIndex, value);
}
/**
* Sets the value.
*
+ * @param struct the struct
* @param arrayIndex the array index
* @param value the value
*/
- public void set(long arrayIndex, byte value) {
- set(0L, arrayIndex, value);
+ public void set(Struct struct, long arrayIndex, byte value) {
+ set(struct, 0L, arrayIndex, value);
}
/**
* Gets the value at the given index.
*
+ * @param struct the struct
* @param index the index
* @param arrayIndex the array index
* @return the value
*/
- public byte get(long index, long arrayIndex) {
- return (byte) varHandle.get(0L, index, arrayIndex);
+ public byte get(Struct struct, long index, long arrayIndex) {
+ return (byte) varHandle.get(Marshal.marshal(struct), 0L, index, arrayIndex);
}
/**
* Gets the value.
*
+ * @param struct the struct
* @param arrayIndex the array index
* @return the value
*/
- public byte get(long arrayIndex) {
- return get(0L, arrayIndex);
+ public byte get(Struct struct, long arrayIndex) {
+ return get(struct, 0L, arrayIndex);
}
}
diff --git a/modules/overrungl.glfw/src/main/java/overrungl/glfw/StructHandleSizedFloatArray.java b/modules/overrungl.glfw/src/main/java/overrungl/glfw/StructHandleSizedFloatArray.java
index 9424cdcc..0c5aa91f 100644
--- a/modules/overrungl.glfw/src/main/java/overrungl/glfw/StructHandleSizedFloatArray.java
+++ b/modules/overrungl.glfw/src/main/java/overrungl/glfw/StructHandleSizedFloatArray.java
@@ -16,9 +16,11 @@
package overrungl.glfw;
+import overrun.marshal.Marshal;
import overrun.marshal.struct.Struct;
import overrun.marshal.struct.StructHandle;
+import java.lang.foreign.StructLayout;
import java.lang.invoke.VarHandle;
/**
@@ -39,49 +41,53 @@ private StructHandleSizedFloatArray(VarHandle varHandle) {
* @param name name
* @return handle
*/
- static StructHandleSizedFloatArray of(Struct struct, String name) {
+ static StructHandleSizedFloatArray of(StructLayout struct, String name) {
return new StructHandleSizedFloatArray(StructHandle.ofSizedArray(struct, name));
}
/**
* Sets the value at the given index.
*
- * @param index the index
+ * @param struct the struct
+ * @param index the index
* @param arrayIndex the array index
- * @param value the value
+ * @param value the value
*/
- public void set(long index, long arrayIndex, float value) {
- varHandle.set(0L, index, arrayIndex, value);
+ public void set(Struct struct, long index, long arrayIndex, float value) {
+ varHandle.set(Marshal.marshal(struct), 0L, index, arrayIndex, value);
}
/**
* Sets the value.
*
+ * @param struct the struct
* @param arrayIndex the array index
- * @param value the value
+ * @param value the value
*/
- public void set(long arrayIndex, float value) {
- set(0L, arrayIndex, value);
+ public void set(Struct struct, long arrayIndex, float value) {
+ set(struct, 0L, arrayIndex, value);
}
/**
* Gets the value at the given index.
*
- * @param index the index
+ * @param struct the struct
+ * @param index the index
* @param arrayIndex the array index
* @return the value
*/
- public float get(long index, long arrayIndex) {
- return (short) varHandle.get(0L, index, arrayIndex);
+ public float get(Struct struct, long index, long arrayIndex) {
+ return (short) varHandle.get(Marshal.marshal(struct), 0L, index, arrayIndex);
}
/**
* Gets the value.
*
+ * @param struct the struct
* @param arrayIndex the array index
* @return the value
*/
- public float get(long arrayIndex) {
- return get(0L, arrayIndex);
+ public float get(Struct struct, long arrayIndex) {
+ return get(struct, 0L, arrayIndex);
}
}
diff --git a/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFD.java b/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFD.java
index fd651642..52bd75ef 100644
--- a/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFD.java
+++ b/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFD.java
@@ -16,10 +16,7 @@
package overrungl.nfd;
-import overrun.marshal.Downcall;
-import overrun.marshal.Marshal;
-import overrun.marshal.MemoryStack;
-import overrun.marshal.Unmarshal;
+import overrun.marshal.*;
import overrun.marshal.gen.Entrypoint;
import overrun.marshal.gen.SizedSeg;
import overrun.marshal.gen.Skip;
@@ -124,7 +121,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface NFD {
+public interface NFD extends DirectAccess {
/**
* The type of the path-set size ({@code long} for Windows and Mac OS X, {@code int} for others).
*/
@@ -132,7 +129,7 @@ public interface NFD {
/**
* The instance of NFD.
*/
- NFD INSTANCE = Downcall.load(MethodHandles.lookup(), NFDInternal.LOOKUP, Map.of(
+ NFD INSTANCE = Downcall.load(MethodHandles.lookup(), NFDInternal.LOOKUP, DowncallOption.descriptors(Map.of(
"NFD_PathSet_GetPathN", FunctionDescriptor.of(JAVA_INT, ADDRESS, PATH_SET_SIZE, ADDRESS),
"NFD_PathSet_FreePathN", FunctionDescriptor.ofVoid(ADDRESS),
"NFD_FreePathU8", FunctionDescriptor.ofVoid(ADDRESS),
@@ -142,7 +139,7 @@ public interface NFD {
"NFD_PickFolderU8", FunctionDescriptor.of(JAVA_INT, ADDRESS, ADDRESS),
"NFD_PathSet_GetPathU8", FunctionDescriptor.of(JAVA_INT, ADDRESS, PATH_SET_SIZE, ADDRESS),
"NFD_PathSet_EnumNextU8", FunctionDescriptor.of(JAVA_INT, ADDRESS, ADDRESS)
- ));
+ )));
/**
* {@return NFD_PathSet_GetPathN}
diff --git a/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFDNFilterItem.java b/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFDNFilterItem.java
index 5856d329..48b31500 100644
--- a/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFDNFilterItem.java
+++ b/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFDNFilterItem.java
@@ -42,16 +42,16 @@ public final class NFDNFilterItem extends Struct {
ValueLayout.ADDRESS.withName("name"),
ValueLayout.ADDRESS.withName("spec")
);
- private final StructHandle.Str _name = StructHandle.ofString(this, "name", NFDInternal.nfdCharset);
- private final StructHandle.Str _spec = StructHandle.ofString(this, "spec", NFDInternal.nfdCharset);
+ private static final StructHandle.Str _name = StructHandle.ofString(LAYOUT, "name", NFDInternal.nfdCharset);
+ private static final StructHandle.Str _spec = StructHandle.ofString(LAYOUT, "spec", NFDInternal.nfdCharset);
/**
* name
*/
- public final StructHandleView.Str name = _name;
+ public static final StructHandleView.Str name = _name;
/**
* spec
*/
- public final StructHandleView.Str spec = _spec;
+ public static final StructHandleView.Str spec = _spec;
/**
* Create a {@code NFDNFilterItem} instance.
@@ -82,8 +82,8 @@ public NFDNFilterItem(MemorySegment segment, long elementCount) {
*/
public static NFDNFilterItem create(SegmentAllocator allocator, String name, String spec) {
final NFDNFilterItem item = new NFDNFilterItem(allocator.allocate(LAYOUT));
- item._name.set(allocator, name);
- item._spec.set(allocator, spec);
+ _name.set(item, allocator, name);
+ _spec.set(item, allocator, spec);
return item;
}
@@ -99,8 +99,8 @@ public static NFDNFilterItem create(SegmentAllocator allocator, Pair...
final NFDNFilterItem buffer = new NFDNFilterItem(allocator.allocate(LAYOUT, items.length), items.length);
for (int i = 0, len = items.length; i < len; i++) {
Pair item = items[i];
- buffer._name.set(i, allocator, item.key());
- buffer._spec.set(i, allocator, item.value());
+ _name.set(buffer, i, allocator, item.key());
+ _spec.set(buffer, i, allocator, item.value());
}
return buffer;
}
diff --git a/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFDU8FilterItem.java b/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFDU8FilterItem.java
index 81a2e229..9398729e 100644
--- a/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFDU8FilterItem.java
+++ b/modules/overrungl.nfd/src/main/java/overrungl/nfd/NFDU8FilterItem.java
@@ -42,16 +42,16 @@ public final class NFDU8FilterItem extends Struct {
ValueLayout.ADDRESS.withName("name"),
ValueLayout.ADDRESS.withName("spec")
);
- private final StructHandle.Str _name = StructHandle.ofString(this, "name");
- private final StructHandle.Str _spec = StructHandle.ofString(this, "spec");
+ private static final StructHandle.Str _name = StructHandle.ofString(LAYOUT, "name");
+ private static final StructHandle.Str _spec = StructHandle.ofString(LAYOUT, "spec");
/**
* name
*/
- public final StructHandleView.Str name = _name;
+ public static final StructHandleView.Str name = _name;
/**
* spec
*/
- public final StructHandleView.Str spec = _spec;
+ public static final StructHandleView.Str spec = _spec;
/**
* Create a {@code NFDU8FilterItem} instance.
@@ -82,8 +82,8 @@ public NFDU8FilterItem(MemorySegment segment, long elementCount) {
*/
public static NFDU8FilterItem create(SegmentAllocator allocator, String name, String spec) {
final NFDU8FilterItem item = new NFDU8FilterItem(allocator.allocate(LAYOUT));
- item._name.set(allocator, name);
- item._spec.set(allocator, spec);
+ _name.set(item, allocator, name);
+ _spec.set(item, allocator, spec);
return item;
}
@@ -99,8 +99,8 @@ public static NFDU8FilterItem create(SegmentAllocator allocator, Pair...
final NFDU8FilterItem buffer = new NFDU8FilterItem(allocator.allocate(LAYOUT, items.length), items.length);
for (int i = 0, len = items.length; i < len; i++) {
Pair item = items[i];
- buffer._name.set(i, allocator, item.key());
- buffer._spec.set(i, allocator, item.value());
+ _name.set(buffer, i, allocator, item.key());
+ _spec.set(buffer, i, allocator, item.value());
}
return buffer;
}
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/DrawArraysIndirectCommand.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/DrawArraysIndirectCommand.java
index a86f77c9..b7e5f3ed 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/DrawArraysIndirectCommand.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/DrawArraysIndirectCommand.java
@@ -48,19 +48,19 @@ public final class DrawArraysIndirectCommand extends Struct {
/**
* the count
*/
- public final StructHandle.Int count = StructHandle.ofInt(this, "count");
+ public static final StructHandle.Int count = StructHandle.ofInt(LAYOUT, "count");
/**
* the primCount
*/
- public final StructHandle.Int primCount = StructHandle.ofInt(this, "primCount");
+ public static final StructHandle.Int primCount = StructHandle.ofInt(LAYOUT, "primCount");
/**
* the first
*/
- public final StructHandle.Int first = StructHandle.ofInt(this, "first");
+ public static final StructHandle.Int first = StructHandle.ofInt(LAYOUT, "first");
/**
* the baseInstance
*/
- public final StructHandle.Int baseInstance = StructHandle.ofInt(this, "baseInstance");
+ public static final StructHandle.Int baseInstance = StructHandle.ofInt(LAYOUT, "baseInstance");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/DrawElementsIndirectCommand.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/DrawElementsIndirectCommand.java
index ec08d704..97f6436a 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/DrawElementsIndirectCommand.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/DrawElementsIndirectCommand.java
@@ -50,23 +50,23 @@ public final class DrawElementsIndirectCommand extends Struct {
/**
* the count
*/
- public final StructHandle.Int count = StructHandle.ofInt(this, "count");
+ public static final StructHandle.Int count = StructHandle.ofInt(LAYOUT, "count");
/**
* the primCount
*/
- public final StructHandle.Int primCount = StructHandle.ofInt(this, "primCount");
+ public static final StructHandle.Int primCount = StructHandle.ofInt(LAYOUT, "primCount");
/**
* the firstIndex
*/
- public final StructHandle.Int firstIndex = StructHandle.ofInt(this, "firstIndex");
+ public static final StructHandle.Int firstIndex = StructHandle.ofInt(LAYOUT, "firstIndex");
/**
* the baseVertex
*/
- public final StructHandle.Int baseVertex = StructHandle.ofInt(this, "baseVertex");
+ public static final StructHandle.Int baseVertex = StructHandle.ofInt(LAYOUT, "baseVertex");
/**
* the baseInstance
*/
- public final StructHandle.Int baseInstance = StructHandle.ofInt(this, "baseInstance");
+ public static final StructHandle.Int baseInstance = StructHandle.ofInt(LAYOUT, "baseInstance");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL.java
index 716fc27f..6f8ac402 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL.java
@@ -16,11 +16,18 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
+
/**
* The latest OpenGL functions.
*
* @author squid233
* @since 0.1.0
*/
-public non-sealed interface GL extends GL46C {
+public interface GL extends
+ DirectAccess,
+ GL10C, GL11C, GL12C, GL13C, GL14C, GL15C,
+ GL20C, GL21C,
+ GL30C, GL31C, GL32C, GL33C,
+ GL40C, GL41C, GL42C, GL43C, GL44C, GL45C, GL46C {
}
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL10.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL10.java
index ff72c7d6..de5d92c1 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL10.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL10.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -34,7 +35,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL10 extends GL10C permits GLLegacy {
+public interface GL10 extends DirectAccess {
@Entrypoint("glAccum")
default void accum(int op, float value) {
throw new ContextException();
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL10C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL10C.java
index 4e3245f8..f63c78f5 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL10C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL10C.java
@@ -17,6 +17,7 @@
package overrungl.opengl;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
import overrun.marshal.gen.Entrypoint;
@@ -35,7 +36,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL10C permits GL10, GL11C {
+public interface GL10C extends DirectAccess {
int DEPTH_BUFFER_BIT = 0x00000100;
int STENCIL_BUFFER_BIT = 0x00000400;
int COLOR_BUFFER_BIT = 0x00004000;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL11.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL11.java
index d4638d95..e7499197 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL11.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL11.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.Unmarshal;
import overrun.marshal.gen.Entrypoint;
@@ -31,7 +32,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL11 extends GL11C permits GLLegacy {
+public interface GL11 extends DirectAccess {
int CURRENT_BIT = 0x00000001,
POINT_BIT = 0x00000002,
LINE_BIT = 0x00000004,
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL11C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL11C.java
index edbc0a3b..a01d444c 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL11C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL11C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -33,7 +34,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL11C extends GL10C permits GL11, GL12C {
+public interface GL11C extends DirectAccess {
int COLOR_LOGIC_OP = 0x0BF2;
int POLYGON_OFFSET_UNITS = 0x2A00;
int POLYGON_OFFSET_POINT = 0x2A01;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL12.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL12.java
index fe1e25a6..d5ea0fa5 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL12.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL12.java
@@ -16,13 +16,15 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
+
/**
* The OpenGL 1.2 constants.
*
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL12 extends GL12C permits GLLegacy {
+public interface GL12 extends DirectAccess {
int RESCALE_NORMAL = 0x803A;
int LIGHT_MODEL_COLOR_CONTROL = 0x81F8,
SINGLE_COLOR = 0x81F9,
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL12C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL12C.java
index ea487872..5bc8beed 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL12C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL12C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.gen.Entrypoint;
import java.lang.foreign.MemorySegment;
@@ -27,7 +28,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL12C extends GL11C permits GL12, GL13C {
+public interface GL12C extends DirectAccess {
int UNSIGNED_BYTE_3_3_2 = 0x8032;
int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL13.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL13.java
index aba8a7eb..a9ca561e 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL13.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL13.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.gen.Entrypoint;
import overrungl.opengl.ext.arb.GLARBTransposeMatrix;
@@ -33,7 +34,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL13 extends GL13C permits GLLegacy {
+public interface GL13 extends DirectAccess {
int CLIENT_ACTIVE_TEXTURE = 0x84E1;
int MAX_TEXTURE_UNITS = 0x84E2;
int TRANSPOSE_MODELVIEW_MATRIX = 0x84E3;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL13C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL13C.java
index 74bd264a..1d754e74 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL13C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL13C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.gen.Entrypoint;
import overrungl.opengl.ext.arb.*;
@@ -36,7 +37,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL13C extends GL12C permits GL13, GL14C {
+public interface GL13C extends DirectAccess {
int TEXTURE0 = 0x84C0;
int TEXTURE1 = 0x84C1;
int TEXTURE2 = 0x84C2;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL14.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL14.java
index e6b67b5e..2386bc48 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL14.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL14.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.gen.Entrypoint;
import overrungl.opengl.ext.arb.GLARBWindowPos;
@@ -33,7 +34,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL14 extends GL14C permits GLLegacy {
+public interface GL14 extends DirectAccess {
@Entrypoint("glFogCoordPointer")
default void fogCoordPointer(int type, int stride, MemorySegment pointer) {
throw new ContextException();
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL14C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL14C.java
index 057e63fb..e9795ad9 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL14C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL14C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.gen.Entrypoint;
import overrun.marshal.gen.Skip;
@@ -42,7 +43,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL14C extends GL13C permits GL14, GL15C {
+public interface GL14C extends DirectAccess {
int BLEND_DST_RGB = 0x80C8;
int BLEND_SRC_RGB = 0x80C9;
int BLEND_DST_ALPHA = 0x80CA;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL15.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL15.java
index 5c84f272..e9786e1d 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL15.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL15.java
@@ -16,13 +16,15 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
+
/**
* The OpenGL 1.5 constants.
*
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL15 extends GL15C permits GLLegacy {
+public interface GL15 extends DirectAccess {
int VERTEX_ARRAY_BUFFER_BINDING = 0x8896;
int NORMAL_ARRAY_BUFFER_BINDING = 0x8897;
int COLOR_ARRAY_BUFFER_BINDING = 0x8898;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL15C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL15C.java
index af019620..b1e76d17 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL15C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL15C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -42,7 +43,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL15C extends GL14C permits GL15, GL20C {
+public interface GL15C extends DirectAccess {
int BUFFER_SIZE = 0x8764;
int BUFFER_USAGE = 0x8765;
int QUERY_COUNTER_BITS = 0x8864;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL20.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL20.java
index 2f225515..dc4394f9 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL20.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL20.java
@@ -16,13 +16,15 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
+
/**
* The OpenGL 2.0 constants.
*
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL20 extends GL20C permits GLLegacy {
+public interface GL20 extends DirectAccess {
int VERTEX_PROGRAM_TWO_SIDE = 0x8643;
int POINT_SPRITE = 0x8861;
int COORD_REPLACE = 0x8862;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL20C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL20C.java
index 9a31659d..93873157 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL20C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL20C.java
@@ -17,6 +17,7 @@
package overrungl.opengl;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -47,7 +48,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL20C extends GL15C permits GL20, GL21C {
+public interface GL20C extends DirectAccess {
int BLEND_EQUATION_RGB = 0x8009;
int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL21.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL21.java
index 563be0f6..4e2a3d8a 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL21.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL21.java
@@ -16,13 +16,15 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
+
/**
* The OpenGL 2.1 constants.
*
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL21 extends GL21C permits GLLegacy {
+public interface GL21 extends DirectAccess {
int CURRENT_RASTER_SECONDARY_COLOR = 0x845F;
int SLUMINANCE_ALPHA = 0x8C44;
int SLUMINANCE8_ALPHA8 = 0x8C45;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL21C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL21C.java
index f22c7f17..9e251b1a 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL21C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL21C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.gen.Entrypoint;
import overrun.marshal.gen.Skip;
import overrungl.opengl.ext.arb.GLARBPixelBufferObject;
@@ -34,7 +35,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL21C extends GL20C permits GL21, GL30C {
+public interface GL21C extends DirectAccess {
int PIXEL_PACK_BUFFER = 0x88EB;
int PIXEL_UNPACK_BUFFER = 0x88EC;
int PIXEL_PACK_BUFFER_BINDING = 0x88ED;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL30.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL30.java
index 03f83bab..206c60b9 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL30.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL30.java
@@ -16,13 +16,15 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
+
/**
* The OpenGL 3.0 constants.
*
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL30 extends GL30C permits GLLegacy {
+public interface GL30 extends DirectAccess {
int CLAMP_VERTEX_COLOR = 0x891A;
int CLAMP_FRAGMENT_COLOR = 0x891B;
int ALPHA_INTEGER = 0x8D97;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL30C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL30C.java
index 04c22a36..55bcd06e 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL30C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL30C.java
@@ -17,6 +17,7 @@
package overrungl.opengl;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -48,7 +49,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL30C extends GL21C permits GL30, GL31C {
+public interface GL30C extends DirectAccess {
int COMPARE_REF_TO_TEXTURE = 0x884E;
int CLIP_DISTANCE0 = 0x3000;
int CLIP_DISTANCE1 = 0x3001;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL31C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL31C.java
index 5de483c6..809f9ac8 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL31C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL31C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -41,7 +42,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL31C extends GL30C permits GL32C {
+public interface GL31C extends DirectAccess {
int SAMPLER_2D_RECT = 0x8B63;
int SAMPLER_2D_RECT_SHADOW = 0x8B64;
int SAMPLER_BUFFER = 0x8DC2;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL32C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL32C.java
index a25a7ac9..bfe44bef 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL32C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL32C.java
@@ -17,6 +17,7 @@
package overrungl.opengl;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -43,7 +44,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL32C extends GL31C permits GL33C {
+public interface GL32C extends DirectAccess {
int CONTEXT_CORE_PROFILE_BIT = 0x00000001;
int CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x00000002;
int LINES_ADJACENCY = 0x000A;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL33C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL33C.java
index 3d61f403..bba0e81e 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL33C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL33C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -44,7 +45,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL33C extends GL32C permits GL40C {
+public interface GL33C extends DirectAccess {
int VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE;
int SRC1_COLOR = 0x88F9;
int ONE_MINUS_SRC1_COLOR = 0x88FA;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL40C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL40C.java
index 8d71dddd..fed58cba 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL40C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL40C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -52,7 +53,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL40C extends GL33C permits GL41C {
+public interface GL40C extends DirectAccess {
int SAMPLE_SHADING = 0x8C36;
int MIN_SAMPLE_SHADING_VALUE = 0x8C37;
int MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL41C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL41C.java
index 8a1b8e06..8805c54b 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL41C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL41C.java
@@ -17,6 +17,7 @@
package overrungl.opengl;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -45,7 +46,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL41C extends GL40C permits GL42C {
+public interface GL41C extends DirectAccess {
int FIXED = 0x140C;
int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A;
int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B;
@@ -236,7 +237,7 @@ default void getProgramPipelineInfoLog(SegmentAllocator allocator, int pipeline,
@Skip
default String getProgramPipelineInfoLog(SegmentAllocator allocator, int pipeline) {
- final int sz = getProgramPipelineiv(pipeline, INFO_LOG_LENGTH);
+ final int sz = getProgramPipelineiv(pipeline, GL20C.INFO_LOG_LENGTH);
var pi = allocator.allocate(JAVA_BYTE, sz);
getProgramPipelineInfoLog(pipeline, sz, MemorySegment.NULL, pi);
return pi.getString(0);
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL42C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL42C.java
index 8111edce..133a58f6 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL42C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL42C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -45,7 +46,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL42C extends GL41C permits GL43C {
+public interface GL42C extends DirectAccess {
int COPY_READ_BUFFER_BINDING = 0x8F36;
int COPY_WRITE_BUFFER_BINDING = 0x8F37;
int TRANSFORM_FEEDBACK_ACTIVE = 0x8E24;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL43C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL43C.java
index 45028ca9..45676a81 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL43C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL43C.java
@@ -17,6 +17,7 @@
package overrungl.opengl;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -57,7 +58,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL43C extends GL42C permits GL44C {
+public interface GL43C extends DirectAccess {
int NUM_SHADING_LANGUAGE_VERSIONS = 0x82E9;
int VERTEX_ATTRIB_ARRAY_LONG = 0x874E;
int COMPRESSED_RGB8_ETC2 = 0x9274;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL44C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL44C.java
index b597e9c9..84058ceb 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL44C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL44C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.gen.Entrypoint;
import overrun.marshal.gen.Skip;
@@ -36,7 +37,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL44C extends GL43C permits GL45C {
+public interface GL44C extends DirectAccess {
int MAX_VERTEX_ATTRIB_STRIDE = 0x82E5;
int PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED = 0x8221;
int TEXTURE_BUFFER_BINDING = 0x8C2A;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL45C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL45C.java
index bb512591..c61ee4d3 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL45C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL45C.java
@@ -16,6 +16,7 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -47,7 +48,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL45C extends GL44C permits GL46C {
+public interface GL45C extends DirectAccess {
int CONTEXT_LOST = 0x0507;
int NEGATIVE_ONE_TO_ONE = 0x935E;
int ZERO_TO_ONE = 0x935F;
@@ -931,14 +932,14 @@ default MethodHandle glMapNamedBuffer() {
@Skip
default MemorySegment mapNamedBuffer(int buffer, int access) {
- return mapNamedBuffer(buffer, access, getNamedBufferParameteri64v(buffer, BUFFER_SIZE));
+ return mapNamedBuffer(buffer, access, getNamedBufferParameteri64v(buffer, GL15C.BUFFER_SIZE));
}
@Skip
default MemorySegment mapNamedBuffer(int buffer, int access, long bufferSize) {
try {
final MemorySegment segment = ((MemorySegment) glMapNamedBuffer().invokeExact(buffer, access)).reinterpret(bufferSize);
- return access == READ_ONLY ? segment.asReadOnly() : segment;
+ return access == GL15C.READ_ONLY ? segment.asReadOnly() : segment;
} catch (Throwable e) {
throw new RuntimeException(e);
}
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL46C.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL46C.java
index bfcc5fb0..e17d06ab 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL46C.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GL46C.java
@@ -17,6 +17,7 @@
package overrungl.opengl;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Marshal;
import overrun.marshal.MemoryStack;
import overrun.marshal.gen.Entrypoint;
@@ -44,7 +45,7 @@
* @author squid233
* @since 0.1.0
*/
-public sealed interface GL46C extends GL45C permits GL {
+public interface GL46C extends DirectAccess {
int SHADER_BINARY_FORMAT_SPIR_V = 0x9551;
int SPIR_V_BINARY = 0x9552;
int PARAMETER_BUFFER = 0x80EE;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLDebugProc.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLDebugProc.java
index b5528570..99a39641 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLDebugProc.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLDebugProc.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* The OpenGL debug message callback.
@@ -32,7 +34,7 @@ public interface GLDebugProc extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.ADDRESS, ValueLayout.ADDRESS));
/**
* debug callback
@@ -47,7 +49,6 @@ public interface GLDebugProc extends Upcall {
*/
void invoke(int source, int type, int id, int severity, String message, MemorySegment userParam);
- @Stub
default void ninvoke(int source, int type, int id, int severity, int length, MemorySegment message, MemorySegment userParam) {
invoke(source, type, id, severity, message.reinterpret(length + 1).getString(0), userParam);
}
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLFlags.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLFlags.java
index e20a3d5e..107415ec 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLFlags.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLFlags.java
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -19,7 +19,6 @@
/**
* The OpenGL flags.
- *
* @since 0.1.0
*/
public final class GLFlags {
@@ -31,7 +30,625 @@ public final class GLFlags {
GL30, GL31, GL32, GL33,
GL40, GL41, GL42, GL43, GL44, GL45, GL46;
/** The OpenGL extension flags. */
- public final boolean GL_ARB_ES2_compatibility, GL_ARB_ES3_1_compatibility, GL_ARB_ES3_2_compatibility, GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_bindless_texture, GL_ARB_blend_func_extended, GL_ARB_buffer_storage, GL_ARB_cl_event, GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, GL_ARB_color_buffer_float, GL_ARB_compatibility, GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader, GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_derivative_control, GL_ARB_direct_state_access, GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts, GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport, GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_fragment_shader_interlock, GL_ARB_framebuffer_no_attachments, GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_ARB_geometry_shader4, GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, GL_ARB_gl_spirv, GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64, GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters, GL_ARB_instanced_arrays, GL_ARB_internalformat_query, GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_matrix_palette, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2, GL_ARB_parallel_shader_compile, GL_ARB_pipeline_statistics_query, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_polygon_offset_clamp, GL_ARB_post_depth_coverage, GL_ARB_program_interface_query, GL_ARB_provoking_vertex, GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior, GL_ARB_robustness, GL_ARB_robustness_isolation, GL_ARB_sample_locations, GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops, GL_ARB_shader_atomic_counters, GL_ARB_shader_ballot, GL_ARB_shader_bit_encoding, GL_ARB_shader_clock, GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote, GL_ARB_shader_image_load_store, GL_ARB_shader_image_size, GL_ARB_shader_objects, GL_ARB_shader_precision, GL_ARB_shader_stencil_export, GL_ARB_shader_storage_buffer_object, GL_ARB_shader_subroutine, GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod, GL_ARB_shader_viewport_layer_array, GL_ARB_shading_language_100, GL_ARB_shading_language_420pack, GL_ARB_shading_language_include, GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_sparse_buffer, GL_ARB_sparse_texture, GL_ARB_sparse_texture2, GL_ARB_sparse_texture_clamp, GL_ARB_spirv_extensions, GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_tessellation_shader, GL_ARB_texture_barrier, GL_ARB_texture_border_clamp, GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_buffer_range, GL_ARB_texture_compression, GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map, GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_filter_anisotropic, GL_ARB_texture_filter_minmax, GL_ARB_texture_float, GL_ARB_texture_gather, GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels, GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_stencil8, GL_ARB_texture_storage, GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle, GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced, GL_ARB_transform_feedback_overflow_query, GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_64bit, GL_ARB_vertex_attrib_binding, GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_viewport_array, GL_ARB_window_pos, GL_KHR_blend_equation_advanced, GL_KHR_blend_equation_advanced_coherent, GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error, GL_KHR_parallel_shader_compile, GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness, GL_KHR_shader_subgroup, GL_KHR_texture_compression_astc_hdr, GL_KHR_texture_compression_astc_ldr, GL_KHR_texture_compression_astc_sliced_3d, GL_OES_byte_coordinates, GL_OES_compressed_paletted_texture, GL_OES_fixed_point, GL_OES_query_matrix, GL_OES_read_format, GL_OES_single_precision, GL_3DFX_multisample, GL_3DFX_tbuffer, GL_3DFX_texture_compression_FXT1, GL_AMD_blend_minmax_factor, GL_AMD_conservative_depth, GL_AMD_debug_output, GL_AMD_depth_clamp_separate, GL_AMD_draw_buffers_blend, GL_AMD_framebuffer_multisample_advanced, GL_AMD_framebuffer_sample_positions, GL_AMD_gcn_shader, GL_AMD_gpu_shader_half_float, GL_AMD_gpu_shader_int16, GL_AMD_gpu_shader_int64, GL_AMD_interleaved_elements, GL_AMD_multi_draw_indirect, GL_AMD_name_gen_delete, GL_AMD_occlusion_query_event, GL_AMD_performance_monitor, GL_AMD_pinned_memory, GL_AMD_query_buffer_object, GL_AMD_sample_positions, GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_atomic_counter_ops, GL_AMD_shader_ballot, GL_AMD_shader_explicit_vertex_parameter, GL_AMD_shader_gpu_shader_half_float_fetch, GL_AMD_shader_image_load_store_lod, GL_AMD_shader_stencil_export, GL_AMD_shader_trinary_minmax, GL_AMD_sparse_texture, GL_AMD_stencil_operation_extended, GL_AMD_texture_gather_bias_lod, GL_AMD_texture_texture4, GL_AMD_transform_feedback3_lines_triangles, GL_AMD_transform_feedback4, GL_AMD_vertex_shader_layer, GL_AMD_vertex_shader_tessellator, GL_AMD_vertex_shader_viewport_index, GL_APPLE_aux_depth_stencil, GL_APPLE_client_storage, GL_APPLE_element_array, GL_APPLE_fence, GL_APPLE_float_pixels, GL_APPLE_flush_buffer_range, GL_APPLE_object_purgeable, GL_APPLE_rgb_422, GL_APPLE_row_bytes, GL_APPLE_specular_vector, GL_APPLE_texture_range, GL_APPLE_transform_hint, GL_APPLE_vertex_array_object, GL_APPLE_vertex_array_range, GL_APPLE_vertex_program_evaluators, GL_APPLE_ycbcr_422, GL_ATI_draw_buffers, GL_ATI_element_array, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer, GL_ATI_meminfo, GL_ATI_pixel_format_float, GL_ATI_pn_triangles, GL_ATI_separate_stencil, GL_ATI_text_fragment_shader, GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams, GL_EXT_422_pixels, GL_EXT_EGL_image_storage, GL_EXT_EGL_sync, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_bindable_uniform, GL_EXT_blend_color, GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_cmyka, GL_EXT_color_subtable, GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_coordinate_frame, GL_EXT_copy_texture, GL_EXT_cull_vertex, GL_EXT_debug_label, GL_EXT_debug_marker, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_external_buffer, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_blit_layers, GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4, GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4, GL_EXT_histogram, GL_EXT_index_array_formats, GL_EXT_index_func, GL_EXT_index_material, GL_EXT_index_texture, GL_EXT_light_texture, GL_EXT_memory_object, GL_EXT_memory_object_fd, GL_EXT_memory_object_win32, GL_EXT_misc_attribute, GL_EXT_multi_draw_arrays, GL_EXT_multisample, GL_EXT_multiview_tessellation_geometry_shader, GL_EXT_multiview_texture_multisample, GL_EXT_multiview_timer_query, GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object, GL_EXT_pixel_transform, GL_EXT_pixel_transform_color_table, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_polygon_offset_clamp, GL_EXT_post_depth_coverage, GL_EXT_provoking_vertex, GL_EXT_raster_multisample, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_semaphore, GL_EXT_semaphore_fd, GL_EXT_semaphore_win32, GL_EXT_separate_shader_objects, GL_EXT_separate_specular_color, GL_EXT_shader_framebuffer_fetch, GL_EXT_shader_framebuffer_fetch_non_coherent, GL_EXT_shader_image_load_formatted, GL_EXT_shader_image_load_store, GL_EXT_shader_integer_mix, GL_EXT_shader_samples_identical, GL_EXT_shadow_funcs, GL_EXT_shared_texture_palette, GL_EXT_sparse_texture2, GL_EXT_stencil_clear_tag, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_array, GL_EXT_texture_buffer_object, GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_filter_minmax, GL_EXT_texture_integer, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_perturb_normal, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_RG8, GL_EXT_texture_sRGB_decode, GL_EXT_texture_shadow_lod, GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm, GL_EXT_texture_storage, GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, GL_EXT_vertex_attrib_64bit, GL_EXT_vertex_shader, GL_EXT_vertex_weighting, GL_EXT_win32_keyed_mutex, GL_EXT_window_rectangles, GL_EXT_x11_sync_object, GL_GREMEDY_frame_terminator, GL_GREMEDY_string_marker, GL_HP_convolution_border_modes, GL_HP_image_transform, GL_HP_occlusion_test, GL_HP_texture_lighting, GL_IBM_cull_vertex, GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, GL_IBM_static_data, GL_IBM_texture_mirrored_repeat, GL_IBM_vertex_array_lists, GL_INGR_blend_func_separate, GL_INGR_color_clamp, GL_INGR_interlace_read, GL_INTEL_blackhole_render, GL_INTEL_conservative_rasterization, GL_INTEL_fragment_shader_ordering, GL_INTEL_framebuffer_CMAA, GL_INTEL_map_texture, GL_INTEL_parallel_arrays, GL_INTEL_performance_query, GL_MESAX_texture_stack, GL_MESA_framebuffer_flip_x, GL_MESA_framebuffer_flip_y, GL_MESA_framebuffer_swap_xy, GL_MESA_pack_invert, GL_MESA_program_binary_formats, GL_MESA_resize_buffers, GL_MESA_shader_integer_functions, GL_MESA_tile_raster_order, GL_MESA_window_pos, GL_MESA_ycbcr_texture, GL_NVX_blend_equation_advanced_multi_draw_buffers, GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_gpu_multicast2, GL_NVX_linked_gpu_multicast, GL_NVX_progress_fence, GL_NV_alpha_to_coverage_dither_control, GL_NV_bindless_multi_draw_indirect, GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture, GL_NV_blend_equation_advanced, GL_NV_blend_equation_advanced_coherent, GL_NV_blend_minmax_factor, GL_NV_blend_square, GL_NV_clip_space_w_scaling, GL_NV_command_list, GL_NV_compute_program5, GL_NV_compute_shader_derivatives, GL_NV_conditional_render, GL_NV_conservative_raster, GL_NV_conservative_raster_dilate, GL_NV_conservative_raster_pre_snap, GL_NV_conservative_raster_pre_snap_triangles, GL_NV_conservative_raster_underestimation, GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_deep_texture3D, GL_NV_depth_buffer_float, GL_NV_depth_clamp, GL_NV_draw_texture, GL_NV_draw_vulkan_image, GL_NV_evaluators, GL_NV_explicit_multisample, GL_NV_fence, GL_NV_fill_rectangle, GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_coverage_to_color, GL_NV_fragment_program, GL_NV_fragment_program2, GL_NV_fragment_program4, GL_NV_fragment_program_option, GL_NV_fragment_shader_barycentric, GL_NV_fragment_shader_interlock, GL_NV_framebuffer_mixed_samples, GL_NV_framebuffer_multisample_coverage, GL_NV_geometry_program4, GL_NV_geometry_shader4, GL_NV_geometry_shader_passthrough, GL_NV_gpu_multicast, GL_NV_gpu_program4, GL_NV_gpu_program5, GL_NV_gpu_program5_mem_extended, GL_NV_gpu_shader5, GL_NV_half_float, GL_NV_internalformat_sample_query, GL_NV_light_max_exponent, GL_NV_memory_attachment, GL_NV_memory_object_sparse, GL_NV_mesh_shader, GL_NV_multisample_coverage, GL_NV_multisample_filter_hint, GL_NV_occlusion_query, GL_NV_packed_depth_stencil, GL_NV_parameter_buffer_object, GL_NV_parameter_buffer_object2, GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range, GL_NV_point_sprite, GL_NV_present_video, GL_NV_primitive_restart, GL_NV_primitive_shading_rate, GL_NV_query_resource, GL_NV_query_resource_tag, GL_NV_register_combiners, GL_NV_register_combiners2, GL_NV_representative_fragment_test, GL_NV_robustness_video_memory_purge, GL_NV_sample_locations, GL_NV_sample_mask_override_coverage, GL_NV_scissor_exclusive, GL_NV_shader_atomic_counters, GL_NV_shader_atomic_float, GL_NV_shader_atomic_float64, GL_NV_shader_atomic_fp16_vector, GL_NV_shader_atomic_int64, GL_NV_shader_buffer_load, GL_NV_shader_buffer_store, GL_NV_shader_storage_buffer_object, GL_NV_shader_subgroup_partitioned, GL_NV_shader_texture_footprint, GL_NV_shader_thread_group, GL_NV_shader_thread_shuffle, GL_NV_shading_rate_image, GL_NV_stereo_view_rendering, GL_NV_tessellation_program5, GL_NV_texgen_emboss, GL_NV_texgen_reflection, GL_NV_texture_barrier, GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4, GL_NV_texture_expand_normal, GL_NV_texture_multisample, GL_NV_texture_rectangle, GL_NV_texture_rectangle_compressed, GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3, GL_NV_timeline_semaphore, GL_NV_transform_feedback, GL_NV_transform_feedback2, GL_NV_uniform_buffer_std430_layout, GL_NV_uniform_buffer_unified_memory, GL_NV_vdpau_interop, GL_NV_vdpau_interop2, GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_attrib_integer_64bit, GL_NV_vertex_buffer_unified_memory, GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_NV_vertex_program2, GL_NV_vertex_program2_option, GL_NV_vertex_program3, GL_NV_vertex_program4, GL_NV_video_capture, GL_NV_viewport_array2, GL_NV_viewport_swizzle, GL_OML_interlace, GL_OML_resample, GL_OML_subsample, GL_OVR_multiview, GL_OVR_multiview2, GL_PGI_misc_hints, GL_PGI_vertex_hints, GL_REND_screen_coordinates, GL_S3_s3tc, GL_SGIS_detail_texture, GL_SGIS_fog_function, GL_SGIS_generate_mipmap, GL_SGIS_multisample, GL_SGIS_pixel_texture, GL_SGIS_point_line_texgen, GL_SGIS_point_parameters, GL_SGIS_sharpen_texture, GL_SGIS_texture4D, GL_SGIS_texture_border_clamp, GL_SGIS_texture_color_mask, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_filter4, GL_SGIS_texture_lod, GL_SGIS_texture_select, GL_SGIX_async, GL_SGIX_async_histogram, GL_SGIX_async_pixel, GL_SGIX_blend_alpha_minmax, GL_SGIX_calligraphic_fragment, GL_SGIX_clipmap, GL_SGIX_convolution_accuracy, GL_SGIX_depth_pass_instrument, GL_SGIX_depth_texture, GL_SGIX_flush_raster, GL_SGIX_fog_offset, GL_SGIX_fragment_lighting, GL_SGIX_framezoom, GL_SGIX_igloo_interface, GL_SGIX_instruments, GL_SGIX_interlace, GL_SGIX_ir_instrument1, GL_SGIX_list_priority, GL_SGIX_pixel_texture, GL_SGIX_pixel_tiles, GL_SGIX_polynomial_ffd, GL_SGIX_reference_plane, GL_SGIX_resample, GL_SGIX_scalebias_hint, GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SGIX_sprite, GL_SGIX_subsample, GL_SGIX_tag_sample_buffer, GL_SGIX_texture_add_env, GL_SGIX_texture_coordinate_clamp, GL_SGIX_texture_lod_bias, GL_SGIX_texture_multi_buffer, GL_SGIX_texture_scale_bias, GL_SGIX_vertex_preclip, GL_SGIX_ycrcb, GL_SGIX_ycrcb_subsample, GL_SGIX_ycrcba, GL_SGI_color_matrix, GL_SGI_color_table, GL_SGI_texture_color_table, GL_SUNX_constant_data, GL_SUN_convolution_border_modes, GL_SUN_global_alpha, GL_SUN_mesh_array, GL_SUN_slice_accum, GL_SUN_triangle_list, GL_SUN_vertex, GL_WIN_phong_shading, GL_WIN_specular_fog;
+ public final boolean GL_ARB_ES2_compatibility,
+ GL_ARB_ES3_1_compatibility,
+ GL_ARB_ES3_2_compatibility,
+ GL_ARB_ES3_compatibility,
+ GL_ARB_arrays_of_arrays,
+ GL_ARB_base_instance,
+ GL_ARB_bindless_texture,
+ GL_ARB_blend_func_extended,
+ GL_ARB_buffer_storage,
+ GL_ARB_cl_event,
+ GL_ARB_clear_buffer_object,
+ GL_ARB_clear_texture,
+ GL_ARB_clip_control,
+ GL_ARB_color_buffer_float,
+ GL_ARB_compatibility,
+ GL_ARB_compressed_texture_pixel_storage,
+ GL_ARB_compute_shader,
+ GL_ARB_compute_variable_group_size,
+ GL_ARB_conditional_render_inverted,
+ GL_ARB_conservative_depth,
+ GL_ARB_copy_buffer,
+ GL_ARB_copy_image,
+ GL_ARB_cull_distance,
+ GL_ARB_debug_output,
+ GL_ARB_depth_buffer_float,
+ GL_ARB_depth_clamp,
+ GL_ARB_depth_texture,
+ GL_ARB_derivative_control,
+ GL_ARB_direct_state_access,
+ GL_ARB_draw_buffers,
+ GL_ARB_draw_buffers_blend,
+ GL_ARB_draw_elements_base_vertex,
+ GL_ARB_draw_indirect,
+ GL_ARB_draw_instanced,
+ GL_ARB_enhanced_layouts,
+ GL_ARB_explicit_attrib_location,
+ GL_ARB_explicit_uniform_location,
+ GL_ARB_fragment_coord_conventions,
+ GL_ARB_fragment_layer_viewport,
+ GL_ARB_fragment_program,
+ GL_ARB_fragment_program_shadow,
+ GL_ARB_fragment_shader,
+ GL_ARB_fragment_shader_interlock,
+ GL_ARB_framebuffer_no_attachments,
+ GL_ARB_framebuffer_object,
+ GL_ARB_framebuffer_sRGB,
+ GL_ARB_geometry_shader4,
+ GL_ARB_get_program_binary,
+ GL_ARB_get_texture_sub_image,
+ GL_ARB_gl_spirv,
+ GL_ARB_gpu_shader5,
+ GL_ARB_gpu_shader_fp64,
+ GL_ARB_gpu_shader_int64,
+ GL_ARB_half_float_pixel,
+ GL_ARB_half_float_vertex,
+ GL_ARB_imaging,
+ GL_ARB_indirect_parameters,
+ GL_ARB_instanced_arrays,
+ GL_ARB_internalformat_query,
+ GL_ARB_internalformat_query2,
+ GL_ARB_invalidate_subdata,
+ GL_ARB_map_buffer_alignment,
+ GL_ARB_map_buffer_range,
+ GL_ARB_matrix_palette,
+ GL_ARB_multi_bind,
+ GL_ARB_multi_draw_indirect,
+ GL_ARB_multisample,
+ GL_ARB_multitexture,
+ GL_ARB_occlusion_query,
+ GL_ARB_occlusion_query2,
+ GL_ARB_parallel_shader_compile,
+ GL_ARB_pipeline_statistics_query,
+ GL_ARB_pixel_buffer_object,
+ GL_ARB_point_parameters,
+ GL_ARB_point_sprite,
+ GL_ARB_polygon_offset_clamp,
+ GL_ARB_post_depth_coverage,
+ GL_ARB_program_interface_query,
+ GL_ARB_provoking_vertex,
+ GL_ARB_query_buffer_object,
+ GL_ARB_robust_buffer_access_behavior,
+ GL_ARB_robustness,
+ GL_ARB_robustness_isolation,
+ GL_ARB_sample_locations,
+ GL_ARB_sample_shading,
+ GL_ARB_sampler_objects,
+ GL_ARB_seamless_cube_map,
+ GL_ARB_seamless_cubemap_per_texture,
+ GL_ARB_separate_shader_objects,
+ GL_ARB_shader_atomic_counter_ops,
+ GL_ARB_shader_atomic_counters,
+ GL_ARB_shader_ballot,
+ GL_ARB_shader_bit_encoding,
+ GL_ARB_shader_clock,
+ GL_ARB_shader_draw_parameters,
+ GL_ARB_shader_group_vote,
+ GL_ARB_shader_image_load_store,
+ GL_ARB_shader_image_size,
+ GL_ARB_shader_objects,
+ GL_ARB_shader_precision,
+ GL_ARB_shader_stencil_export,
+ GL_ARB_shader_storage_buffer_object,
+ GL_ARB_shader_subroutine,
+ GL_ARB_shader_texture_image_samples,
+ GL_ARB_shader_texture_lod,
+ GL_ARB_shader_viewport_layer_array,
+ GL_ARB_shading_language_100,
+ GL_ARB_shading_language_420pack,
+ GL_ARB_shading_language_include,
+ GL_ARB_shading_language_packing,
+ GL_ARB_shadow,
+ GL_ARB_shadow_ambient,
+ GL_ARB_sparse_buffer,
+ GL_ARB_sparse_texture,
+ GL_ARB_sparse_texture2,
+ GL_ARB_sparse_texture_clamp,
+ GL_ARB_spirv_extensions,
+ GL_ARB_stencil_texturing,
+ GL_ARB_sync,
+ GL_ARB_tessellation_shader,
+ GL_ARB_texture_barrier,
+ GL_ARB_texture_border_clamp,
+ GL_ARB_texture_buffer_object,
+ GL_ARB_texture_buffer_object_rgb32,
+ GL_ARB_texture_buffer_range,
+ GL_ARB_texture_compression,
+ GL_ARB_texture_compression_bptc,
+ GL_ARB_texture_compression_rgtc,
+ GL_ARB_texture_cube_map,
+ GL_ARB_texture_cube_map_array,
+ GL_ARB_texture_env_add,
+ GL_ARB_texture_env_combine,
+ GL_ARB_texture_env_crossbar,
+ GL_ARB_texture_env_dot3,
+ GL_ARB_texture_filter_anisotropic,
+ GL_ARB_texture_filter_minmax,
+ GL_ARB_texture_float,
+ GL_ARB_texture_gather,
+ GL_ARB_texture_mirror_clamp_to_edge,
+ GL_ARB_texture_mirrored_repeat,
+ GL_ARB_texture_multisample,
+ GL_ARB_texture_non_power_of_two,
+ GL_ARB_texture_query_levels,
+ GL_ARB_texture_query_lod,
+ GL_ARB_texture_rectangle,
+ GL_ARB_texture_rg,
+ GL_ARB_texture_rgb10_a2ui,
+ GL_ARB_texture_stencil8,
+ GL_ARB_texture_storage,
+ GL_ARB_texture_storage_multisample,
+ GL_ARB_texture_swizzle,
+ GL_ARB_texture_view,
+ GL_ARB_timer_query,
+ GL_ARB_transform_feedback2,
+ GL_ARB_transform_feedback3,
+ GL_ARB_transform_feedback_instanced,
+ GL_ARB_transform_feedback_overflow_query,
+ GL_ARB_transpose_matrix,
+ GL_ARB_uniform_buffer_object,
+ GL_ARB_vertex_array_bgra,
+ GL_ARB_vertex_array_object,
+ GL_ARB_vertex_attrib_64bit,
+ GL_ARB_vertex_attrib_binding,
+ GL_ARB_vertex_blend,
+ GL_ARB_vertex_buffer_object,
+ GL_ARB_vertex_program,
+ GL_ARB_vertex_shader,
+ GL_ARB_vertex_type_10f_11f_11f_rev,
+ GL_ARB_vertex_type_2_10_10_10_rev,
+ GL_ARB_viewport_array,
+ GL_ARB_window_pos,
+ GL_KHR_blend_equation_advanced,
+ GL_KHR_blend_equation_advanced_coherent,
+ GL_KHR_context_flush_control,
+ GL_KHR_debug,
+ GL_KHR_no_error,
+ GL_KHR_parallel_shader_compile,
+ GL_KHR_robust_buffer_access_behavior,
+ GL_KHR_robustness,
+ GL_KHR_shader_subgroup,
+ GL_KHR_texture_compression_astc_hdr,
+ GL_KHR_texture_compression_astc_ldr,
+ GL_KHR_texture_compression_astc_sliced_3d,
+ GL_OES_byte_coordinates,
+ GL_OES_compressed_paletted_texture,
+ GL_OES_fixed_point,
+ GL_OES_query_matrix,
+ GL_OES_read_format,
+ GL_OES_single_precision,
+ GL_3DFX_multisample,
+ GL_3DFX_tbuffer,
+ GL_3DFX_texture_compression_FXT1,
+ GL_AMD_blend_minmax_factor,
+ GL_AMD_conservative_depth,
+ GL_AMD_debug_output,
+ GL_AMD_depth_clamp_separate,
+ GL_AMD_draw_buffers_blend,
+ GL_AMD_framebuffer_multisample_advanced,
+ GL_AMD_framebuffer_sample_positions,
+ GL_AMD_gcn_shader,
+ GL_AMD_gpu_shader_half_float,
+ GL_AMD_gpu_shader_int16,
+ GL_AMD_gpu_shader_int64,
+ GL_AMD_interleaved_elements,
+ GL_AMD_multi_draw_indirect,
+ GL_AMD_name_gen_delete,
+ GL_AMD_occlusion_query_event,
+ GL_AMD_performance_monitor,
+ GL_AMD_pinned_memory,
+ GL_AMD_query_buffer_object,
+ GL_AMD_sample_positions,
+ GL_AMD_seamless_cubemap_per_texture,
+ GL_AMD_shader_atomic_counter_ops,
+ GL_AMD_shader_ballot,
+ GL_AMD_shader_explicit_vertex_parameter,
+ GL_AMD_shader_gpu_shader_half_float_fetch,
+ GL_AMD_shader_image_load_store_lod,
+ GL_AMD_shader_stencil_export,
+ GL_AMD_shader_trinary_minmax,
+ GL_AMD_sparse_texture,
+ GL_AMD_stencil_operation_extended,
+ GL_AMD_texture_gather_bias_lod,
+ GL_AMD_texture_texture4,
+ GL_AMD_transform_feedback3_lines_triangles,
+ GL_AMD_transform_feedback4,
+ GL_AMD_vertex_shader_layer,
+ GL_AMD_vertex_shader_tessellator,
+ GL_AMD_vertex_shader_viewport_index,
+ GL_APPLE_aux_depth_stencil,
+ GL_APPLE_client_storage,
+ GL_APPLE_element_array,
+ GL_APPLE_fence,
+ GL_APPLE_float_pixels,
+ GL_APPLE_flush_buffer_range,
+ GL_APPLE_object_purgeable,
+ GL_APPLE_rgb_422,
+ GL_APPLE_row_bytes,
+ GL_APPLE_specular_vector,
+ GL_APPLE_texture_range,
+ GL_APPLE_transform_hint,
+ GL_APPLE_vertex_array_object,
+ GL_APPLE_vertex_array_range,
+ GL_APPLE_vertex_program_evaluators,
+ GL_APPLE_ycbcr_422,
+ GL_ATI_draw_buffers,
+ GL_ATI_element_array,
+ GL_ATI_envmap_bumpmap,
+ GL_ATI_fragment_shader,
+ GL_ATI_map_object_buffer,
+ GL_ATI_meminfo,
+ GL_ATI_pixel_format_float,
+ GL_ATI_pn_triangles,
+ GL_ATI_separate_stencil,
+ GL_ATI_text_fragment_shader,
+ GL_ATI_texture_env_combine3,
+ GL_ATI_texture_float,
+ GL_ATI_texture_mirror_once,
+ GL_ATI_vertex_array_object,
+ GL_ATI_vertex_attrib_array_object,
+ GL_ATI_vertex_streams,
+ GL_EXT_422_pixels,
+ GL_EXT_EGL_image_storage,
+ GL_EXT_EGL_sync,
+ GL_EXT_abgr,
+ GL_EXT_bgra,
+ GL_EXT_bindable_uniform,
+ GL_EXT_blend_color,
+ GL_EXT_blend_equation_separate,
+ GL_EXT_blend_func_separate,
+ GL_EXT_blend_logic_op,
+ GL_EXT_blend_minmax,
+ GL_EXT_blend_subtract,
+ GL_EXT_clip_volume_hint,
+ GL_EXT_cmyka,
+ GL_EXT_color_subtable,
+ GL_EXT_compiled_vertex_array,
+ GL_EXT_convolution,
+ GL_EXT_coordinate_frame,
+ GL_EXT_copy_texture,
+ GL_EXT_cull_vertex,
+ GL_EXT_debug_label,
+ GL_EXT_debug_marker,
+ GL_EXT_depth_bounds_test,
+ GL_EXT_direct_state_access,
+ GL_EXT_draw_buffers2,
+ GL_EXT_draw_instanced,
+ GL_EXT_draw_range_elements,
+ GL_EXT_external_buffer,
+ GL_EXT_fog_coord,
+ GL_EXT_framebuffer_blit,
+ GL_EXT_framebuffer_blit_layers,
+ GL_EXT_framebuffer_multisample,
+ GL_EXT_framebuffer_multisample_blit_scaled,
+ GL_EXT_framebuffer_object,
+ GL_EXT_framebuffer_sRGB,
+ GL_EXT_geometry_shader4,
+ GL_EXT_gpu_program_parameters,
+ GL_EXT_gpu_shader4,
+ GL_EXT_histogram,
+ GL_EXT_index_array_formats,
+ GL_EXT_index_func,
+ GL_EXT_index_material,
+ GL_EXT_index_texture,
+ GL_EXT_light_texture,
+ GL_EXT_memory_object,
+ GL_EXT_memory_object_fd,
+ GL_EXT_memory_object_win32,
+ GL_EXT_misc_attribute,
+ GL_EXT_multi_draw_arrays,
+ GL_EXT_multisample,
+ GL_EXT_multiview_tessellation_geometry_shader,
+ GL_EXT_multiview_texture_multisample,
+ GL_EXT_multiview_timer_query,
+ GL_EXT_packed_depth_stencil,
+ GL_EXT_packed_float,
+ GL_EXT_packed_pixels,
+ GL_EXT_paletted_texture,
+ GL_EXT_pixel_buffer_object,
+ GL_EXT_pixel_transform,
+ GL_EXT_pixel_transform_color_table,
+ GL_EXT_point_parameters,
+ GL_EXT_polygon_offset,
+ GL_EXT_polygon_offset_clamp,
+ GL_EXT_post_depth_coverage,
+ GL_EXT_provoking_vertex,
+ GL_EXT_raster_multisample,
+ GL_EXT_rescale_normal,
+ GL_EXT_secondary_color,
+ GL_EXT_semaphore,
+ GL_EXT_semaphore_fd,
+ GL_EXT_semaphore_win32,
+ GL_EXT_separate_shader_objects,
+ GL_EXT_separate_specular_color,
+ GL_EXT_shader_framebuffer_fetch,
+ GL_EXT_shader_framebuffer_fetch_non_coherent,
+ GL_EXT_shader_image_load_formatted,
+ GL_EXT_shader_image_load_store,
+ GL_EXT_shader_integer_mix,
+ GL_EXT_shader_samples_identical,
+ GL_EXT_shadow_funcs,
+ GL_EXT_shared_texture_palette,
+ GL_EXT_sparse_texture2,
+ GL_EXT_stencil_clear_tag,
+ GL_EXT_stencil_two_side,
+ GL_EXT_stencil_wrap,
+ GL_EXT_subtexture,
+ GL_EXT_texture,
+ GL_EXT_texture3D,
+ GL_EXT_texture_array,
+ GL_EXT_texture_buffer_object,
+ GL_EXT_texture_compression_latc,
+ GL_EXT_texture_compression_rgtc,
+ GL_EXT_texture_compression_s3tc,
+ GL_EXT_texture_cube_map,
+ GL_EXT_texture_env_add,
+ GL_EXT_texture_env_combine,
+ GL_EXT_texture_env_dot3,
+ GL_EXT_texture_filter_anisotropic,
+ GL_EXT_texture_filter_minmax,
+ GL_EXT_texture_integer,
+ GL_EXT_texture_lod_bias,
+ GL_EXT_texture_mirror_clamp,
+ GL_EXT_texture_object,
+ GL_EXT_texture_perturb_normal,
+ GL_EXT_texture_sRGB,
+ GL_EXT_texture_sRGB_R8,
+ GL_EXT_texture_sRGB_RG8,
+ GL_EXT_texture_sRGB_decode,
+ GL_EXT_texture_shadow_lod,
+ GL_EXT_texture_shared_exponent,
+ GL_EXT_texture_snorm,
+ GL_EXT_texture_storage,
+ GL_EXT_texture_swizzle,
+ GL_EXT_timer_query,
+ GL_EXT_transform_feedback,
+ GL_EXT_vertex_array,
+ GL_EXT_vertex_array_bgra,
+ GL_EXT_vertex_attrib_64bit,
+ GL_EXT_vertex_shader,
+ GL_EXT_vertex_weighting,
+ GL_EXT_win32_keyed_mutex,
+ GL_EXT_window_rectangles,
+ GL_EXT_x11_sync_object,
+ GL_GREMEDY_frame_terminator,
+ GL_GREMEDY_string_marker,
+ GL_HP_convolution_border_modes,
+ GL_HP_image_transform,
+ GL_HP_occlusion_test,
+ GL_HP_texture_lighting,
+ GL_IBM_cull_vertex,
+ GL_IBM_multimode_draw_arrays,
+ GL_IBM_rasterpos_clip,
+ GL_IBM_static_data,
+ GL_IBM_texture_mirrored_repeat,
+ GL_IBM_vertex_array_lists,
+ GL_INGR_blend_func_separate,
+ GL_INGR_color_clamp,
+ GL_INGR_interlace_read,
+ GL_INTEL_blackhole_render,
+ GL_INTEL_conservative_rasterization,
+ GL_INTEL_fragment_shader_ordering,
+ GL_INTEL_framebuffer_CMAA,
+ GL_INTEL_map_texture,
+ GL_INTEL_parallel_arrays,
+ GL_INTEL_performance_query,
+ GL_MESAX_texture_stack,
+ GL_MESA_framebuffer_flip_x,
+ GL_MESA_framebuffer_flip_y,
+ GL_MESA_framebuffer_swap_xy,
+ GL_MESA_pack_invert,
+ GL_MESA_program_binary_formats,
+ GL_MESA_resize_buffers,
+ GL_MESA_shader_integer_functions,
+ GL_MESA_tile_raster_order,
+ GL_MESA_window_pos,
+ GL_MESA_ycbcr_texture,
+ GL_NVX_blend_equation_advanced_multi_draw_buffers,
+ GL_NVX_conditional_render,
+ GL_NVX_gpu_memory_info,
+ GL_NVX_gpu_multicast2,
+ GL_NVX_linked_gpu_multicast,
+ GL_NVX_progress_fence,
+ GL_NV_alpha_to_coverage_dither_control,
+ GL_NV_bindless_multi_draw_indirect,
+ GL_NV_bindless_multi_draw_indirect_count,
+ GL_NV_bindless_texture,
+ GL_NV_blend_equation_advanced,
+ GL_NV_blend_equation_advanced_coherent,
+ GL_NV_blend_minmax_factor,
+ GL_NV_blend_square,
+ GL_NV_clip_space_w_scaling,
+ GL_NV_command_list,
+ GL_NV_compute_program5,
+ GL_NV_compute_shader_derivatives,
+ GL_NV_conditional_render,
+ GL_NV_conservative_raster,
+ GL_NV_conservative_raster_dilate,
+ GL_NV_conservative_raster_pre_snap,
+ GL_NV_conservative_raster_pre_snap_triangles,
+ GL_NV_conservative_raster_underestimation,
+ GL_NV_copy_depth_to_color,
+ GL_NV_copy_image,
+ GL_NV_deep_texture3D,
+ GL_NV_depth_buffer_float,
+ GL_NV_depth_clamp,
+ GL_NV_draw_texture,
+ GL_NV_draw_vulkan_image,
+ GL_NV_evaluators,
+ GL_NV_explicit_multisample,
+ GL_NV_fence,
+ GL_NV_fill_rectangle,
+ GL_NV_float_buffer,
+ GL_NV_fog_distance,
+ GL_NV_fragment_coverage_to_color,
+ GL_NV_fragment_program,
+ GL_NV_fragment_program2,
+ GL_NV_fragment_program4,
+ GL_NV_fragment_program_option,
+ GL_NV_fragment_shader_barycentric,
+ GL_NV_fragment_shader_interlock,
+ GL_NV_framebuffer_mixed_samples,
+ GL_NV_framebuffer_multisample_coverage,
+ GL_NV_geometry_program4,
+ GL_NV_geometry_shader4,
+ GL_NV_geometry_shader_passthrough,
+ GL_NV_gpu_multicast,
+ GL_NV_gpu_program4,
+ GL_NV_gpu_program5,
+ GL_NV_gpu_program5_mem_extended,
+ GL_NV_gpu_shader5,
+ GL_NV_half_float,
+ GL_NV_internalformat_sample_query,
+ GL_NV_light_max_exponent,
+ GL_NV_memory_attachment,
+ GL_NV_memory_object_sparse,
+ GL_NV_mesh_shader,
+ GL_NV_multisample_coverage,
+ GL_NV_multisample_filter_hint,
+ GL_NV_occlusion_query,
+ GL_NV_packed_depth_stencil,
+ GL_NV_parameter_buffer_object,
+ GL_NV_parameter_buffer_object2,
+ GL_NV_path_rendering,
+ GL_NV_path_rendering_shared_edge,
+ GL_NV_pixel_data_range,
+ GL_NV_point_sprite,
+ GL_NV_present_video,
+ GL_NV_primitive_restart,
+ GL_NV_primitive_shading_rate,
+ GL_NV_query_resource,
+ GL_NV_query_resource_tag,
+ GL_NV_register_combiners,
+ GL_NV_register_combiners2,
+ GL_NV_representative_fragment_test,
+ GL_NV_robustness_video_memory_purge,
+ GL_NV_sample_locations,
+ GL_NV_sample_mask_override_coverage,
+ GL_NV_scissor_exclusive,
+ GL_NV_shader_atomic_counters,
+ GL_NV_shader_atomic_float,
+ GL_NV_shader_atomic_float64,
+ GL_NV_shader_atomic_fp16_vector,
+ GL_NV_shader_atomic_int64,
+ GL_NV_shader_buffer_load,
+ GL_NV_shader_buffer_store,
+ GL_NV_shader_storage_buffer_object,
+ GL_NV_shader_subgroup_partitioned,
+ GL_NV_shader_texture_footprint,
+ GL_NV_shader_thread_group,
+ GL_NV_shader_thread_shuffle,
+ GL_NV_shading_rate_image,
+ GL_NV_stereo_view_rendering,
+ GL_NV_tessellation_program5,
+ GL_NV_texgen_emboss,
+ GL_NV_texgen_reflection,
+ GL_NV_texture_barrier,
+ GL_NV_texture_compression_vtc,
+ GL_NV_texture_env_combine4,
+ GL_NV_texture_expand_normal,
+ GL_NV_texture_multisample,
+ GL_NV_texture_rectangle,
+ GL_NV_texture_rectangle_compressed,
+ GL_NV_texture_shader,
+ GL_NV_texture_shader2,
+ GL_NV_texture_shader3,
+ GL_NV_timeline_semaphore,
+ GL_NV_transform_feedback,
+ GL_NV_transform_feedback2,
+ GL_NV_uniform_buffer_std430_layout,
+ GL_NV_uniform_buffer_unified_memory,
+ GL_NV_vdpau_interop,
+ GL_NV_vdpau_interop2,
+ GL_NV_vertex_array_range,
+ GL_NV_vertex_array_range2,
+ GL_NV_vertex_attrib_integer_64bit,
+ GL_NV_vertex_buffer_unified_memory,
+ GL_NV_vertex_program,
+ GL_NV_vertex_program1_1,
+ GL_NV_vertex_program2,
+ GL_NV_vertex_program2_option,
+ GL_NV_vertex_program3,
+ GL_NV_vertex_program4,
+ GL_NV_video_capture,
+ GL_NV_viewport_array2,
+ GL_NV_viewport_swizzle,
+ GL_OML_interlace,
+ GL_OML_resample,
+ GL_OML_subsample,
+ GL_OVR_multiview,
+ GL_OVR_multiview2,
+ GL_PGI_misc_hints,
+ GL_PGI_vertex_hints,
+ GL_REND_screen_coordinates,
+ GL_S3_s3tc,
+ GL_SGIS_detail_texture,
+ GL_SGIS_fog_function,
+ GL_SGIS_generate_mipmap,
+ GL_SGIS_multisample,
+ GL_SGIS_pixel_texture,
+ GL_SGIS_point_line_texgen,
+ GL_SGIS_point_parameters,
+ GL_SGIS_sharpen_texture,
+ GL_SGIS_texture4D,
+ GL_SGIS_texture_border_clamp,
+ GL_SGIS_texture_color_mask,
+ GL_SGIS_texture_edge_clamp,
+ GL_SGIS_texture_filter4,
+ GL_SGIS_texture_lod,
+ GL_SGIS_texture_select,
+ GL_SGIX_async,
+ GL_SGIX_async_histogram,
+ GL_SGIX_async_pixel,
+ GL_SGIX_blend_alpha_minmax,
+ GL_SGIX_calligraphic_fragment,
+ GL_SGIX_clipmap,
+ GL_SGIX_convolution_accuracy,
+ GL_SGIX_depth_pass_instrument,
+ GL_SGIX_depth_texture,
+ GL_SGIX_flush_raster,
+ GL_SGIX_fog_offset,
+ GL_SGIX_fragment_lighting,
+ GL_SGIX_framezoom,
+ GL_SGIX_igloo_interface,
+ GL_SGIX_instruments,
+ GL_SGIX_interlace,
+ GL_SGIX_ir_instrument1,
+ GL_SGIX_list_priority,
+ GL_SGIX_pixel_texture,
+ GL_SGIX_pixel_tiles,
+ GL_SGIX_polynomial_ffd,
+ GL_SGIX_reference_plane,
+ GL_SGIX_resample,
+ GL_SGIX_scalebias_hint,
+ GL_SGIX_shadow,
+ GL_SGIX_shadow_ambient,
+ GL_SGIX_sprite,
+ GL_SGIX_subsample,
+ GL_SGIX_tag_sample_buffer,
+ GL_SGIX_texture_add_env,
+ GL_SGIX_texture_coordinate_clamp,
+ GL_SGIX_texture_lod_bias,
+ GL_SGIX_texture_multi_buffer,
+ GL_SGIX_texture_scale_bias,
+ GL_SGIX_vertex_preclip,
+ GL_SGIX_ycrcb,
+ GL_SGIX_ycrcb_subsample,
+ GL_SGIX_ycrcba,
+ GL_SGI_color_matrix,
+ GL_SGI_color_table,
+ GL_SGI_texture_color_table,
+ GL_SUNX_constant_data,
+ GL_SUN_convolution_border_modes,
+ GL_SUN_global_alpha,
+ GL_SUN_mesh_array,
+ GL_SUN_slice_accum,
+ GL_SUN_triangle_list,
+ GL_SUN_vertex,
+ GL_WIN_phong_shading,
+ GL_WIN_specular_fog;
/**
* Construct OpenGL flags.
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLegacy.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLegacy.java
index 930e347a..07091f5e 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLegacy.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLegacy.java
@@ -16,11 +16,13 @@
package overrungl.opengl;
+import overrun.marshal.DirectAccess;
+
/**
- * The latest OpenGL functions, with legacy.
+ * The latest OpenGL functions, with legacy ones.
*
* @author squid233
* @since 0.1.0
*/
-public non-sealed interface GLLegacy extends GL, GL10, GL11, GL12, GL13, GL14, GL15, GL20, GL21, GL30 {
+public interface GLLegacy extends DirectAccess, GL, GL10, GL11, GL12, GL13, GL14, GL15, GL20, GL21, GL30 {
}
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLoadFunc.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLoadFunc.java
index b37146aa..0dce2c03 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLoadFunc.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLoadFunc.java
@@ -28,7 +28,7 @@
* {@snippet lang = java:
* // loads OpenGL forward-compatible profile
* import java.util.Objects;
- * Objects.requireNonNull(GLLoader.load(glfw::getProcAddress), "Failed to load OpenGL");
+ * Objects.requireNonNull(GLLoader.load(GLLoader.loadFlags(glfw::getProcAddress)), "Failed to load OpenGL");
* }
*
* @author squid233
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLoader.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLoader.java
index 25cf0455..76b8d5d7 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLoader.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLLoader.java
@@ -18,13 +18,15 @@
import org.jetbrains.annotations.Nullable;
import overrun.marshal.Downcall;
+import overrun.marshal.DowncallOption;
import overrungl.opengl.ext.GLExtension;
import java.lang.foreign.FunctionDescriptor;
-import java.lang.foreign.ValueLayout;
import java.lang.invoke.MethodHandles;
import java.util.Map;
+import static java.lang.foreign.ValueLayout.*;
+
/**
* This class must be used before any OpenGL function is called. It has the following responsibilities:
*
@@ -45,10 +47,10 @@
*/
public final class GLLoader {
private static final Map DESCRIPTOR_MAP = Map.of(
- "glMapBuffer", FunctionDescriptor.of(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT),
- "glMapBufferRange", FunctionDescriptor.of(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_LONG, ValueLayout.JAVA_LONG, ValueLayout.JAVA_INT),
- "glMapNamedBuffer", FunctionDescriptor.of(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT),
- "glMapNamedBufferRange", FunctionDescriptor.of(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_LONG, ValueLayout.JAVA_LONG, ValueLayout.JAVA_INT)
+ "glMapBuffer", FunctionDescriptor.of(ADDRESS, JAVA_INT, JAVA_INT),
+ "glMapBufferRange", FunctionDescriptor.of(ADDRESS, JAVA_INT, JAVA_LONG, JAVA_LONG, JAVA_INT),
+ "glMapNamedBuffer", FunctionDescriptor.of(ADDRESS, JAVA_INT, JAVA_INT),
+ "glMapNamedBufferRange", FunctionDescriptor.of(ADDRESS, JAVA_INT, JAVA_LONG, JAVA_LONG, JAVA_INT)
);
private static final MethodHandles.Lookup LOOKUP = MethodHandles.lookup();
@@ -70,7 +72,7 @@ public static GLFlags loadFlags(GLLoadFunc load) {
*/
@Nullable
public static GL load(GLFlags flags) {
- return flags.GL10 ? Downcall.load(LOOKUP, GL.class, flags.load.lookup(), DESCRIPTOR_MAP) : null;
+ return flags.GL10 ? loadContext(flags, GL.class) : null;
}
/**
@@ -81,7 +83,7 @@ public static GL load(GLFlags flags) {
*/
@Nullable
public static GLLegacy loadLegacy(GLFlags flags) {
- return flags.GL10 ? Downcall.load(LOOKUP, GLLegacy.class, flags.load.lookup(), DESCRIPTOR_MAP) : null;
+ return flags.GL10 ? loadContext(flags, GLLegacy.class) : null;
}
/**
@@ -92,6 +94,21 @@ public static GLLegacy loadLegacy(GLFlags flags) {
*/
@Nullable
public static GLExtension loadExtension(GLFlags flags) {
- return flags.foundExtension ? Downcall.load(LOOKUP, GLExtension.class, flags.load.lookup(), DESCRIPTOR_MAP) : null;
+ return flags.foundExtension ? loadContext(flags, GLExtension.class) : null;
+ }
+
+ /**
+ * Loads OpenGL context with the given flags.
+ *
+ * @param flags the OpenGL flags
+ * @param targetClass the target class
+ * @param the type of the instance
+ * @return an instance that wraps OpenGL context
+ */
+ public static T loadContext(GLFlags flags, Class targetClass) {
+ return Downcall.load(LOOKUP,
+ flags.load.lookup(),
+ DowncallOption.targetClass(targetClass),
+ DowncallOption.descriptors(DESCRIPTOR_MAP));
}
}
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLUtil.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLUtil.java
index 61ec7a9b..0c5ca2b2 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLUtil.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/GLUtil.java
@@ -18,7 +18,8 @@
import org.jetbrains.annotations.Nullable;
import overrungl.OverrunGL;
-import overrungl.opengl.ext.GLExtension;
+import overrungl.opengl.ext.amd.GLAMDDebugOutput;
+import overrungl.opengl.ext.arb.GLARBDebugOutput;
import java.lang.foreign.Arena;
import java.lang.foreign.MemorySegment;
@@ -48,14 +49,21 @@ private GLUtil() {
* The callback function is returned as a {@link Arena}, that should be reset to NULL and
* {@link Arena#close() closed} when no longer needed, which is often after destroying GL context.
*
- * @param gl the OpenGL context.
- * @param flags the OpenGL flags.
- * @param ext the OpenGL extension context, which is supplied when OpenGL debug function is not found in core.
+ * @param gl the OpenGL context.
+ * @param flags the OpenGL flags.
+ * @param fallbackARB the GLARBDebugOutput context, which is supplied when OpenGL debug function is not found in core.
+ * @param fallbackAMD the GLAMDDebugOutput context, which is supplied when OpenGL debug function is not found in core.
* @return the arena.
*/
@Nullable
- public static Arena setupDebugMessageCallback(GL43C gl, GLFlags flags, Supplier ext) {
- return setupDebugMessageCallback(gl, flags, ext, OverrunGL.apiLogger());
+ public static
+ Arena setupDebugMessageCallback(
+ T gl,
+ GLFlags flags,
+ Supplier extends GLARBDebugOutput> fallbackARB,
+ Supplier extends GLAMDDebugOutput> fallbackAMD
+ ) {
+ return setupDebugMessageCallback(gl, flags, fallbackARB, fallbackAMD, OverrunGL.apiLogger());
}
/**
@@ -65,14 +73,22 @@ public static Arena setupDebugMessageCallback(GL43C gl, GLFlags flags, Supplier<
* The callback function is returned as a {@link Arena}, that should be reset to NULL and
* {@link Arena#close() closed} when no longer needed, which is often after destroying GL context.
*
- * @param gl the OpenGL context.
- * @param flags the OpenGL flags.
- * @param ext the OpenGL extension context, which is supplied when OpenGL debug function is not found in core.
- * @param logger the output logger.
+ * @param gl the OpenGL context.
+ * @param flags the OpenGL flags.
+ * @param fallbackARB the GLARBDebugOutput context, which is supplied when OpenGL debug function is not found in core.
+ * @param fallbackAMD the GLAMDDebugOutput context, which is supplied when OpenGL debug function is not found in core.
+ * @param logger the output logger.
* @return the arena.
*/
@Nullable
- public static Arena setupDebugMessageCallback(GL43C gl, GLFlags flags, Supplier ext, Consumer logger) {
+ public static
+ Arena setupDebugMessageCallback(
+ T gl,
+ GLFlags flags,
+ Supplier extends GLARBDebugOutput> fallbackARB,
+ Supplier extends GLAMDDebugOutput> fallbackAMD,
+ Consumer logger
+ ) {
if (flags.GL43 || flags.GL_KHR_debug) {
if (flags.GL43) {
apiLog("[GL] Using OpenGL 4.3 for error logging.");
@@ -106,7 +122,7 @@ public static Arena setupDebugMessageCallback(GL43C gl, GLFlags flags, Supplier<
if (flags.GL_ARB_debug_output) {
apiLog("[GL] Using ARB_debug_output for error logging.");
var arena = Arena.ofConfined();
- ext.get().glDebugMessageCallbackARB(arena, (source, type, id, severity, message, _) -> {
+ fallbackARB.get().glDebugMessageCallbackARB(arena, (source, type, id, severity, message, _) -> {
var sb = new StringBuilder(768);
sb.append("[OverrunGL] ARB_debug_output message\n");
printDetail(sb, "ID", STR."0x\{Integer.toHexString(id).toUpperCase(Locale.ROOT)}");
@@ -126,7 +142,7 @@ public static Arena setupDebugMessageCallback(GL43C gl, GLFlags flags, Supplier<
if (flags.GL_AMD_debug_output) {
apiLog("[GL] Using AMD_debug_output for error logging.");
var arena = Arena.ofConfined();
- ext.get().glDebugMessageCallbackAMD(arena, (id, category, severity, message, _) -> {
+ fallbackAMD.get().glDebugMessageCallbackAMD(arena, (id, category, severity, message, _) -> {
var sb = new StringBuilder(768);
sb.append("[OverrunGL] AMD_debug_output message\n");
printDetail(sb, "ID", STR."0x\{Integer.toHexString(id).toUpperCase(Locale.ROOT)}");
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 d31c61ba..2ebe4dc1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_3DFX_multisample}
*/
-public interface GL3DFXMultisample {
+public interface GL3DFXMultisample extends overrun.marshal.DirectAccess {
int GL_MULTISAMPLE_3DFX = 0x86B2;
int GL_SAMPLE_BUFFERS_3DFX = 0x86B3;
int GL_SAMPLES_3DFX = 0x86B4;
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 25502120..1ba6290d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_3DFX_tbuffer}
*/
-public interface GL3DFXTbuffer {
+public interface GL3DFXTbuffer extends overrun.marshal.DirectAccess {
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 32e3520d..21f7df0c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_3DFX_texture_compression_FXT1}
*/
-public interface GL3DFXTextureCompressionFXT1 {
+public interface GL3DFXTextureCompressionFXT1 extends overrun.marshal.DirectAccess {
int GL_COMPRESSED_RGB_FXT1_3DFX = 0x86B0;
int GL_COMPRESSED_RGBA_FXT1_3DFX = 0x86B1;
}
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLExtension.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLExtension.java
index 68e452dc..83ba9ac8 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLExtension.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/GLExtension.java
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -32,10 +32,9 @@
/**
* The OpenGL extension functions.
- *
* @since 0.1.0
*/
-public interface GLExtension extends
+public interface GLExtension extends overrun.marshal.DirectAccess,
GLARBES32Compatibility,
GLARBBindlessTexture,
GLARBCLEvent,
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 7bd884a1..4599e1fd 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_GREMEDY_frame_terminator}
*/
-public interface GLGREMEDYFrameTerminator {
+public interface GLGREMEDYFrameTerminator extends overrun.marshal.DirectAccess {
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 a144be39..44736268 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_GREMEDY_string_marker}
*/
-public interface GLGREMEDYStringMarker {
+public interface GLGREMEDYStringMarker extends overrun.marshal.DirectAccess {
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 19e59eda..a7034c16 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_HP_convolution_border_modes}
*/
-public interface GLHPConvolutionBorderModes {
+public interface GLHPConvolutionBorderModes extends overrun.marshal.DirectAccess {
int GL_IGNORE_BORDER_HP = 0x8150;
int GL_CONSTANT_BORDER_HP = 0x8151;
int GL_REPLICATE_BORDER_HP = 0x8153;
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 eb8bafd4..cf3207a6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_HP_image_transform}
*/
-public interface GLHPImageTransform {
+public interface GLHPImageTransform extends overrun.marshal.DirectAccess {
int GL_IMAGE_SCALE_X_HP = 0x8155;
int GL_IMAGE_SCALE_Y_HP = 0x8156;
int GL_IMAGE_TRANSLATE_X_HP = 0x8157;
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 28bdec7b..bfdcd263 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_HP_occlusion_test}
*/
-public interface GLHPOcclusionTest {
+public interface GLHPOcclusionTest extends overrun.marshal.DirectAccess {
int GL_OCCLUSION_TEST_HP = 0x8165;
int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
}
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 1738004b..258f9980 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_HP_texture_lighting}
*/
-public interface GLHPTextureLighting {
+public interface GLHPTextureLighting extends overrun.marshal.DirectAccess {
int GL_TEXTURE_LIGHTING_MODE_HP = 0x8167;
int GL_TEXTURE_POST_SPECULAR_HP = 0x8168;
int GL_TEXTURE_PRE_SPECULAR_HP = 0x8169;
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 f8a3f30b..04e2f007 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_INGR_blend_func_separate}
*/
-public interface GLINGRBlendFuncSeparate {
+public interface GLINGRBlendFuncSeparate extends overrun.marshal.DirectAccess {
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 67db05f2..20f75d90 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_INGR_color_clamp}
*/
-public interface GLINGRColorClamp {
+public interface GLINGRColorClamp extends overrun.marshal.DirectAccess {
int GL_RED_MIN_CLAMP_INGR = 0x8560;
int GL_GREEN_MIN_CLAMP_INGR = 0x8561;
int GL_BLUE_MIN_CLAMP_INGR = 0x8562;
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 75f26d08..f7be6603 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_INGR_interlace_read}
*/
-public interface GLINGRInterlaceRead {
+public interface GLINGRInterlaceRead extends overrun.marshal.DirectAccess {
int GL_INTERLACE_READ_INGR = 0x8568;
}
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 a130cfe5..a4c71da8 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OML_interlace}
*/
-public interface GLOMLInterlace {
+public interface GLOMLInterlace extends overrun.marshal.DirectAccess {
int GL_INTERLACE_OML = 0x8980;
int GL_INTERLACE_READ_OML = 0x8981;
}
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 0c7dded0..cd7e4809 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OML_resample}
*/
-public interface GLOMLResample {
+public interface GLOMLResample extends overrun.marshal.DirectAccess {
int GL_PACK_RESAMPLE_OML = 0x8984;
int GL_UNPACK_RESAMPLE_OML = 0x8985;
int GL_RESAMPLE_REPLICATE_OML = 0x8986;
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 123eaea9..8e33c457 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OML_subsample}
*/
-public interface GLOMLSubsample {
+public interface GLOMLSubsample extends overrun.marshal.DirectAccess {
int GL_FORMAT_SUBSAMPLE_24_24_OML = 0x8982;
int GL_FORMAT_SUBSAMPLE_244_244_OML = 0x8983;
}
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 ac6cbaac..fd4135c9 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OVR_multiview}
*/
-public interface GLOVRMultiview {
+public interface GLOVRMultiview extends overrun.marshal.DirectAccess {
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR = 0x9630;
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR = 0x9632;
int GL_MAX_VIEWS_OVR = 0x9631;
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 bb0a9f37..f9762394 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_PGI_misc_hints}
*/
-public interface GLPGIMiscHints {
+public interface GLPGIMiscHints extends overrun.marshal.DirectAccess {
int GL_PREFER_DOUBLEBUFFER_HINT_PGI = 0x1A1F8;
int GL_CONSERVE_MEMORY_HINT_PGI = 0x1A1FD;
int GL_RECLAIM_MEMORY_HINT_PGI = 0x1A1FE;
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 3e83b639..b49f3f3a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_PGI_vertex_hints}
*/
-public interface GLPGIVertexHints {
+public interface GLPGIVertexHints extends overrun.marshal.DirectAccess {
int GL_VERTEX_DATA_HINT_PGI = 0x1A22A;
int GL_VERTEX_CONSISTENT_HINT_PGI = 0x1A22B;
int GL_MATERIAL_SIDE_HINT_PGI = 0x1A22C;
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 53c76546..3363234f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_REND_screen_coordinates}
*/
-public interface GLRENDScreenCoordinates {
+public interface GLRENDScreenCoordinates extends overrun.marshal.DirectAccess {
int GL_SCREEN_COORDINATES_REND = 0x8490;
int GL_INVERTED_SCREEN_W_REND = 0x8491;
}
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 163e4b36..48d7a070 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_S3_s3tc}
*/
-public interface GLS3S3tc {
+public interface GLS3S3tc extends overrun.marshal.DirectAccess {
int GL_RGB_S3TC = 0x83A0;
int GL_RGB4_S3TC = 0x83A1;
int GL_RGBA_S3TC = 0x83A2;
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 1bf61c08..5a7c6dc5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_WIN_phong_shading}
*/
-public interface GLWINPhongShading {
+public interface GLWINPhongShading extends overrun.marshal.DirectAccess {
int GL_PHONG_WIN = 0x80EA;
int GL_PHONG_HINT_WIN = 0x80EB;
}
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 26c7a6d1..060d9316 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_WIN_specular_fog}
*/
-public interface GLWINSpecularFog {
+public interface GLWINSpecularFog extends overrun.marshal.DirectAccess {
int GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC;
}
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 9f5d4802..565cbc53 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_blend_minmax_factor}
*/
-public interface GLAMDBlendMinmaxFactor {
+public interface GLAMDBlendMinmaxFactor extends overrun.marshal.DirectAccess {
int GL_FACTOR_MIN_AMD = 0x901C;
int GL_FACTOR_MAX_AMD = 0x901D;
}
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 0f9f589f..e2b76827 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_debug_output}
*/
-public interface GLAMDDebugOutput {
+public interface GLAMDDebugOutput extends overrun.marshal.DirectAccess {
int GL_MAX_DEBUG_MESSAGE_LENGTH_AMD = 0x9143;
int GL_MAX_DEBUG_LOGGED_MESSAGES_AMD = 0x9144;
int GL_DEBUG_LOGGED_MESSAGES_AMD = 0x9145;
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 92751a08..cb8b2bdc 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_depth_clamp_separate}
*/
-public interface GLAMDDepthClampSeparate {
+public interface GLAMDDepthClampSeparate extends overrun.marshal.DirectAccess {
int GL_DEPTH_CLAMP_NEAR_AMD = 0x901E;
int GL_DEPTH_CLAMP_FAR_AMD = 0x901F;
}
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 1f9b0b04..09914788 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_draw_buffers_blend}
*/
-public interface GLAMDDrawBuffersBlend {
+public interface GLAMDDrawBuffersBlend extends overrun.marshal.DirectAccess {
default void glBlendFuncIndexedAMD(int buf, int src, int dst) {
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 04dcd618..f09ba1de 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_framebuffer_multisample_advanced}
*/
-public interface GLAMDFramebufferMultisampleAdvanced {
+public interface GLAMDFramebufferMultisampleAdvanced extends overrun.marshal.DirectAccess {
int GL_RENDERBUFFER_STORAGE_SAMPLES_AMD = 0x91B2;
int GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD = 0x91B3;
int GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD = 0x91B4;
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 4bf3e035..6eecd142 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_framebuffer_sample_positions}
*/
-public interface GLAMDFramebufferSamplePositions {
+public interface GLAMDFramebufferSamplePositions extends overrun.marshal.DirectAccess {
int GL_SUBSAMPLE_DISTANCE_AMD = 0x883F;
int GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD = 0x91AE;
int GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD = 0x91AF;
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 6a54d3ad..fc335ee0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_gpu_shader_half_float}
*/
-public interface GLAMDGpuShaderHalfFloat {
+public interface GLAMDGpuShaderHalfFloat extends overrun.marshal.DirectAccess {
int GL_FLOAT16_NV = 0x8FF8;
int GL_FLOAT16_VEC2_NV = 0x8FF9;
int GL_FLOAT16_VEC3_NV = 0x8FFA;
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 b4d20f58..6a6ba3a7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_gpu_shader_int64}
*/
-public interface GLAMDGpuShaderInt64 {
+public interface GLAMDGpuShaderInt64 extends overrun.marshal.DirectAccess {
int GL_INT64_NV = 0x140E;
int GL_UNSIGNED_INT64_NV = 0x140F;
int GL_INT8_NV = 0x8FE0;
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 fda788bb..40d9d28d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_interleaved_elements}
*/
-public interface GLAMDInterleavedElements {
+public interface GLAMDInterleavedElements extends overrun.marshal.DirectAccess {
int GL_VERTEX_ELEMENT_SWIZZLE_AMD = 0x91A4;
int GL_VERTEX_ID_SWIZZLE_AMD = 0x91A5;
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 1d4a3fbf..ff68f5b0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_multi_draw_indirect}
*/
-public interface GLAMDMultiDrawIndirect {
+public interface GLAMDMultiDrawIndirect extends overrun.marshal.DirectAccess {
default void glMultiDrawArraysIndirectAMD(int mode, @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 000ae45a..c486624d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_name_gen_delete}
*/
-public interface GLAMDNameGenDelete {
+public interface GLAMDNameGenDelete extends overrun.marshal.DirectAccess {
int GL_DATA_BUFFER_AMD = 0x9151;
int GL_PERFORMANCE_MONITOR_AMD = 0x9152;
int GL_QUERY_OBJECT_AMD = 0x9153;
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 e63ab6ee..1ea97c9e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_occlusion_query_event}
*/
-public interface GLAMDOcclusionQueryEvent {
+public interface GLAMDOcclusionQueryEvent extends overrun.marshal.DirectAccess {
int GL_OCCLUSION_QUERY_EVENT_MASK_AMD = 0x874F;
int GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001;
int GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002;
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 335c89f6..94abe982 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_performance_monitor}
*/
-public interface GLAMDPerformanceMonitor {
+public interface GLAMDPerformanceMonitor extends overrun.marshal.DirectAccess {
int GL_COUNTER_TYPE_AMD = 0x8BC0;
int GL_COUNTER_RANGE_AMD = 0x8BC1;
int GL_UNSIGNED_INT64_AMD = 0x8BC2;
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 37c6dc5b..b9f50159 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_AMD_pinned_memory}
*/
-public interface GLAMDPinnedMemory {
+public interface GLAMDPinnedMemory extends overrun.marshal.DirectAccess {
int GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD = 0x9160;
}
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 1ad3e8f9..8930687b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_query_buffer_object}
*/
-public interface GLAMDQueryBufferObject {
+public interface GLAMDQueryBufferObject extends overrun.marshal.DirectAccess {
int GL_QUERY_BUFFER_AMD = 0x9192;
int GL_QUERY_BUFFER_BINDING_AMD = 0x9193;
int GL_QUERY_RESULT_NO_WAIT_AMD = 0x9194;
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 12be90db..3a7196e4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_sample_positions}
*/
-public interface GLAMDSamplePositions {
+public interface GLAMDSamplePositions extends overrun.marshal.DirectAccess {
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 084aaa91..c53750f2 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_sparse_texture}
*/
-public interface GLAMDSparseTexture {
+public interface GLAMDSparseTexture extends overrun.marshal.DirectAccess {
int GL_VIRTUAL_PAGE_SIZE_X_AMD = 0x9195;
int GL_VIRTUAL_PAGE_SIZE_Y_AMD = 0x9196;
int GL_VIRTUAL_PAGE_SIZE_Z_AMD = 0x9197;
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 38eb4d01..77bdd214 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_stencil_operation_extended}
*/
-public interface GLAMDStencilOperationExtended {
+public interface GLAMDStencilOperationExtended extends overrun.marshal.DirectAccess {
int GL_SET_AMD = 0x874A;
int GL_REPLACE_VALUE_AMD = 0x874B;
int GL_STENCIL_OP_VALUE_AMD = 0x874C;
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 c211e268..8facc961 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_AMD_transform_feedback4}
*/
-public interface GLAMDTransformFeedback4 {
+public interface GLAMDTransformFeedback4 extends overrun.marshal.DirectAccess {
int GL_STREAM_RASTERIZATION_AMD = 0x91A0;
}
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 a59474d2..2b010fea 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_AMD_vertex_shader_tessellator}
*/
-public interface GLAMDVertexShaderTessellator {
+public interface GLAMDVertexShaderTessellator extends overrun.marshal.DirectAccess {
int GL_SAMPLER_BUFFER_AMD = 0x9001;
int GL_INT_SAMPLER_BUFFER_AMD = 0x9002;
int GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD = 0x9003;
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLDebugProcAMD.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLDebugProcAMD.java
index 9d21bf70..40c9b4d5 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLDebugProcAMD.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/amd/GLDebugProcAMD.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* The OpenGL debug message callback.
@@ -32,7 +34,7 @@ public interface GLDebugProcAMD extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.ADDRESS, ValueLayout.ADDRESS));
/**
* debug callback
@@ -46,7 +48,6 @@ public interface GLDebugProcAMD extends Upcall {
*/
void invoke(int id, int category, int severity, String message, MemorySegment userParam);
- @Stub
default void ninvoke(int id, int category, int severity, int length, MemorySegment message, MemorySegment userParam) {
invoke(id, category, severity, message.reinterpret(length + 1).getString(0), userParam);
}
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 8004c177..066c5f41 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_APPLE_aux_depth_stencil}
*/
-public interface GLAPPLEAuxDepthStencil {
+public interface GLAPPLEAuxDepthStencil extends overrun.marshal.DirectAccess {
int GL_AUX_DEPTH_STENCIL_APPLE = 0x8A14;
}
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 809a7b6b..d71516f7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_APPLE_client_storage}
*/
-public interface GLAPPLEClientStorage {
+public interface GLAPPLEClientStorage extends overrun.marshal.DirectAccess {
int GL_UNPACK_CLIENT_STORAGE_APPLE = 0x85B2;
}
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 228fac3f..cbc98ce9 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_element_array}
*/
-public interface GLAPPLEElementArray {
+public interface GLAPPLEElementArray extends overrun.marshal.DirectAccess {
int GL_ELEMENT_ARRAY_APPLE = 0x8A0C;
int GL_ELEMENT_ARRAY_TYPE_APPLE = 0x8A0D;
int GL_ELEMENT_ARRAY_POINTER_APPLE = 0x8A0E;
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 a91d65b8..792f393d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_fence}
*/
-public interface GLAPPLEFence {
+public interface GLAPPLEFence extends overrun.marshal.DirectAccess {
int GL_DRAW_PIXELS_APPLE = 0x8A0A;
int GL_FENCE_APPLE = 0x8A0B;
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 2e8d2756..d52dc6ce 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_float_pixels}
*/
-public interface GLAPPLEFloatPixels {
+public interface GLAPPLEFloatPixels extends overrun.marshal.DirectAccess {
int GL_HALF_APPLE = 0x140B;
int GL_RGBA_FLOAT32_APPLE = 0x8814;
int GL_RGB_FLOAT32_APPLE = 0x8815;
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 5d3ef0c3..848137c2 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_flush_buffer_range}
*/
-public interface GLAPPLEFlushBufferRange {
+public interface GLAPPLEFlushBufferRange extends overrun.marshal.DirectAccess {
int GL_BUFFER_SERIALIZED_MODIFY_APPLE = 0x8A12;
int GL_BUFFER_FLUSHING_UNMAP_APPLE = 0x8A13;
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 7cf06a92..921732be 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_object_purgeable}
*/
-public interface GLAPPLEObjectPurgeable {
+public interface GLAPPLEObjectPurgeable extends overrun.marshal.DirectAccess {
int GL_BUFFER_OBJECT_APPLE = 0x85B3;
int GL_RELEASED_APPLE = 0x8A19;
int GL_VOLATILE_APPLE = 0x8A1A;
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 5452d2e9..8586b8f6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_rgb_422}
*/
-public interface GLAPPLERgb422 {
+public interface GLAPPLERgb422 extends overrun.marshal.DirectAccess {
int GL_RGB_422_APPLE = 0x8A1F;
int GL_UNSIGNED_SHORT_8_8_APPLE = 0x85BA;
int GL_UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB;
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 300a17c2..88271371 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_row_bytes}
*/
-public interface GLAPPLERowBytes {
+public interface GLAPPLERowBytes extends overrun.marshal.DirectAccess {
int GL_PACK_ROW_BYTES_APPLE = 0x8A15;
int GL_UNPACK_ROW_BYTES_APPLE = 0x8A16;
}
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 9ccbe630..238a8ae2 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_APPLE_specular_vector}
*/
-public interface GLAPPLESpecularVector {
+public interface GLAPPLESpecularVector extends overrun.marshal.DirectAccess {
int GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE = 0x85B0;
}
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 80afa037..f75727c0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_texture_range}
*/
-public interface GLAPPLETextureRange {
+public interface GLAPPLETextureRange extends overrun.marshal.DirectAccess {
int GL_TEXTURE_RANGE_LENGTH_APPLE = 0x85B7;
int GL_TEXTURE_RANGE_POINTER_APPLE = 0x85B8;
int GL_TEXTURE_STORAGE_HINT_APPLE = 0x85BC;
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 67b789a1..2e25cb1c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_APPLE_transform_hint}
*/
-public interface GLAPPLETransformHint {
+public interface GLAPPLETransformHint extends overrun.marshal.DirectAccess {
int GL_TRANSFORM_HINT_APPLE = 0x85B1;
}
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 cf7d4fef..36295c30 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_vertex_array_object}
*/
-public interface GLAPPLEVertexArrayObject {
+public interface GLAPPLEVertexArrayObject extends overrun.marshal.DirectAccess {
int GL_VERTEX_ARRAY_BINDING_APPLE = 0x85B5;
default void glBindVertexArrayAPPLE(int array) {
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 ed3c6989..299fba17 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_vertex_array_range}
*/
-public interface GLAPPLEVertexArrayRange {
+public interface GLAPPLEVertexArrayRange extends overrun.marshal.DirectAccess {
int GL_VERTEX_ARRAY_RANGE_APPLE = 0x851D;
int GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE = 0x851E;
int GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F;
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 13a43cc0..a4b07ff4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_APPLE_vertex_program_evaluators}
*/
-public interface GLAPPLEVertexProgramEvaluators {
+public interface GLAPPLEVertexProgramEvaluators extends overrun.marshal.DirectAccess {
int GL_VERTEX_ATTRIB_MAP1_APPLE = 0x8A00;
int GL_VERTEX_ATTRIB_MAP2_APPLE = 0x8A01;
int GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE = 0x8A02;
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 329f0e4d..efe56707 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_APPLE_ycbcr_422}
*/
-public interface GLAPPLEYcbcr422 {
+public interface GLAPPLEYcbcr422 extends overrun.marshal.DirectAccess {
int GL_YCBCR_422_APPLE = 0x85B9;
}
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 53b15f06..ffde646c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_bindless_texture}
*/
-public interface GLARBBindlessTexture {
+public interface GLARBBindlessTexture extends overrun.marshal.DirectAccess {
int GL_UNSIGNED_INT64_ARB = 0x140F;
default long glGetTextureHandleARB(int texture) {
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 0cacfdf9..501ec1bc 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_cl_event}
*/
-public interface GLARBCLEvent {
+public interface GLARBCLEvent extends overrun.marshal.DirectAccess {
int GL_SYNC_CL_EVENT_ARB = 0x8240;
int GL_SYNC_CL_EVENT_COMPLETE_ARB = 0x8241;
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 a49b6b47..eeca177e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_color_buffer_float}
*/
-public interface GLARBColorBufferFloat {
+public interface GLARBColorBufferFloat extends overrun.marshal.DirectAccess {
int GL_RGBA_FLOAT_MODE_ARB = 0x8820;
int GL_CLAMP_VERTEX_COLOR_ARB = 0x891A;
int GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B;
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 08107f97..093b6c1e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_compute_variable_group_size}
*/
-public interface GLARBComputeVariableGroupSize {
+public interface GLARBComputeVariableGroupSize extends overrun.marshal.DirectAccess {
int GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB = 0x9344;
int GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB = 0x90EB;
int GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB = 0x9345;
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 6f4aaaff..919eb42e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_debug_output}
*/
-public interface GLARBDebugOutput {
+public interface GLARBDebugOutput extends overrun.marshal.DirectAccess {
int GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB = 0x8242;
int GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB = 0x8243;
int GL_DEBUG_CALLBACK_FUNCTION_ARB = 0x8244;
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 dd785016..9fb238da 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_depth_texture}
*/
-public interface GLARBDepthTexture {
+public interface GLARBDepthTexture extends overrun.marshal.DirectAccess {
int GL_DEPTH_COMPONENT16_ARB = 0x81A5;
int GL_DEPTH_COMPONENT24_ARB = 0x81A6;
int GL_DEPTH_COMPONENT32_ARB = 0x81A7;
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 e7139d07..7b38657f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_draw_buffers}
*/
-public interface GLARBDrawBuffers {
+public interface GLARBDrawBuffers extends overrun.marshal.DirectAccess {
int GL_MAX_DRAW_BUFFERS_ARB = 0x8824;
int GL_DRAW_BUFFER0_ARB = 0x8825;
int GL_DRAW_BUFFER1_ARB = 0x8826;
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 c3072fde..64495be9 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_draw_buffers_blend}
*/
-public interface GLARBDrawBuffersBlend {
+public interface GLARBDrawBuffersBlend extends overrun.marshal.DirectAccess {
default void glBlendEquationiARB(int buf, int mode) {
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 b5a7cb52..40c10a71 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_draw_instanced}
*/
-public interface GLARBDrawInstanced {
+public interface GLARBDrawInstanced extends overrun.marshal.DirectAccess {
default void glDrawArraysInstancedARB(int mode, int first, int count, 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 0713347b..20119c1f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_ES3_2_compatibility}
*/
-public interface GLARBES32Compatibility {
+public interface GLARBES32Compatibility extends overrun.marshal.DirectAccess {
int GL_PRIMITIVE_BOUNDING_BOX_ARB = 0x92BE;
int GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB = 0x9381;
int GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB = 0x9382;
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 ee7574fe..2748e176 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_fragment_program}
*/
-public interface GLARBFragmentProgram {
+public interface GLARBFragmentProgram extends overrun.marshal.DirectAccess {
int GL_FRAGMENT_PROGRAM_ARB = 0x8804;
int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875;
int GL_PROGRAM_LENGTH_ARB = 0x8627;
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 12476b48..e21e90c2 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_fragment_shader}
*/
-public interface GLARBFragmentShader {
+public interface GLARBFragmentShader extends overrun.marshal.DirectAccess {
int GL_FRAGMENT_SHADER_ARB = 0x8B30;
int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49;
int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B;
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 61ca1306..c0d2a580 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_gl_spirv}
*/
-public interface GLARBGLSpirv {
+public interface GLARBGLSpirv extends overrun.marshal.DirectAccess {
int GL_SHADER_BINARY_FORMAT_SPIR_V_ARB = 0x9551;
int GL_SPIR_V_BINARY_ARB = 0x9552;
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 c856f9f5..93a85dfc 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_geometry_shader4}
*/
-public interface GLARBGeometryShader4 {
+public interface GLARBGeometryShader4 extends overrun.marshal.DirectAccess {
int GL_LINES_ADJACENCY_ARB = 0x000A;
int GL_LINE_STRIP_ADJACENCY_ARB = 0x000B;
int GL_TRIANGLES_ADJACENCY_ARB = 0x000C;
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 5075ef18..7516097b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_gpu_shader_int64}
*/
-public interface GLARBGpuShaderInt64 {
+public interface GLARBGpuShaderInt64 extends overrun.marshal.DirectAccess {
int GL_INT64_ARB = 0x140E;
int GL_INT64_VEC2_ARB = 0x8FE9;
int GL_INT64_VEC3_ARB = 0x8FEA;
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 a1eb8142..98470fc0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_ARB_half_float_pixel}
*/
-public interface GLARBHalfFloatPixel {
+public interface GLARBHalfFloatPixel extends overrun.marshal.DirectAccess {
int GL_HALF_FLOAT_ARB = 0x140B;
}
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 b1d2bf6f..42ac6c22 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_imaging}
*/
-public interface GLARBImaging {
+public interface GLARBImaging extends overrun.marshal.DirectAccess {
int GL_CONVOLUTION_BORDER_MODE = 0x8013;
int GL_CONVOLUTION_FILTER_SCALE = 0x8014;
int GL_CONVOLUTION_FILTER_BIAS = 0x8015;
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 90fc2982..81b22bfb 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_indirect_parameters}
*/
-public interface GLARBIndirectParameters {
+public interface GLARBIndirectParameters extends overrun.marshal.DirectAccess {
int GL_PARAMETER_BUFFER_ARB = 0x80EE;
int GL_PARAMETER_BUFFER_BINDING_ARB = 0x80EF;
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 1fe3dd84..fb05b62b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_instanced_arrays}
*/
-public interface GLARBInstancedArrays {
+public interface GLARBInstancedArrays extends overrun.marshal.DirectAccess {
int GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE;
default void glVertexAttribDivisorARB(int index, int divisor) {
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 72dc3581..4dde598c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_internalformat_query2}
*/
-public interface GLARBInternalformatQuery2 {
+public interface GLARBInternalformatQuery2 extends overrun.marshal.DirectAccess {
int GL_SRGB_DECODE_ARB = 0x8299;
int GL_VIEW_CLASS_EAC_R11 = 0x9383;
int GL_VIEW_CLASS_EAC_RG11 = 0x9384;
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 f5f9895e..662b0399 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_matrix_palette}
*/
-public interface GLARBMatrixPalette {
+public interface GLARBMatrixPalette extends overrun.marshal.DirectAccess {
int GL_MATRIX_PALETTE_ARB = 0x8840;
int GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841;
int GL_MAX_PALETTE_MATRICES_ARB = 0x8842;
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 c018b261..c1062387 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_multisample}
*/
-public interface GLARBMultisample {
+public interface GLARBMultisample extends overrun.marshal.DirectAccess {
int GL_MULTISAMPLE_ARB = 0x809D;
int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E;
int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F;
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 c37b1e30..a43e0184 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_multitexture}
*/
-public interface GLARBMultitexture {
+public interface GLARBMultitexture extends overrun.marshal.DirectAccess {
int GL_TEXTURE0_ARB = 0x84C0;
int GL_TEXTURE1_ARB = 0x84C1;
int GL_TEXTURE2_ARB = 0x84C2;
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 140562ff..57103f8e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_occlusion_query}
*/
-public interface GLARBOcclusionQuery {
+public interface GLARBOcclusionQuery extends overrun.marshal.DirectAccess {
int GL_QUERY_COUNTER_BITS_ARB = 0x8864;
int GL_CURRENT_QUERY_ARB = 0x8865;
int GL_QUERY_RESULT_ARB = 0x8866;
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 41869a4e..0fcf6279 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_parallel_shader_compile}
*/
-public interface GLARBParallelShaderCompile {
+public interface GLARBParallelShaderCompile extends overrun.marshal.DirectAccess {
int GL_MAX_SHADER_COMPILER_THREADS_ARB = 0x91B0;
int GL_COMPLETION_STATUS_ARB = 0x91B1;
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 4649cf71..ca3ebd0a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_pipeline_statistics_query}
*/
-public interface GLARBPipelineStatisticsQuery {
+public interface GLARBPipelineStatisticsQuery extends overrun.marshal.DirectAccess {
int GL_VERTICES_SUBMITTED_ARB = 0x82EE;
int GL_PRIMITIVES_SUBMITTED_ARB = 0x82EF;
int GL_VERTEX_SHADER_INVOCATIONS_ARB = 0x82F0;
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 219b4893..b12abbd1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_pixel_buffer_object}
*/
-public interface GLARBPixelBufferObject {
+public interface GLARBPixelBufferObject extends overrun.marshal.DirectAccess {
int GL_PIXEL_PACK_BUFFER_ARB = 0x88EB;
int GL_PIXEL_UNPACK_BUFFER_ARB = 0x88EC;
int GL_PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED;
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 e94d5f92..875a94f6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_point_parameters}
*/
-public interface GLARBPointParameters {
+public interface GLARBPointParameters extends overrun.marshal.DirectAccess {
int GL_POINT_SIZE_MIN_ARB = 0x8126;
int GL_POINT_SIZE_MAX_ARB = 0x8127;
int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128;
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 daad528e..dbdb5275 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_point_sprite}
*/
-public interface GLARBPointSprite {
+public interface GLARBPointSprite extends overrun.marshal.DirectAccess {
int GL_POINT_SPRITE_ARB = 0x8861;
int GL_COORD_REPLACE_ARB = 0x8862;
}
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 39cd6876..ea857de2 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_robustness}
*/
-public interface GLARBRobustness {
+public interface GLARBRobustness extends overrun.marshal.DirectAccess {
int GL_NO_RESET_NOTIFICATION_ARB = 0x8261;
int GL_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256;
int GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004;
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 8c893a5e..e17b644e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_sample_locations}
*/
-public interface GLARBSampleLocations {
+public interface GLARBSampleLocations extends overrun.marshal.DirectAccess {
int GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB = 0x933D;
int GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB = 0x933E;
int GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB = 0x933F;
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 1f7f9f88..c8a05341 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_sample_shading}
*/
-public interface GLARBSampleShading {
+public interface GLARBSampleShading extends overrun.marshal.DirectAccess {
int GL_SAMPLE_SHADING_ARB = 0x8C36;
int GL_MIN_SAMPLE_SHADING_VALUE_ARB = 0x8C37;
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 ccea15ae..18bdbd7a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_shader_objects}
*/
-public interface GLARBShaderObjects {
+public interface GLARBShaderObjects extends overrun.marshal.DirectAccess {
int GL_PROGRAM_OBJECT_ARB = 0x8B40;
int GL_SHADER_OBJECT_ARB = 0x8B48;
int GL_OBJECT_TYPE_ARB = 0x8B4E;
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 3a6e38ac..12210489 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_shading_language_include}
*/
-public interface GLARBShadingLanguageInclude {
+public interface GLARBShadingLanguageInclude extends overrun.marshal.DirectAccess {
int GL_SHADER_INCLUDE_ARB = 0x8DAE;
int GL_NAMED_STRING_LENGTH_ARB = 0x8DE9;
int GL_NAMED_STRING_TYPE_ARB = 0x8DEA;
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 bc145da3..fd69c62e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_shadow}
*/
-public interface GLARBShadow {
+public interface GLARBShadow extends overrun.marshal.DirectAccess {
int GL_TEXTURE_COMPARE_MODE_ARB = 0x884C;
int GL_TEXTURE_COMPARE_FUNC_ARB = 0x884D;
int GL_COMPARE_R_TO_TEXTURE_ARB = 0x884E;
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 5a5db5fb..32cd4477 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_ARB_shadow_ambient}
*/
-public interface GLARBShadowAmbient {
+public interface GLARBShadowAmbient extends overrun.marshal.DirectAccess {
int GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF;
}
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 178c3fe4..0bb5fa82 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_sparse_buffer}
*/
-public interface GLARBSparseBuffer {
+public interface GLARBSparseBuffer extends overrun.marshal.DirectAccess {
int GL_SPARSE_STORAGE_BIT_ARB = 0x0400;
int GL_SPARSE_BUFFER_PAGE_SIZE_ARB = 0x82F8;
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 34744101..7b03daab 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_sparse_texture}
*/
-public interface GLARBSparseTexture {
+public interface GLARBSparseTexture extends overrun.marshal.DirectAccess {
int GL_TEXTURE_SPARSE_ARB = 0x91A6;
int GL_VIRTUAL_PAGE_SIZE_INDEX_ARB = 0x91A7;
int GL_NUM_SPARSE_LEVELS_ARB = 0x91AA;
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 dae12362..bb55ad4e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_ARB_texture_border_clamp}
*/
-public interface GLARBTextureBorderClamp {
+public interface GLARBTextureBorderClamp extends overrun.marshal.DirectAccess {
int GL_CLAMP_TO_BORDER_ARB = 0x812D;
}
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 d00db87a..ff31e80b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_buffer_object}
*/
-public interface GLARBTextureBufferObject {
+public interface GLARBTextureBufferObject extends overrun.marshal.DirectAccess {
int GL_TEXTURE_BUFFER_ARB = 0x8C2A;
int GL_MAX_TEXTURE_BUFFER_SIZE_ARB = 0x8C2B;
int GL_TEXTURE_BINDING_BUFFER_ARB = 0x8C2C;
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 eb8a921c..8abd8aa6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_compression}
*/
-public interface GLARBTextureCompression {
+public interface GLARBTextureCompression extends overrun.marshal.DirectAccess {
int GL_COMPRESSED_ALPHA_ARB = 0x84E9;
int GL_COMPRESSED_LUMINANCE_ARB = 0x84EA;
int GL_COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB;
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 e52dec8f..a9f602a1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_compression_bptc}
*/
-public interface GLARBTextureCompressionBptc {
+public interface GLARBTextureCompressionBptc extends overrun.marshal.DirectAccess {
int GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C;
int GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D;
int GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E;
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 d03ec6c2..ec103b6a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_cube_map}
*/
-public interface GLARBTextureCubeMap {
+public interface GLARBTextureCubeMap extends overrun.marshal.DirectAccess {
int GL_NORMAL_MAP_ARB = 0x8511;
int GL_REFLECTION_MAP_ARB = 0x8512;
int GL_TEXTURE_CUBE_MAP_ARB = 0x8513;
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 523cf8bf..2de16da6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_cube_map_array}
*/
-public interface GLARBTextureCubeMapArray {
+public interface GLARBTextureCubeMapArray extends overrun.marshal.DirectAccess {
int GL_TEXTURE_CUBE_MAP_ARRAY_ARB = 0x9009;
int GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB = 0x900A;
int GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB = 0x900B;
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 be169d1b..aa45b95b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_env_combine}
*/
-public interface GLARBTextureEnvCombine {
+public interface GLARBTextureEnvCombine extends overrun.marshal.DirectAccess {
int GL_COMBINE_ARB = 0x8570;
int GL_COMBINE_RGB_ARB = 0x8571;
int GL_COMBINE_ALPHA_ARB = 0x8572;
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 114e3b88..e7bb5211 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_env_dot3}
*/
-public interface GLARBTextureEnvDot3 {
+public interface GLARBTextureEnvDot3 extends overrun.marshal.DirectAccess {
int GL_DOT3_RGB_ARB = 0x86AE;
int GL_DOT3_RGBA_ARB = 0x86AF;
}
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 3b814cc8..6f3d127d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_filter_minmax}
*/
-public interface GLARBTextureFilterMinmax {
+public interface GLARBTextureFilterMinmax extends overrun.marshal.DirectAccess {
int GL_TEXTURE_REDUCTION_MODE_ARB = 0x9366;
int GL_WEIGHTED_AVERAGE_ARB = 0x9367;
}
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 77056a27..e2ab8ac4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_float}
*/
-public interface GLARBTextureFloat {
+public interface GLARBTextureFloat extends overrun.marshal.DirectAccess {
int GL_TEXTURE_RED_TYPE_ARB = 0x8C10;
int GL_TEXTURE_GREEN_TYPE_ARB = 0x8C11;
int GL_TEXTURE_BLUE_TYPE_ARB = 0x8C12;
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 710b9a40..5b2d5e11 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_gather}
*/
-public interface GLARBTextureGather {
+public interface GLARBTextureGather extends overrun.marshal.DirectAccess {
int GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5E;
int GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5F;
int GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB = 0x8F9F;
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 7b88fc63..2f9fccda 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_ARB_texture_mirrored_repeat}
*/
-public interface GLARBTextureMirroredRepeat {
+public interface GLARBTextureMirroredRepeat extends overrun.marshal.DirectAccess {
int GL_MIRRORED_REPEAT_ARB = 0x8370;
}
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 3b9d7975..cbb6841f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_texture_rectangle}
*/
-public interface GLARBTextureRectangle {
+public interface GLARBTextureRectangle extends overrun.marshal.DirectAccess {
int GL_TEXTURE_RECTANGLE_ARB = 0x84F5;
int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6;
int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7;
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 2bd65993..bd4966ca 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_transform_feedback_overflow_query}
*/
-public interface GLARBTransformFeedbackOverflowQuery {
+public interface GLARBTransformFeedbackOverflowQuery extends overrun.marshal.DirectAccess {
int GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB = 0x82EC;
int GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB = 0x82ED;
}
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 0a2a85c7..bacc4545 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_transpose_matrix}
*/
-public interface GLARBTransposeMatrix {
+public interface GLARBTransposeMatrix extends overrun.marshal.DirectAccess {
int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3;
int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4;
int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5;
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 bbb4d9b7..ba3c5f29 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_vertex_blend}
*/
-public interface GLARBVertexBlend {
+public interface GLARBVertexBlend extends overrun.marshal.DirectAccess {
int GL_MAX_VERTEX_UNITS_ARB = 0x86A4;
int GL_ACTIVE_VERTEX_UNITS_ARB = 0x86A5;
int GL_WEIGHT_SUM_UNITY_ARB = 0x86A6;
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 f7766a2a..ee332a45 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_vertex_buffer_object}
*/
-public interface GLARBVertexBufferObject {
+public interface GLARBVertexBufferObject extends overrun.marshal.DirectAccess {
int GL_BUFFER_SIZE_ARB = 0x8764;
int GL_BUFFER_USAGE_ARB = 0x8765;
int GL_ARRAY_BUFFER_ARB = 0x8892;
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 068d213c..2eaf35cd 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_vertex_program}
*/
-public interface GLARBVertexProgram {
+public interface GLARBVertexProgram extends overrun.marshal.DirectAccess {
int GL_COLOR_SUM_ARB = 0x8458;
int GL_VERTEX_PROGRAM_ARB = 0x8620;
int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
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 e5b6d87b..3d615145 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_vertex_shader}
*/
-public interface GLARBVertexShader {
+public interface GLARBVertexShader extends overrun.marshal.DirectAccess {
int GL_VERTEX_SHADER_ARB = 0x8B31;
int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A;
int GL_MAX_VARYING_FLOATS_ARB = 0x8B4B;
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 25c650ac..54ea0344 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_viewport_array}
*/
-public interface GLARBViewportArray {
+public interface GLARBViewportArray extends overrun.marshal.DirectAccess {
default void glDepthRangeArraydvNV(int first, int count, @NativeType("const GLdouble *") MemorySegment v) {
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 710a69f8..1868704c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ARB_window_pos}
*/
-public interface GLARBWindowPos {
+public interface GLARBWindowPos extends overrun.marshal.DirectAccess {
default void glWindowPos2dARB(double x, double y) {
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 8d68a03d..9f04e756 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_draw_buffers}
*/
-public interface GLATIDrawBuffers {
+public interface GLATIDrawBuffers extends overrun.marshal.DirectAccess {
int GL_MAX_DRAW_BUFFERS_ATI = 0x8824;
int GL_DRAW_BUFFER0_ATI = 0x8825;
int GL_DRAW_BUFFER1_ATI = 0x8826;
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 a088c8e3..641a0f2b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_element_array}
*/
-public interface GLATIElementArray {
+public interface GLATIElementArray extends overrun.marshal.DirectAccess {
int GL_ELEMENT_ARRAY_ATI = 0x8768;
int GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769;
int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
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 a4904ef6..7be27a55 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_envmap_bumpmap}
*/
-public interface GLATIEnvmapBumpmap {
+public interface GLATIEnvmapBumpmap extends overrun.marshal.DirectAccess {
int GL_BUMP_ROT_MATRIX_ATI = 0x8775;
int GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776;
int GL_BUMP_NUM_TEX_UNITS_ATI = 0x8777;
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 0e293efb..6efc1ff4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_fragment_shader}
*/
-public interface GLATIFragmentShader {
+public interface GLATIFragmentShader extends overrun.marshal.DirectAccess {
int GL_FRAGMENT_SHADER_ATI = 0x8920;
int GL_REG_0_ATI = 0x8921;
int GL_REG_1_ATI = 0x8922;
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 e0947ba9..ffd28078 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_map_object_buffer}
*/
-public interface GLATIMapObjectBuffer {
+public interface GLATIMapObjectBuffer extends overrun.marshal.DirectAccess {
@NativeType("void*") default MemorySegment glMapObjectBufferATI(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 fdc4972f..098583f4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_meminfo}
*/
-public interface GLATIMeminfo {
+public interface GLATIMeminfo extends overrun.marshal.DirectAccess {
int GL_VBO_FREE_MEMORY_ATI = 0x87FB;
int GL_TEXTURE_FREE_MEMORY_ATI = 0x87FC;
int GL_RENDERBUFFER_FREE_MEMORY_ATI = 0x87FD;
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 1d75851e..c478b7e3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_pixel_format_float}
*/
-public interface GLATIPixelFormatFloat {
+public interface GLATIPixelFormatFloat extends overrun.marshal.DirectAccess {
int GL_RGBA_FLOAT_MODE_ATI = 0x8820;
int GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI = 0x8835;
}
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 4f3ff91a..08a7db94 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_pn_triangles}
*/
-public interface GLATIPnTriangles {
+public interface GLATIPnTriangles extends overrun.marshal.DirectAccess {
int GL_PN_TRIANGLES_ATI = 0x87F0;
int GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1;
int GL_PN_TRIANGLES_POINT_MODE_ATI = 0x87F2;
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 c3236526..da620f2b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_separate_stencil}
*/
-public interface GLATISeparateStencil {
+public interface GLATISeparateStencil extends overrun.marshal.DirectAccess {
int GL_STENCIL_BACK_FUNC_ATI = 0x8800;
int GL_STENCIL_BACK_FAIL_ATI = 0x8801;
int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802;
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 b842b10d..81e5dac1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_ATI_text_fragment_shader}
*/
-public interface GLATITextFragmentShader {
+public interface GLATITextFragmentShader extends overrun.marshal.DirectAccess {
int GL_TEXT_FRAGMENT_SHADER_ATI = 0x8200;
}
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 68b66387..423b9a87 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_texture_env_combine3}
*/
-public interface GLATITextureEnvCombine3 {
+public interface GLATITextureEnvCombine3 extends overrun.marshal.DirectAccess {
int GL_MODULATE_ADD_ATI = 0x8744;
int GL_MODULATE_SIGNED_ADD_ATI = 0x8745;
int GL_MODULATE_SUBTRACT_ATI = 0x8746;
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 22828659..d8d760d3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_texture_float}
*/
-public interface GLATITextureFloat {
+public interface GLATITextureFloat extends overrun.marshal.DirectAccess {
int GL_RGBA_FLOAT32_ATI = 0x8814;
int GL_RGB_FLOAT32_ATI = 0x8815;
int GL_ALPHA_FLOAT32_ATI = 0x8816;
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 d3bb0123..cab1caa1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_texture_mirror_once}
*/
-public interface GLATITextureMirrorOnce {
+public interface GLATITextureMirrorOnce extends overrun.marshal.DirectAccess {
int GL_MIRROR_CLAMP_ATI = 0x8742;
int GL_MIRROR_CLAMP_TO_EDGE_ATI = 0x8743;
}
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 86c3b05e..a7051fb4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_vertex_array_object}
*/
-public interface GLATIVertexArrayObject {
+public interface GLATIVertexArrayObject extends overrun.marshal.DirectAccess {
int GL_STATIC_ATI = 0x8760;
int GL_DYNAMIC_ATI = 0x8761;
int GL_PRESERVE_ATI = 0x8762;
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 a9b62857..b73108d6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_vertex_attrib_array_object}
*/
-public interface GLATIVertexAttribArrayObject {
+public interface GLATIVertexAttribArrayObject extends overrun.marshal.DirectAccess {
default void glVertexAttribArrayObjectATI(int index, int size, int type, boolean normalized, int stride, int buffer, int offset) {
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 986993a2..4fca36f8 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_ATI_vertex_streams}
*/
-public interface GLATIVertexStreams {
+public interface GLATIVertexStreams extends overrun.marshal.DirectAccess {
int GL_MAX_VERTEX_STREAMS_ATI = 0x876B;
int GL_VERTEX_STREAM0_ATI = 0x876C;
int GL_VERTEX_STREAM1_ATI = 0x876D;
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 b3824988..a9145fd8 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_422_pixels}
*/
-public interface GLEXT422Pixels {
+public interface GLEXT422Pixels extends overrun.marshal.DirectAccess {
int GL_422_EXT = 0x80CC;
int GL_422_REV_EXT = 0x80CD;
int GL_422_AVERAGE_EXT = 0x80CE;
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 0f670c80..8719dfe6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_EXT_abgr}
*/
-public interface GLEXTAbgr {
+public interface GLEXTAbgr extends overrun.marshal.DirectAccess {
int GL_ABGR_EXT = 0x8000;
}
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 f1e8f865..cc2b9481 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_bgra}
*/
-public interface GLEXTBgra {
+public interface GLEXTBgra extends overrun.marshal.DirectAccess {
int GL_BGR_EXT = 0x80E0;
int GL_BGRA_EXT = 0x80E1;
}
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 6ee5d678..3a0ceb5d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_bindable_uniform}
*/
-public interface GLEXTBindableUniform {
+public interface GLEXTBindableUniform extends overrun.marshal.DirectAccess {
int GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT = 0x8DE2;
int GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT = 0x8DE3;
int GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT = 0x8DE4;
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 ee524b68..1a0ed3de 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_blend_color}
*/
-public interface GLEXTBlendColor {
+public interface GLEXTBlendColor extends overrun.marshal.DirectAccess {
int GL_CONSTANT_COLOR_EXT = 0x8001;
int GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002;
int GL_CONSTANT_ALPHA_EXT = 0x8003;
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 6c088567..4646c3c5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_blend_equation_separate}
*/
-public interface GLEXTBlendEquationSeparate {
+public interface GLEXTBlendEquationSeparate extends overrun.marshal.DirectAccess {
int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D;
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 29319c9e..dde78094 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_blend_func_separate}
*/
-public interface GLEXTBlendFuncSeparate {
+public interface GLEXTBlendFuncSeparate extends overrun.marshal.DirectAccess {
int GL_BLEND_DST_RGB_EXT = 0x80C8;
int GL_BLEND_SRC_RGB_EXT = 0x80C9;
int GL_BLEND_DST_ALPHA_EXT = 0x80CA;
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 117a4837..9f03f1ca 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_blend_minmax}
*/
-public interface GLEXTBlendMinmax {
+public interface GLEXTBlendMinmax extends overrun.marshal.DirectAccess {
int GL_MIN_EXT = 0x8007;
int GL_MAX_EXT = 0x8008;
int GL_FUNC_ADD_EXT = 0x8006;
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 f2b4b6f3..8c990426 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_blend_subtract}
*/
-public interface GLEXTBlendSubtract {
+public interface GLEXTBlendSubtract extends overrun.marshal.DirectAccess {
int GL_FUNC_SUBTRACT_EXT = 0x800A;
int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B;
}
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 d6776a02..f5579d61 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_EXT_clip_volume_hint}
*/
-public interface GLEXTClipVolumeHint {
+public interface GLEXTClipVolumeHint extends overrun.marshal.DirectAccess {
int GL_CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F0;
}
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 1c95a237..0e08cd00 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_cmyka}
*/
-public interface GLEXTCmyka {
+public interface GLEXTCmyka extends overrun.marshal.DirectAccess {
int GL_CMYK_EXT = 0x800C;
int GL_CMYKA_EXT = 0x800D;
int GL_PACK_CMYK_HINT_EXT = 0x800E;
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 6a06a25f..69cdd788 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_color_subtable}
*/
-public interface GLEXTColorSubtable {
+public interface GLEXTColorSubtable extends overrun.marshal.DirectAccess {
default void glColorSubTableEXT(int target, int start, int count, int format, int type, @NativeType("const void *") MemorySegment data) {
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 c167e351..4880a78e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_compiled_vertex_array}
*/
-public interface GLEXTCompiledVertexArray {
+public interface GLEXTCompiledVertexArray extends overrun.marshal.DirectAccess {
int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8;
int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9;
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 2a53f944..6281f6c1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_convolution}
*/
-public interface GLEXTConvolution {
+public interface GLEXTConvolution extends overrun.marshal.DirectAccess {
int GL_CONVOLUTION_1D_EXT = 0x8010;
int GL_CONVOLUTION_2D_EXT = 0x8011;
int GL_SEPARABLE_2D_EXT = 0x8012;
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 b89fa0d6..d0ff876d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_coordinate_frame}
*/
-public interface GLEXTCoordinateFrame {
+public interface GLEXTCoordinateFrame extends overrun.marshal.DirectAccess {
int GL_TANGENT_ARRAY_EXT = 0x8439;
int GL_BINORMAL_ARRAY_EXT = 0x843A;
int GL_CURRENT_TANGENT_EXT = 0x843B;
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 1d82f52f..bcadb082 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_copy_texture}
*/
-public interface GLEXTCopyTexture {
+public interface GLEXTCopyTexture extends overrun.marshal.DirectAccess {
default void glCopyTexImage1DEXT(int target, int level, int internalformat, int x, int y, int width, int border) {
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 e840b630..c5d960a4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_cull_vertex}
*/
-public interface GLEXTCullVertex {
+public interface GLEXTCullVertex extends overrun.marshal.DirectAccess {
int GL_CULL_VERTEX_EXT = 0x81AA;
int GL_CULL_VERTEX_EYE_POSITION_EXT = 0x81AB;
int GL_CULL_VERTEX_OBJECT_POSITION_EXT = 0x81AC;
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 18b62926..d63ad366 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_debug_label}
*/
-public interface GLEXTDebugLabel {
+public interface GLEXTDebugLabel extends overrun.marshal.DirectAccess {
int GL_PROGRAM_PIPELINE_OBJECT_EXT = 0x8A4F;
int GL_PROGRAM_OBJECT_EXT = 0x8B40;
int GL_SHADER_OBJECT_EXT = 0x8B48;
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 0d041b7a..633e2e07 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_debug_marker}
*/
-public interface GLEXTDebugMarker {
+public interface GLEXTDebugMarker extends overrun.marshal.DirectAccess {
default void glInsertEventMarkerEXT(int length, @NativeType("const GLchar *") MemorySegment marker) {
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 f2c719d8..49ae5790 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_depth_bounds_test}
*/
-public interface GLEXTDepthBoundsTest {
+public interface GLEXTDepthBoundsTest extends overrun.marshal.DirectAccess {
int GL_DEPTH_BOUNDS_TEST_EXT = 0x8890;
int GL_DEPTH_BOUNDS_EXT = 0x8891;
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 41ffec55..e87bbb36 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_direct_state_access}
*/
-public interface GLEXTDirectStateAccess {
+public interface GLEXTDirectStateAccess extends overrun.marshal.DirectAccess {
int GL_PROGRAM_MATRIX_EXT = 0x8E2D;
int GL_TRANSPOSE_PROGRAM_MATRIX_EXT = 0x8E2E;
int GL_PROGRAM_MATRIX_STACK_DEPTH_EXT = 0x8E2F;
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 2f98ef87..143af918 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_draw_buffers2}
*/
-public interface GLEXTDrawBuffers2 {
+public interface GLEXTDrawBuffers2 extends overrun.marshal.DirectAccess {
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 bd5498df..40326ffe 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_draw_instanced}
*/
-public interface GLEXTDrawInstanced {
+public interface GLEXTDrawInstanced extends overrun.marshal.DirectAccess {
default void glDrawArraysInstancedEXT(int mode, int start, int count, 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 583bc9a9..74fe22e7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_draw_range_elements}
*/
-public interface GLEXTDrawRangedElements {
+public interface GLEXTDrawRangedElements extends overrun.marshal.DirectAccess {
int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8;
int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9;
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 ccc7d3f4..aa88f1f3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_EGL_image_storage}
*/
-public interface GLEXTEGLImageStorage {
+public interface GLEXTEGLImageStorage extends overrun.marshal.DirectAccess {
default void glEGLImageTargetTexStorageEXT(int target, @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 fde1998e..1cfc42b7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_external_buffer}
*/
-public interface GLEXTExternalBuffer {
+public interface GLEXTExternalBuffer extends overrun.marshal.DirectAccess {
default void glBufferStorageExternalEXT(int target, 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 efcbd435..32bc970b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_fog_coord}
*/
-public interface GLEXTFogCoord {
+public interface GLEXTFogCoord extends overrun.marshal.DirectAccess {
int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450;
int GL_FOG_COORDINATE_EXT = 0x8451;
int GL_FRAGMENT_DEPTH_EXT = 0x8452;
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 2aaf062b..e25a1eec 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_framebuffer_blit}
*/
-public interface GLEXTFramebufferBlit {
+public interface GLEXTFramebufferBlit extends overrun.marshal.DirectAccess {
int GL_READ_FRAMEBUFFER_EXT = 0x8CA8;
int GL_DRAW_FRAMEBUFFER_EXT = 0x8CA9;
int GL_DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CA6;
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 97c7ae36..d20925ad 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_framebuffer_blit_layers}
*/
-public interface GLEXTFramebufferBlitLayers {
+public interface GLEXTFramebufferBlitLayers extends overrun.marshal.DirectAccess {
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();
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 6cf1fa12..b6aca848 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_framebuffer_multisample}
*/
-public interface GLEXTFramebufferMultisample {
+public interface GLEXTFramebufferMultisample extends overrun.marshal.DirectAccess {
int GL_RENDERBUFFER_SAMPLES_EXT = 0x8CAB;
int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56;
int GL_MAX_SAMPLES_EXT = 0x8D57;
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 112f975e..ba59e0bb 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_framebuffer_multisample_blit_scaled}
*/
-public interface GLEXTFramebufferMultisampleBlitScaled {
+public interface GLEXTFramebufferMultisampleBlitScaled extends overrun.marshal.DirectAccess {
int GL_SCALED_RESOLVE_FASTEST_EXT = 0x90BA;
int GL_SCALED_RESOLVE_NICEST_EXT = 0x90BB;
}
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 ebf658e2..6fa18c3f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_framebuffer_object}
*/
-public interface GLEXTFramebufferObject {
+public interface GLEXTFramebufferObject extends overrun.marshal.DirectAccess {
int GL_INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506;
int GL_MAX_RENDERBUFFER_SIZE_EXT = 0x84E8;
int GL_FRAMEBUFFER_BINDING_EXT = 0x8CA6;
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 2ee9320d..51d319a4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_geometry_shader4}
*/
-public interface GLEXTGeometryShader4 {
+public interface GLEXTGeometryShader4 extends overrun.marshal.DirectAccess {
int GL_GEOMETRY_SHADER_EXT = 0x8DD9;
int GL_GEOMETRY_VERTICES_OUT_EXT = 0x8DDA;
int GL_GEOMETRY_INPUT_TYPE_EXT = 0x8DDB;
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 5b3399ef..2ff46629 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_gpu_program_parameters}
*/
-public interface GLEXTGpuProgramParameters {
+public interface GLEXTGpuProgramParameters extends overrun.marshal.DirectAccess {
default void glProgramEnvParameters4fvEXT(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 59e25c46..299e02c5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_gpu_shader4}
*/
-public interface GLEXTGpuShader4 {
+public interface GLEXTGpuShader4 extends overrun.marshal.DirectAccess {
int GL_SAMPLER_1D_ARRAY_EXT = 0x8DC0;
int GL_SAMPLER_2D_ARRAY_EXT = 0x8DC1;
int GL_SAMPLER_BUFFER_EXT = 0x8DC2;
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 37785031..745ffc0f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_histogram}
*/
-public interface GLEXTHistogram {
+public interface GLEXTHistogram extends overrun.marshal.DirectAccess {
int GL_HISTOGRAM_EXT = 0x8024;
int GL_PROXY_HISTOGRAM_EXT = 0x8025;
int GL_HISTOGRAM_WIDTH_EXT = 0x8026;
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 73be6aef..083d836b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_index_array_formats}
*/
-public interface GLEXTIndexArrayFormats {
+public interface GLEXTIndexArrayFormats extends overrun.marshal.DirectAccess {
int GL_IUI_V2F_EXT = 0x81AD;
int GL_IUI_V3F_EXT = 0x81AE;
int GL_IUI_N3F_V2F_EXT = 0x81AF;
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 ed89902e..e0be6e9d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_index_func}
*/
-public interface GLEXTIndexFunc {
+public interface GLEXTIndexFunc extends overrun.marshal.DirectAccess {
int GL_INDEX_TEST_EXT = 0x81B5;
int GL_INDEX_TEST_FUNC_EXT = 0x81B6;
int GL_INDEX_TEST_REF_EXT = 0x81B7;
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 629c7f1e..f0184d81 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_index_material}
*/
-public interface GLEXTIndexMaterial {
+public interface GLEXTIndexMaterial extends overrun.marshal.DirectAccess {
int GL_INDEX_MATERIAL_EXT = 0x81B8;
int GL_INDEX_MATERIAL_PARAMETER_EXT = 0x81B9;
int GL_INDEX_MATERIAL_FACE_EXT = 0x81BA;
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 8c5206a4..cb75a328 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_light_texture}
*/
-public interface GLEXTLightTexture {
+public interface GLEXTLightTexture extends overrun.marshal.DirectAccess {
int GL_FRAGMENT_MATERIAL_EXT = 0x8349;
int GL_FRAGMENT_NORMAL_EXT = 0x834A;
int GL_FRAGMENT_COLOR_EXT = 0x834C;
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 5cefb7ca..4096c2cb 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_memory_object}
*/
-public interface GLEXTMemoryObject {
+public interface GLEXTMemoryObject extends overrun.marshal.DirectAccess {
int GL_TEXTURE_TILING_EXT = 0x9580;
int GL_DEDICATED_MEMORY_OBJECT_EXT = 0x9581;
int GL_PROTECTED_MEMORY_OBJECT_EXT = 0x959B;
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 d61430c8..7c54ab34 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_memory_object_fd}
*/
-public interface GLEXTMemoryObjectFd {
+public interface GLEXTMemoryObjectFd extends overrun.marshal.DirectAccess {
int GL_HANDLE_TYPE_OPAQUE_FD_EXT = 0x9586;
default void glImportMemoryFdEXT(int memory, long size, int handleType, int fd) {
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 4a55e0ba..93ad4fad 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_memory_object_win32}
*/
-public interface GLEXTMemoryObjectWin32 {
+public interface GLEXTMemoryObjectWin32 extends overrun.marshal.DirectAccess {
int GL_HANDLE_TYPE_OPAQUE_WIN32_EXT = 0x9587;
int GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT = 0x9588;
int GL_DEVICE_LUID_EXT = 0x9599;
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 15d7b0fc..fda90b70 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_multi_draw_arrays}
*/
-public interface GLEXTMultiDrawArrays {
+public interface GLEXTMultiDrawArrays extends overrun.marshal.DirectAccess {
default void glMultiDrawArraysEXT(int mode, @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/ext/GLEXTMultisample.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/ext/GLEXTMultisample.java
index 0b960d2c..daeadcb4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_multisample}
*/
-public interface GLEXTMultisample {
+public interface GLEXTMultisample extends overrun.marshal.DirectAccess {
int GL_MULTISAMPLE_EXT = 0x809D;
int GL_SAMPLE_ALPHA_TO_MASK_EXT = 0x809E;
int GL_SAMPLE_ALPHA_TO_ONE_EXT = 0x809F;
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 8589c8f3..c1a207aa 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_packed_depth_stencil}
*/
-public interface GLEXTPackedDepthStencil {
+public interface GLEXTPackedDepthStencil extends overrun.marshal.DirectAccess {
int GL_DEPTH_STENCIL_EXT = 0x84F9;
int GL_UNSIGNED_INT_24_8_EXT = 0x84FA;
int GL_DEPTH24_STENCIL8_EXT = 0x88F0;
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 45236fd5..924aeeaa 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_packed_float}
*/
-public interface GLEXTPackedFloat {
+public interface GLEXTPackedFloat extends overrun.marshal.DirectAccess {
int GL_R11F_G11F_B10F_EXT = 0x8C3A;
int GL_UNSIGNED_INT_10F_11F_11F_REV_EXT = 0x8C3B;
int GL_RGBA_SIGNED_COMPONENTS_EXT = 0x8C3C;
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 eef6ed88..099e35ac 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_packed_pixels}
*/
-public interface GLEXTPackedPixels {
+public interface GLEXTPackedPixels extends overrun.marshal.DirectAccess {
int GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032;
int GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033;
int GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034;
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 a4dd8df4..1c053771 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_paletted_texture}
*/
-public interface GLEXTPalettedTexture {
+public interface GLEXTPalettedTexture extends overrun.marshal.DirectAccess {
int GL_COLOR_INDEX1_EXT = 0x80E2;
int GL_COLOR_INDEX2_EXT = 0x80E3;
int GL_COLOR_INDEX4_EXT = 0x80E4;
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 e8d90fab..cc11d859 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_pixel_buffer_object}
*/
-public interface GLEXTPixelBufferObject {
+public interface GLEXTPixelBufferObject extends overrun.marshal.DirectAccess {
int GL_PIXEL_PACK_BUFFER_EXT = 0x88EB;
int GL_PIXEL_UNPACK_BUFFER_EXT = 0x88EC;
int GL_PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED;
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 8d5f646a..d15d1239 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_pixel_transform}
*/
-public interface GLEXTPixelTransform {
+public interface GLEXTPixelTransform extends overrun.marshal.DirectAccess {
int GL_PIXEL_TRANSFORM_2D_EXT = 0x8330;
int GL_PIXEL_MAG_FILTER_EXT = 0x8331;
int GL_PIXEL_MIN_FILTER_EXT = 0x8332;
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 d6588055..ddeee9e3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_point_parameters}
*/
-public interface GLEXTPointParameters {
+public interface GLEXTPointParameters extends overrun.marshal.DirectAccess {
int GL_POINT_SIZE_MIN_EXT = 0x8126;
int GL_POINT_SIZE_MAX_EXT = 0x8127;
int GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128;
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 a919dcf4..6c7de755 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_polygon_offset}
*/
-public interface GLEXTPolygonOffset {
+public interface GLEXTPolygonOffset extends overrun.marshal.DirectAccess {
int GL_POLYGON_OFFSET_EXT = 0x8037;
int GL_POLYGON_OFFSET_FACTOR_EXT = 0x8038;
int GL_POLYGON_OFFSET_BIAS_EXT = 0x8039;
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 b97edfe6..6e3dc88f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_polygon_offset_clamp}
*/
-public interface GLEXTPolygonOffsetClamp {
+public interface GLEXTPolygonOffsetClamp extends overrun.marshal.DirectAccess {
int GL_POLYGON_OFFSET_CLAMP_EXT = 0x8E1B;
default void glPolygonOffsetClampEXT(float factor, float units, float clamp) {
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 e3b565be..ca7668fd 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_provoking_vertex}
*/
-public interface GLEXTProvokingVertex {
+public interface GLEXTProvokingVertex extends overrun.marshal.DirectAccess {
int GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT = 0x8E4C;
int GL_FIRST_VERTEX_CONVENTION_EXT = 0x8E4D;
int GL_LAST_VERTEX_CONVENTION_EXT = 0x8E4E;
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 83daa7cf..2314d305 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_raster_multisample}
*/
-public interface GLEXTRasterMultisample {
+public interface GLEXTRasterMultisample extends overrun.marshal.DirectAccess {
int GL_RASTER_MULTISAMPLE_EXT = 0x9327;
int GL_RASTER_SAMPLES_EXT = 0x9328;
int GL_MAX_RASTER_SAMPLES_EXT = 0x9329;
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 ed1f47e6..3faad901 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_EXT_rescale_normal}
*/
-public interface GLEXTRescaleNormal {
+public interface GLEXTRescaleNormal extends overrun.marshal.DirectAccess {
int GL_RESCALE_NORMAL_EXT = 0x803A;
}
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 7992557e..5828455f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_secondary_color}
*/
-public interface GLEXTSecondaryColor {
+public interface GLEXTSecondaryColor extends overrun.marshal.DirectAccess {
int GL_COLOR_SUM_EXT = 0x8458;
int GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459;
int GL_SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A;
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 39d6b0d3..233e5fdb 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_semaphore}
*/
-public interface GLEXTSemaphore {
+public interface GLEXTSemaphore extends overrun.marshal.DirectAccess {
int GL_LAYOUT_GENERAL_EXT = 0x958D;
int GL_LAYOUT_COLOR_ATTACHMENT_EXT = 0x958E;
int GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT = 0x958F;
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 b3408acf..09ac2a8c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_semaphore_fd}
*/
-public interface GLEXTSemaphoreFd {
+public interface GLEXTSemaphoreFd extends overrun.marshal.DirectAccess {
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 50d36bc1..4fef1242 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_semaphore_win32}
*/
-public interface GLEXTSemaphoreWin32 {
+public interface GLEXTSemaphoreWin32 extends overrun.marshal.DirectAccess {
int GL_HANDLE_TYPE_D3D12_FENCE_EXT = 0x9594;
int GL_D3D12_FENCE_VALUE_EXT = 0x9595;
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 8321ccd4..b293733d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_separate_shader_objects}
*/
-public interface GLEXTSeparateShaderObjects {
+public interface GLEXTSeparateShaderObjects extends overrun.marshal.DirectAccess {
int GL_ACTIVE_PROGRAM_EXT = 0x8B8D;
default void glUseShaderProgramEXT(int type, int program) {
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 6d5634a1..06ab8ce3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_separate_specular_color}
*/
-public interface GLEXTSeparateSpecularColor {
+public interface GLEXTSeparateSpecularColor extends overrun.marshal.DirectAccess {
int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8;
int GL_SINGLE_COLOR_EXT = 0x81F9;
int GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA;
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 4641b2b7..7c0ca7b7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_EXT_shader_framebuffer_fetch}
*/
-public interface GLEXTShaderFramebufferFetch {
+public interface GLEXTShaderFramebufferFetch extends overrun.marshal.DirectAccess {
int GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT = 0x8A52;
}
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 bb9484be..b364c97d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_shader_framebuffer_fetch_non_coherent}
*/
-public interface GLEXTShaderFramebufferFetchNonCoherent {
+public interface GLEXTShaderFramebufferFetchNonCoherent extends overrun.marshal.DirectAccess {
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 7af60a0a..f8fdc9e4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_shader_image_load_store}
*/
-public interface GLEXTShaderImageLoadStore {
+public interface GLEXTShaderImageLoadStore extends overrun.marshal.DirectAccess {
int GL_MAX_IMAGE_UNITS_EXT = 0x8F38;
int GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT = 0x8F39;
int GL_IMAGE_BINDING_NAME_EXT = 0x8F3A;
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 a6ab8c6d..cad13d15 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_EXT_shared_texture_palette}
*/
-public interface GLEXTSharedTexturePalette {
+public interface GLEXTSharedTexturePalette extends overrun.marshal.DirectAccess {
int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB;
}
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 a5131ce7..0a811961 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_framebuffer_sRGB}
*/
-public interface GLEXTSrgb {
+public interface GLEXTSrgb extends overrun.marshal.DirectAccess {
int GL_FRAMEBUFFER_SRGB_EXT = 0x8DB9;
int GL_FRAMEBUFFER_SRGB_CAPABLE_EXT = 0x8DBA;
}
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 94e01bb8..0bc2e836 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_stencil_clear_tag}
*/
-public interface GLEXTStencilClearTag {
+public interface GLEXTStencilClearTag extends overrun.marshal.DirectAccess {
int GL_STENCIL_TAG_BITS_EXT = 0x88F2;
int GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3;
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 a74a2730..92e27e28 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_stencil_two_side}
*/
-public interface GLEXTStencilTwoSide {
+public interface GLEXTStencilTwoSide extends overrun.marshal.DirectAccess {
int GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910;
int GL_ACTIVE_STENCIL_FACE_EXT = 0x8911;
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 08e50d3c..9555c225 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_stencil_wrap}
*/
-public interface GLEXTStencilWrap {
+public interface GLEXTStencilWrap extends overrun.marshal.DirectAccess {
int GL_INCR_WRAP_EXT = 0x8507;
int GL_DECR_WRAP_EXT = 0x8508;
}
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 fef4e596..e4831710 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_subtexture}
*/
-public interface GLEXTSubtexture {
+public interface GLEXTSubtexture extends overrun.marshal.DirectAccess {
default void glTexSubImage1DEXT(int target, int level, int xoffset, int width, 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 25311ba8..5f63042e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture}
*/
-public interface GLEXTTexture {
+public interface GLEXTTexture extends overrun.marshal.DirectAccess {
int GL_ALPHA4_EXT = 0x803B;
int GL_ALPHA8_EXT = 0x803C;
int GL_ALPHA12_EXT = 0x803D;
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 76db0b3d..d5bf2bc5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture3D}
*/
-public interface GLEXTTexture3D {
+public interface GLEXTTexture3D extends overrun.marshal.DirectAccess {
int GL_PACK_SKIP_IMAGES_EXT = 0x806B;
int GL_PACK_IMAGE_HEIGHT_EXT = 0x806C;
int GL_UNPACK_SKIP_IMAGES_EXT = 0x806D;
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 033731cf..aea437b1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_array}
*/
-public interface GLEXTTextureArray {
+public interface GLEXTTextureArray extends overrun.marshal.DirectAccess {
int GL_TEXTURE_1D_ARRAY_EXT = 0x8C18;
int GL_PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19;
int GL_TEXTURE_2D_ARRAY_EXT = 0x8C1A;
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 52b8470f..1a678760 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_buffer_object}
*/
-public interface GLEXTTextureBufferObject {
+public interface GLEXTTextureBufferObject extends overrun.marshal.DirectAccess {
int GL_TEXTURE_BUFFER_EXT = 0x8C2A;
int GL_MAX_TEXTURE_BUFFER_SIZE_EXT = 0x8C2B;
int GL_TEXTURE_BINDING_BUFFER_EXT = 0x8C2C;
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 c6a36922..8ee6d63f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_compression_latc}
*/
-public interface GLEXTTextureCompressionLatc {
+public interface GLEXTTextureCompressionLatc extends overrun.marshal.DirectAccess {
int GL_COMPRESSED_LUMINANCE_LATC1_EXT = 0x8C70;
int GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = 0x8C71;
int GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72;
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 a9758dc3..9dc56d07 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_compression_rgtc}
*/
-public interface GLEXTTextureCompressionRgtc {
+public interface GLEXTTextureCompressionRgtc extends overrun.marshal.DirectAccess {
int GL_COMPRESSED_RED_RGTC1_EXT = 0x8DBB;
int GL_COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC;
int GL_COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD;
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 2759be90..52de41d7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_compression_s3tc}
*/
-public interface GLEXTTextureCompressionS3tc {
+public interface GLEXTTextureCompressionS3tc extends overrun.marshal.DirectAccess {
int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
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 495762f9..35e8ac19 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_cube_map}
*/
-public interface GLEXTTextureCubeMap {
+public interface GLEXTTextureCubeMap extends overrun.marshal.DirectAccess {
int GL_NORMAL_MAP_EXT = 0x8511;
int GL_REFLECTION_MAP_EXT = 0x8512;
int GL_TEXTURE_CUBE_MAP_EXT = 0x8513;
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 54ae1757..4646031b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_env_combine}
*/
-public interface GLEXTTextureEnvCombine {
+public interface GLEXTTextureEnvCombine extends overrun.marshal.DirectAccess {
int GL_COMBINE_EXT = 0x8570;
int GL_COMBINE_RGB_EXT = 0x8571;
int GL_COMBINE_ALPHA_EXT = 0x8572;
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 d53769f9..26276ac0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_env_dot3}
*/
-public interface GLEXTTextureEnvDot3 {
+public interface GLEXTTextureEnvDot3 extends overrun.marshal.DirectAccess {
int GL_DOT3_RGB_EXT = 0x8740;
int GL_DOT3_RGBA_EXT = 0x8741;
}
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 43dd691e..23a45bb7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_filter_anisotropic}
*/
-public interface GLEXTTextureFilterAnisotropic {
+public interface GLEXTTextureFilterAnisotropic extends overrun.marshal.DirectAccess {
int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
}
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 54b5f568..12ef6867 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_filter_minmax}
*/
-public interface GLEXTTextureFilterMinmax {
+public interface GLEXTTextureFilterMinmax extends overrun.marshal.DirectAccess {
int GL_TEXTURE_REDUCTION_MODE_EXT = 0x9366;
int GL_WEIGHTED_AVERAGE_EXT = 0x9367;
}
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 541fe216..75bf18a4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_integer}
*/
-public interface GLEXTTextureInteger {
+public interface GLEXTTextureInteger extends overrun.marshal.DirectAccess {
int GL_RGBA32UI_EXT = 0x8D70;
int GL_RGB32UI_EXT = 0x8D71;
int GL_ALPHA32UI_EXT = 0x8D72;
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 9f06f325..950bfd59 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_lod_bias}
*/
-public interface GLEXTTextureLodBias {
+public interface GLEXTTextureLodBias extends overrun.marshal.DirectAccess {
int GL_MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD;
int GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500;
int GL_TEXTURE_LOD_BIAS_EXT = 0x8501;
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 5b46ba1c..7187a39f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_mirror_clamp}
*/
-public interface GLEXTTextureMirrorClamp {
+public interface GLEXTTextureMirrorClamp extends overrun.marshal.DirectAccess {
int GL_MIRROR_CLAMP_EXT = 0x8742;
int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;
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 a6d6cd51..8ec2b811 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_object}
*/
-public interface GLEXTTextureObject {
+public interface GLEXTTextureObject extends overrun.marshal.DirectAccess {
int GL_TEXTURE_PRIORITY_EXT = 0x8066;
int GL_TEXTURE_RESIDENT_EXT = 0x8067;
int GL_TEXTURE_1D_BINDING_EXT = 0x8068;
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 8d8873d0..e83f0beb 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_perturb_normal}
*/
-public interface GLEXTTexturePerturbNormal {
+public interface GLEXTTexturePerturbNormal extends overrun.marshal.DirectAccess {
int GL_PERTURB_EXT = 0x85AE;
int GL_TEXTURE_NORMAL_EXT = 0x85AF;
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 2e6d904f..6dde7f04 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_shared_exponent}
*/
-public interface GLEXTTextureSharedExponent {
+public interface GLEXTTextureSharedExponent extends overrun.marshal.DirectAccess {
int GL_RGB9_E5_EXT = 0x8C3D;
int GL_UNSIGNED_INT_5_9_9_9_REV_EXT = 0x8C3E;
int GL_TEXTURE_SHARED_SIZE_EXT = 0x8C3F;
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 c8a3a9db..1f330fae 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_snorm}
*/
-public interface GLEXTTextureSnorm {
+public interface GLEXTTextureSnorm extends overrun.marshal.DirectAccess {
int GL_ALPHA_SNORM = 0x9010;
int GL_LUMINANCE_SNORM = 0x9011;
int GL_LUMINANCE_ALPHA_SNORM = 0x9012;
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 2d46c8b0..2142331e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_sRGB}
*/
-public interface GLEXTTextureSrgb {
+public interface GLEXTTextureSrgb extends overrun.marshal.DirectAccess {
int GL_SRGB_EXT = 0x8C40;
int GL_SRGB8_EXT = 0x8C41;
int GL_SRGB_ALPHA_EXT = 0x8C42;
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 32da9731..801ee6b1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_sRGB_decode}
*/
-public interface GLEXTTextureSrgbDecode {
+public interface GLEXTTextureSrgbDecode extends overrun.marshal.DirectAccess {
int GL_TEXTURE_SRGB_DECODE_EXT = 0x8A48;
int GL_DECODE_EXT = 0x8A49;
int GL_SKIP_DECODE_EXT = 0x8A4A;
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 491d38de..3446f582 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_EXT_texture_sRGB_R8}
*/
-public interface GLEXTTextureSrgbR8 {
+public interface GLEXTTextureSrgbR8 extends overrun.marshal.DirectAccess {
int GL_SR8_EXT = 0x8FBD;
}
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 486848a2..a363fb83 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_EXT_texture_sRGB_RG8}
*/
-public interface GLEXTTextureSrgbRGB {
+public interface GLEXTTextureSrgbRGB extends overrun.marshal.DirectAccess {
int GL_SRG8_EXT = 0x8FBE;
}
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 18c4004a..e0969bf7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_storage}
*/
-public interface GLEXTTextureStorage {
+public interface GLEXTTextureStorage extends overrun.marshal.DirectAccess {
int GL_TEXTURE_IMMUTABLE_FORMAT_EXT = 0x912F;
int GL_RGBA32F_EXT = 0x8814;
int GL_RGB32F_EXT = 0x8815;
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 bbe9f549..7834cda1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_texture_swizzle}
*/
-public interface GLEXTTextureSwizzle {
+public interface GLEXTTextureSwizzle extends overrun.marshal.DirectAccess {
int GL_TEXTURE_SWIZZLE_R_EXT = 0x8E42;
int GL_TEXTURE_SWIZZLE_G_EXT = 0x8E43;
int GL_TEXTURE_SWIZZLE_B_EXT = 0x8E44;
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 274151ef..5d787b27 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_timer_query}
*/
-public interface GLEXTTimerQuery {
+public interface GLEXTTimerQuery extends overrun.marshal.DirectAccess {
int GL_TIME_ELAPSED_EXT = 0x88BF;
default void glGetQueryObjecti64vEXT(int id, int pname, @NativeType("GLint64 *") MemorySegment params) {
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 251a3e82..edc64eba 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_transform_feedback}
*/
-public interface GLEXTTransformFeedback {
+public interface GLEXTTransformFeedback extends overrun.marshal.DirectAccess {
int GL_TRANSFORM_FEEDBACK_BUFFER_EXT = 0x8C8E;
int GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT = 0x8C84;
int GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT = 0x8C85;
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 a24e1054..a7bd9338 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_vertex_array}
*/
-public interface GLEXTVertexArray {
+public interface GLEXTVertexArray extends overrun.marshal.DirectAccess {
int GL_VERTEX_ARRAY_EXT = 0x8074;
int GL_NORMAL_ARRAY_EXT = 0x8075;
int GL_COLOR_ARRAY_EXT = 0x8076;
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 78ba059f..71cb02e3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_vertex_attrib_64bit}
*/
-public interface GLEXTVertexAttrib64bit {
+public interface GLEXTVertexAttrib64bit extends overrun.marshal.DirectAccess {
int GL_DOUBLE_VEC2_EXT = 0x8FFC;
int GL_DOUBLE_VEC3_EXT = 0x8FFD;
int GL_DOUBLE_VEC4_EXT = 0x8FFE;
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 015addef..9c58bc73 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_vertex_shader}
*/
-public interface GLEXTVertexShader {
+public interface GLEXTVertexShader extends overrun.marshal.DirectAccess {
int GL_VERTEX_SHADER_EXT = 0x8780;
int GL_VERTEX_SHADER_BINDING_EXT = 0x8781;
int GL_OP_INDEX_EXT = 0x8782;
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 6281637a..e6111c2c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_vertex_weighting}
*/
-public interface GLEXTVertexWeighting {
+public interface GLEXTVertexWeighting extends overrun.marshal.DirectAccess {
int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3;
int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502;
int GL_MODELVIEW0_MATRIX_EXT = 0x0BA6;
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 7e54f46f..1c3c0017 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_win32_keyed_mutex}
*/
-public interface GLEXTWin32KeyedMutex {
+public interface GLEXTWin32KeyedMutex extends overrun.marshal.DirectAccess {
default boolean glAcquireKeyedMutexWin32EXT(int memory, long key, int timeout) {
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 a9853ba9..4a181e85 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_window_rectangles}
*/
-public interface GLEXTWindowRectangles {
+public interface GLEXTWindowRectangles extends overrun.marshal.DirectAccess {
int GL_INCLUSIVE_EXT = 0x8F10;
int GL_EXCLUSIVE_EXT = 0x8F11;
int GL_WINDOW_RECTANGLE_EXT = 0x8F12;
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 7de660f1..80f857a1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_EXT_x11_sync_object}
*/
-public interface GLEXTX11SyncObject {
+public interface GLEXTX11SyncObject extends overrun.marshal.DirectAccess {
int GL_SYNC_X11_FENCE_EXT = 0x90E1;
@NativeType("GLsync") default MemorySegment glImportSyncEXT(int external_sync_type, long external_sync, int flags) {
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 0b4caeb8..d7c70291 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_IBM_cull_vertex}
*/
-public interface GLIBMCullVertex {
+public interface GLIBMCullVertex extends overrun.marshal.DirectAccess {
int GL_CULL_VERTEX_IBM = 103050;
}
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 6fbdc1a7..5d169b72 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_IBM_multimode_draw_arrays}
*/
-public interface GLIBMMultimodeDrawArrays {
+public interface GLIBMMultimodeDrawArrays extends overrun.marshal.DirectAccess {
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();
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 37f929f2..d654af6e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_IBM_rasterpos_clip}
*/
-public interface GLIBMRasterposClip {
+public interface GLIBMRasterposClip extends overrun.marshal.DirectAccess {
int GL_RASTER_POSITION_UNCLIPPED_IBM = 0x19262;
}
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 95bfe2ea..e9eb3cd7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_IBM_static_data}
*/
-public interface GLIBMStaticData {
+public interface GLIBMStaticData extends overrun.marshal.DirectAccess {
int GL_ALL_STATIC_DATA_IBM = 103060;
int GL_STATIC_VERTEX_ARRAY_IBM = 103061;
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 46ee8635..82295191 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_IBM_texture_mirrored_repeat}
*/
-public interface GLIBMTextureMirroredRepeat {
+public interface GLIBMTextureMirroredRepeat extends overrun.marshal.DirectAccess {
int GL_MIRRORED_REPEAT_IBM = 0x8370;
}
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 cec28212..a6692dd6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_IBM_vertex_array_lists}
*/
-public interface GLIBMVertexArrayLists {
+public interface GLIBMVertexArrayLists extends overrun.marshal.DirectAccess {
int GL_VERTEX_ARRAY_LIST_IBM = 103070;
int GL_NORMAL_ARRAY_LIST_IBM = 103071;
int GL_COLOR_ARRAY_LIST_IBM = 103072;
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 77df1847..231c9c83 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_INTEL_blackhole_render}
*/
-public interface GLINTELBlackholeRender {
+public interface GLINTELBlackholeRender extends overrun.marshal.DirectAccess {
int GL_BLACKHOLE_RENDER_INTEL = 0x83FC;
}
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 ac4fad1a..63ec234b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_INTEL_conservative_rasterization}
*/
-public interface GLINTELConservativeRasterization {
+public interface GLINTELConservativeRasterization extends overrun.marshal.DirectAccess {
int GL_CONSERVATIVE_RASTERIZATION_INTEL = 0x83FE;
}
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 56ff7fe0..79e8b97a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_INTEL_framebuffer_CMAA}
*/
-public interface GLINTELFramebufferCMAA {
+public interface GLINTELFramebufferCMAA extends overrun.marshal.DirectAccess {
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 080103db..681813b5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_INTEL_map_texture}
*/
-public interface GLINTELMapTexture {
+public interface GLINTELMapTexture extends overrun.marshal.DirectAccess {
int GL_TEXTURE_MEMORY_LAYOUT_INTEL = 0x83FF;
int GL_LAYOUT_DEFAULT_INTEL = 0;
int GL_LAYOUT_LINEAR_INTEL = 1;
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 fcf5f56d..54258ad0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_INTEL_parallel_arrays}
*/
-public interface GLINTELParallelArrays {
+public interface GLINTELParallelArrays extends overrun.marshal.DirectAccess {
int GL_PARALLEL_ARRAYS_INTEL = 0x83F4;
int GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F5;
int GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F6;
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 16d33809..1d6225dd 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_INTEL_performance_query}
*/
-public interface GLINTELPerformanceQuery {
+public interface GLINTELPerformanceQuery extends overrun.marshal.DirectAccess {
int GL_PERFQUERY_SINGLE_CONTEXT_INTEL = 0x00000000;
int GL_PERFQUERY_GLOBAL_CONTEXT_INTEL = 0x00000001;
int GL_PERFQUERY_WAIT_INTEL = 0x83FB;
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 b295dd7d..d1bb5328 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_KHR_blend_equation_advanced}
*/
-public interface GLKHRBlendEquationAdvanced {
+public interface GLKHRBlendEquationAdvanced extends overrun.marshal.DirectAccess {
int GL_MULTIPLY_KHR = 0x9294;
int GL_SCREEN_KHR = 0x9295;
int GL_OVERLAY_KHR = 0x9296;
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 ab8cb34f..d712ee9b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_KHR_blend_equation_advanced_coherent}
*/
-public interface GLKHRBlendEquationAdvancedCoherent {
+public interface GLKHRBlendEquationAdvancedCoherent extends overrun.marshal.DirectAccess {
int GL_BLEND_ADVANCED_COHERENT_KHR = 0x9285;
}
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 97a2ea1a..1ea360f4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_KHR_no_error}
*/
-public interface GLKHRNoError {
+public interface GLKHRNoError extends overrun.marshal.DirectAccess {
int GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR = 0x00000008;
}
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 e8c3c99f..0456c816 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_KHR_parallel_shader_compile}
*/
-public interface GLKHRParallelShaderCompile {
+public interface GLKHRParallelShaderCompile extends overrun.marshal.DirectAccess {
int GL_MAX_SHADER_COMPILER_THREADS_KHR = 0x91B0;
int GL_COMPLETION_STATUS_KHR = 0x91B1;
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 46d73b91..7f93f75c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_KHR_robustness}
*/
-public interface GLKHRRobustness {
+public interface GLKHRRobustness extends overrun.marshal.DirectAccess {
int GL_CONTEXT_ROBUST_ACCESS = 0x90F3;
}
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 2c0aadfc..50243476 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_KHR_shader_subgroup}
*/
-public interface GLKHRShaderSubgroup {
+public interface GLKHRShaderSubgroup extends overrun.marshal.DirectAccess {
int GL_SUBGROUP_SIZE_KHR = 0x9532;
int GL_SUBGROUP_SUPPORTED_STAGES_KHR = 0x9533;
int GL_SUBGROUP_SUPPORTED_FEATURES_KHR = 0x9534;
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 7f4bc273..6a4c3a16 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_KHR_texture_compression_astc_hdr}
*/
-public interface GLKHRTextureCompressionAstcHdr {
+public interface GLKHRTextureCompressionAstcHdr extends overrun.marshal.DirectAccess {
int GL_COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0;
int GL_COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1;
int GL_COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2;
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 d67fb1db..4ed3f267 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_MESA_framebuffer_flip_x}
*/
-public interface GLMESAFramebufferFlipX {
+public interface GLMESAFramebufferFlipX extends overrun.marshal.DirectAccess {
int GL_FRAMEBUFFER_FLIP_X_MESA = 0x8BBC;
}
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 d487ead1..d2d40b96 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_MESA_framebuffer_flip_y}
*/
-public interface GLMESAFramebufferFlipY {
+public interface GLMESAFramebufferFlipY extends overrun.marshal.DirectAccess {
int GL_FRAMEBUFFER_FLIP_Y_MESA = 0x8BBB;
default void glFramebufferParameteriMESA(int target, int pname, int param) {
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 d9970ebe..e8b4fa4f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_MESA_framebuffer_swap_xy}
*/
-public interface GLMESAFramebufferSwapXY {
+public interface GLMESAFramebufferSwapXY extends overrun.marshal.DirectAccess {
int GL_FRAMEBUFFER_SWAP_XY_MESA = 0x8BBD;
}
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 c8a4eaa0..cf2aebeb 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_MESA_pack_invert}
*/
-public interface GLMESAPackInvert {
+public interface GLMESAPackInvert extends overrun.marshal.DirectAccess {
int GL_PACK_INVERT_MESA = 0x8758;
}
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 8db6bac3..8d76d3f2 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_MESA_program_binary_formats}
*/
-public interface GLMESAProgramBinaryFormats {
+public interface GLMESAProgramBinaryFormats extends overrun.marshal.DirectAccess {
int GL_PROGRAM_BINARY_FORMAT_MESA = 0x875F;
}
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 0fa7e57f..fc469873 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_MESA_resize_buffers}
*/
-public interface GLMESAResizeBuffers {
+public interface GLMESAResizeBuffers extends overrun.marshal.DirectAccess {
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 a4a217db..1a8a64e8 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_MESA_tile_raster_order}
*/
-public interface GLMESATileRasterOrder {
+public interface GLMESATileRasterOrder extends overrun.marshal.DirectAccess {
int GL_TILE_RASTER_ORDER_FIXED_MESA = 0x8BB8;
int GL_TILE_RASTER_ORDER_INCREASING_X_MESA = 0x8BB9;
int GL_TILE_RASTER_ORDER_INCREASING_Y_MESA = 0x8BBA;
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 d9c034ad..3c7f3f3b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_MESA_window_pos}
*/
-public interface GLMESAWindowPos {
+public interface GLMESAWindowPos extends overrun.marshal.DirectAccess {
default void glWindowPos2dMESA(double x, double y) {
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 49ccafa4..ef28fd10 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_MESAX_texture_stack}
*/
-public interface GLMESAXTextureStack {
+public interface GLMESAXTextureStack extends overrun.marshal.DirectAccess {
int GL_TEXTURE_1D_STACK_MESAX = 0x8759;
int GL_TEXTURE_2D_STACK_MESAX = 0x875A;
int GL_PROXY_TEXTURE_1D_STACK_MESAX = 0x875B;
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 77fd18a1..4a2a5308 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_MESA_ycbcr_texture}
*/
-public interface GLMESAYcbcrTexture {
+public interface GLMESAYcbcrTexture extends overrun.marshal.DirectAccess {
int GL_UNSIGNED_SHORT_8_8_MESA = 0x85BA;
int GL_UNSIGNED_SHORT_8_8_REV_MESA = 0x85BB;
int GL_YCBCR_MESA = 0x8757;
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 6e70fd69..45dd13de 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_alpha_to_coverage_dither_control}
*/
-public interface GLNVAlphaToCoverageDitherControl {
+public interface GLNVAlphaToCoverageDitherControl extends overrun.marshal.DirectAccess {
int GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV = 0x934D;
int GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV = 0x934E;
int GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV = 0x934F;
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 86a137aa..4acc3257 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_bindless_multi_draw_indirect}
*/
-public interface GLNVBindlessMultiDrawIndirect {
+public interface GLNVBindlessMultiDrawIndirect extends overrun.marshal.DirectAccess {
default void glMultiDrawArraysIndirectBindlessNV(int mode, @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 b110ced7..c423d76f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_bindless_multi_draw_indirect_count}
*/
-public interface GLNVBindlessMultiDrawIndirectCount {
+public interface GLNVBindlessMultiDrawIndirectCount extends overrun.marshal.DirectAccess {
default void glMultiDrawArraysIndirectBindlessCountNV(int mode, @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 77cb3db9..53597fe0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_bindless_texture}
*/
-public interface GLNVBindlessTexture {
+public interface GLNVBindlessTexture extends overrun.marshal.DirectAccess {
default long glGetTextureHandleNV(int texture) {
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 f37f20fc..82a67a12 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_blend_equation_advanced}
*/
-public interface GLNVBlendEquationAdvanced {
+public interface GLNVBlendEquationAdvanced extends overrun.marshal.DirectAccess {
int GL_BLEND_OVERLAP_NV = 0x9281;
int GL_BLEND_PREMULTIPLIED_SRC_NV = 0x9280;
int GL_BLUE_NV = 0x1905;
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 cd9d53b3..61089e71 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_blend_equation_advanced_coherent}
*/
-public interface GLNVBlendEquationAdvancedCoherent {
+public interface GLNVBlendEquationAdvancedCoherent extends overrun.marshal.DirectAccess {
int GL_BLEND_ADVANCED_COHERENT_NV = 0x9285;
}
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 5bf5406a..befd0e6a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_clip_space_w_scaling}
*/
-public interface GLNVClipSpaceWScaling {
+public interface GLNVClipSpaceWScaling extends overrun.marshal.DirectAccess {
int GL_VIEWPORT_POSITION_W_SCALE_NV = 0x937C;
int GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV = 0x937D;
int GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV = 0x937E;
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 3da6a8d4..55ce716e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_command_list}
*/
-public interface GLNVCommandList {
+public interface GLNVCommandList extends overrun.marshal.DirectAccess {
int GL_TERMINATE_SEQUENCE_COMMAND_NV = 0x0000;
int GL_NOP_COMMAND_NV = 0x0001;
int GL_DRAW_ELEMENTS_COMMAND_NV = 0x0002;
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 ab22aed3..eaf44054 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_compute_program5}
*/
-public interface GLNVComputeProgram5 {
+public interface GLNVComputeProgram5 extends overrun.marshal.DirectAccess {
int GL_COMPUTE_PROGRAM_NV = 0x90FB;
int GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV = 0x90FC;
}
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 cf741443..81d6e9b5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_conditional_render}
*/
-public interface GLNVConditionalRender {
+public interface GLNVConditionalRender extends overrun.marshal.DirectAccess {
int GL_QUERY_WAIT_NV = 0x8E13;
int GL_QUERY_NO_WAIT_NV = 0x8E14;
int GL_QUERY_BY_REGION_WAIT_NV = 0x8E15;
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 1c3e8642..86332396 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_conservative_raster}
*/
-public interface GLNVConservativeRaster {
+public interface GLNVConservativeRaster extends overrun.marshal.DirectAccess {
int GL_CONSERVATIVE_RASTERIZATION_NV = 0x9346;
int GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV = 0x9347;
int GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV = 0x9348;
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 6e971b43..7c21d1ce 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_conservative_raster_dilate}
*/
-public interface GLNVConservativeRasterDilate {
+public interface GLNVConservativeRasterDilate extends overrun.marshal.DirectAccess {
int GL_CONSERVATIVE_RASTER_DILATE_NV = 0x9379;
int GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV = 0x937A;
int GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV = 0x937B;
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 fbcf8447..b49b5018 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_conservative_raster_pre_snap}
*/
-public interface GLNVConservativeRasterPreSnap {
+public interface GLNVConservativeRasterPreSnap extends overrun.marshal.DirectAccess {
int GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV = 0x9550;
}
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 c88c57c0..bc15cf22 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_conservative_raster_pre_snap_triangles}
*/
-public interface GLNVConservativeRasterPreSnapTriangles {
+public interface GLNVConservativeRasterPreSnapTriangles extends overrun.marshal.DirectAccess {
int GL_CONSERVATIVE_RASTER_MODE_NV = 0x954D;
int GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV = 0x954E;
int GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV = 0x954F;
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 ca47e73b..ba020d7f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_copy_depth_to_color}
*/
-public interface GLNVCopyDepthToColor {
+public interface GLNVCopyDepthToColor extends overrun.marshal.DirectAccess {
int GL_DEPTH_STENCIL_TO_RGBA_NV = 0x886E;
int GL_DEPTH_STENCIL_TO_BGRA_NV = 0x886F;
}
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 389d0d22..16a8d0e6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_copy_image}
*/
-public interface GLNVCopyImage {
+public interface GLNVCopyImage extends overrun.marshal.DirectAccess {
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 6d8f4f45..37323287 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_deep_texture3D}
*/
-public interface GLNVDeepTexture3D {
+public interface GLNVDeepTexture3D extends overrun.marshal.DirectAccess {
int GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV = 0x90D0;
int GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV = 0x90D1;
}
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 2cf2761e..e1e07936 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_depth_buffer_float}
*/
-public interface GLNVDepthBufferFloat {
+public interface GLNVDepthBufferFloat extends overrun.marshal.DirectAccess {
int GL_DEPTH_COMPONENT32F_NV = 0x8DAB;
int GL_DEPTH32F_STENCIL8_NV = 0x8DAC;
int GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV = 0x8DAD;
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 8d160b3c..c806f4fa 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_depth_clamp}
*/
-public interface GLNVDepthClamp {
+public interface GLNVDepthClamp extends overrun.marshal.DirectAccess {
int GL_DEPTH_CLAMP_NV = 0x864F;
}
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 fc32f39a..b71ceaae 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_draw_texture}
*/
-public interface GLNVDrawTexture {
+public interface GLNVDrawTexture extends overrun.marshal.DirectAccess {
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 5151738c..cbed9e98 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_draw_vulkan_image}
*/
-public interface GLNVDrawVulkanImage {
+public interface GLNVDrawVulkanImage extends overrun.marshal.DirectAccess {
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();
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 d531f029..d8e526ee 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_evaluators}
*/
-public interface GLNVEvaluators {
+public interface GLNVEvaluators extends overrun.marshal.DirectAccess {
int GL_EVAL_2D_NV = 0x86C0;
int GL_EVAL_TRIANGULAR_2D_NV = 0x86C1;
int GL_MAP_TESSELLATION_NV = 0x86C2;
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 cb6e91bb..11ff295e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_explicit_multisample}
*/
-public interface GLNVExplicitMultisample {
+public interface GLNVExplicitMultisample extends overrun.marshal.DirectAccess {
int GL_SAMPLE_POSITION_NV = 0x8E50;
int GL_SAMPLE_MASK_NV = 0x8E51;
int GL_SAMPLE_MASK_VALUE_NV = 0x8E52;
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 0f0ab5eb..37ca8e54 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_fence}
*/
-public interface GLNVFence {
+public interface GLNVFence extends overrun.marshal.DirectAccess {
int GL_ALL_COMPLETED_NV = 0x84F2;
int GL_FENCE_STATUS_NV = 0x84F3;
int GL_FENCE_CONDITION_NV = 0x84F4;
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 107409ad..a6f66c85 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_fill_rectangle}
*/
-public interface GLNVFillRectangle {
+public interface GLNVFillRectangle extends overrun.marshal.DirectAccess {
int GL_FILL_RECTANGLE_NV = 0x933C;
}
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 39aa05a6..f22f7f2a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_float_buffer}
*/
-public interface GLNVFloatBuffer {
+public interface GLNVFloatBuffer extends overrun.marshal.DirectAccess {
int GL_FLOAT_R_NV = 0x8880;
int GL_FLOAT_RG_NV = 0x8881;
int GL_FLOAT_RGB_NV = 0x8882;
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 ce19fdee..a5b4f411 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_fog_distance}
*/
-public interface GLNVFogDistance {
+public interface GLNVFogDistance extends overrun.marshal.DirectAccess {
int GL_FOG_DISTANCE_MODE_NV = 0x855A;
int GL_EYE_RADIAL_NV = 0x855B;
int GL_EYE_PLANE_ABSOLUTE_NV = 0x855C;
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 35f91e41..99036930 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_fragment_coverage_to_color}
*/
-public interface GLNVFragmentCoverageToColor {
+public interface GLNVFragmentCoverageToColor extends overrun.marshal.DirectAccess {
int GL_FRAGMENT_COVERAGE_TO_COLOR_NV = 0x92DD;
int GL_FRAGMENT_COVERAGE_COLOR_NV = 0x92DE;
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 09a7160c..beefb592 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_fragment_program}
*/
-public interface GLNVFragmentProgram {
+public interface GLNVFragmentProgram extends overrun.marshal.DirectAccess {
int GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = 0x8868;
int GL_FRAGMENT_PROGRAM_NV = 0x8870;
int GL_MAX_TEXTURE_COORDS_NV = 0x8871;
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 153621d4..fdd66301 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_fragment_program2}
*/
-public interface GLNVFragmentProgram2 {
+public interface GLNVFragmentProgram2 extends overrun.marshal.DirectAccess {
int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6;
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 c691429a..bbcf131b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_framebuffer_mixed_samples}
*/
-public interface GLNVFramebufferMixedSamples {
+public interface GLNVFramebufferMixedSamples extends overrun.marshal.DirectAccess {
int GL_COVERAGE_MODULATION_TABLE_NV = 0x9331;
int GL_COLOR_SAMPLES_NV = 0x8E20;
int GL_DEPTH_SAMPLES_NV = 0x932D;
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 521dbb89..09e298b1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_framebuffer_multisample_coverage}
*/
-public interface GLNVFramebufferMultisampleCoverage {
+public interface GLNVFramebufferMultisampleCoverage extends overrun.marshal.DirectAccess {
int GL_RENDERBUFFER_COVERAGE_SAMPLES_NV = 0x8CAB;
int GL_RENDERBUFFER_COLOR_SAMPLES_NV = 0x8E10;
int GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E11;
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 87533a5e..9cc17d29 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_geometry_program4}
*/
-public interface GLNVGeometryProgram4 {
+public interface GLNVGeometryProgram4 extends overrun.marshal.DirectAccess {
int GL_GEOMETRY_PROGRAM_NV = 0x8C26;
int GL_MAX_PROGRAM_OUTPUT_VERTICES_NV = 0x8C27;
int GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = 0x8C28;
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 5207e1ef..fb571da5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_gpu_multicast}
*/
-public interface GLNVGpuMulticast {
+public interface GLNVGpuMulticast extends overrun.marshal.DirectAccess {
int GL_PER_GPU_STORAGE_BIT_NV = 0x0800;
int GL_MULTICAST_GPUS_NV = 0x92BA;
int GL_RENDER_GPU_MASK_NV = 0x9558;
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 e41ba92b..8c5f8908 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_gpu_program4}
*/
-public interface GLNVGpuProgram4 {
+public interface GLNVGpuProgram4 extends overrun.marshal.DirectAccess {
int GL_MIN_PROGRAM_TEXEL_OFFSET_NV = 0x8904;
int GL_MAX_PROGRAM_TEXEL_OFFSET_NV = 0x8905;
int GL_PROGRAM_ATTRIB_COMPONENTS_NV = 0x8906;
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 07a289c5..d913bc7c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_gpu_program5}
*/
-public interface GLNVGpuProgram5 {
+public interface GLNVGpuProgram5 extends overrun.marshal.DirectAccess {
int GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV = 0x8E5A;
int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5B;
int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5C;
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 0fc4214a..81814f29 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_half_float}
*/
-public interface GLNVHalfFloat {
+public interface GLNVHalfFloat extends overrun.marshal.DirectAccess {
int GL_HALF_FLOAT_NV = 0x140B;
default void glVertex2hNV(short x, short y) {
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 d3eec91b..92bf2fc8 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_internalformat_sample_query}
*/
-public interface GLNVInternalformatSampleQuery {
+public interface GLNVInternalformatSampleQuery extends overrun.marshal.DirectAccess {
int GL_MULTISAMPLES_NV = 0x9371;
int GL_SUPERSAMPLE_SCALE_X_NV = 0x9372;
int GL_SUPERSAMPLE_SCALE_Y_NV = 0x9373;
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 d8ebce07..8041d23f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_light_max_exponent}
*/
-public interface GLNVLightMaxExponent {
+public interface GLNVLightMaxExponent extends overrun.marshal.DirectAccess {
int GL_MAX_SHININESS_NV = 0x8504;
int GL_MAX_SPOT_EXPONENT_NV = 0x8505;
}
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 9c3c11f1..f103dd81 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_memory_attachment}
*/
-public interface GLNVMemoryAttachment {
+public interface GLNVMemoryAttachment extends overrun.marshal.DirectAccess {
int GL_ATTACHED_MEMORY_OBJECT_NV = 0x95A4;
int GL_ATTACHED_MEMORY_OFFSET_NV = 0x95A5;
int GL_MEMORY_ATTACHABLE_ALIGNMENT_NV = 0x95A6;
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 07f3e9b1..2abdc2a9 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_memory_object_sparse}
*/
-public interface GLNVMemoryObjectSparse {
+public interface GLNVMemoryObjectSparse extends overrun.marshal.DirectAccess {
default void glBufferPageCommitmentMemNV(int target, long offset, long size, int memory, long memOffset, 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 e806ab9c..0408e72b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_mesh_shader}
*/
-public interface GLNVMeshShader {
+public interface GLNVMeshShader extends overrun.marshal.DirectAccess {
int GL_MESH_SHADER_NV = 0x9559;
int GL_TASK_SHADER_NV = 0x955A;
int GL_MAX_MESH_UNIFORM_BLOCKS_NV = 0x8E60;
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 fc21aca2..ae6ada37 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_multisample_filter_hint}
*/
-public interface GLNVMultisampleFilterHint {
+public interface GLNVMultisampleFilterHint extends overrun.marshal.DirectAccess {
int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
}
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 e54a4eb1..ff8ffa1e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_occlusion_query}
*/
-public interface GLNVOcculusionQuery {
+public interface GLNVOcculusionQuery extends overrun.marshal.DirectAccess {
int GL_PIXEL_COUNTER_BITS_NV = 0x8864;
int GL_CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865;
int GL_PIXEL_COUNT_NV = 0x8866;
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 49aafabb..fb94b8f1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_packed_depth_stencil}
*/
-public interface GLNVPackedDepthStencil {
+public interface GLNVPackedDepthStencil extends overrun.marshal.DirectAccess {
int GL_DEPTH_STENCIL_NV = 0x84F9;
int GL_UNSIGNED_INT_24_8_NV = 0x84FA;
}
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 9bf1ff09..affef656 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_parameter_buffer_object}
*/
-public interface GLNVParameterBufferObject {
+public interface GLNVParameterBufferObject extends overrun.marshal.DirectAccess {
int GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV = 0x8DA0;
int GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV = 0x8DA1;
int GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA2;
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 5044d103..25d3a88a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_path_rendering}
*/
-public interface GLNVPathRendering {
+public interface GLNVPathRendering extends overrun.marshal.DirectAccess {
int GL_PATH_FORMAT_SVG_NV = 0x9070;
int GL_PATH_FORMAT_PS_NV = 0x9071;
int GL_STANDARD_FONT_NAME_NV = 0x9072;
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 4231a616..858ea7b0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_path_rendering_shared_edge}
*/
-public interface GLNVPathRenderingSharedEdge {
+public interface GLNVPathRenderingSharedEdge extends overrun.marshal.DirectAccess {
int GL_SHARED_EDGE_NV = 0xC0;
}
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 d39a60fd..9a1eb276 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_pixel_data_range}
*/
-public interface GLNVPixelDataRange {
+public interface GLNVPixelDataRange extends overrun.marshal.DirectAccess {
int GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878;
int GL_READ_PIXEL_DATA_RANGE_NV = 0x8879;
int GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A;
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 47788a2b..34fc4eab 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_point_sprite}
*/
-public interface GLNVPointSprite {
+public interface GLNVPointSprite extends overrun.marshal.DirectAccess {
int GL_POINT_SPRITE_NV = 0x8861;
int GL_COORD_REPLACE_NV = 0x8862;
int GL_POINT_SPRITE_R_MODE_NV = 0x8863;
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 743c26b4..2a8c154e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_present_video}
*/
-public interface GLNVPresentVideo {
+public interface GLNVPresentVideo extends overrun.marshal.DirectAccess {
int GL_FRAME_NV = 0x8E26;
int GL_FIELDS_NV = 0x8E27;
int GL_CURRENT_TIME_NV = 0x8E28;
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 e0e781a0..68ffdb70 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_primitive_restart}
*/
-public interface GLNVPrimitiveRestart {
+public interface GLNVPrimitiveRestart extends overrun.marshal.DirectAccess {
int GL_PRIMITIVE_RESTART_NV = 0x8558;
int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
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 4a55640c..08f175d4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_primitive_shading_rate}
*/
-public interface GLNVPrimitiveShadingRate {
+public interface GLNVPrimitiveShadingRate extends overrun.marshal.DirectAccess {
int GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV = 0x95B1;
int GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV = 0x95B2;
}
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 3672358b..8c36a656 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_query_resource}
*/
-public interface GLNVQueryResource {
+public interface GLNVQueryResource extends overrun.marshal.DirectAccess {
int GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV = 0x9540;
int GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV = 0x9542;
int GL_QUERY_RESOURCE_SYS_RESERVED_NV = 0x9544;
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 c64a77d5..58387179 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_query_resource_tag}
*/
-public interface GLNVQueryResourceTag {
+public interface GLNVQueryResourceTag extends overrun.marshal.DirectAccess {
default void glGenQueryResourceTagNV(int n, @NativeType("GLint *") MemorySegment tagIds) {
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 dda059e8..b1f9dc2c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_register_combiners}
*/
-public interface GLNVRegisterCombiners {
+public interface GLNVRegisterCombiners extends overrun.marshal.DirectAccess {
int GL_REGISTER_COMBINERS_NV = 0x8522;
int GL_VARIABLE_A_NV = 0x8523;
int GL_VARIABLE_B_NV = 0x8524;
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 710ead58..88df0e97 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_register_combiners2}
*/
-public interface GLNVRegisterCombiners2 {
+public interface GLNVRegisterCombiners2 extends overrun.marshal.DirectAccess {
int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
default void glCombinerStageParameterfvNV(int stage, int pname, @NativeType("const GLfloat *") MemorySegment params) {
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 d3d22cf1..b102a41b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_representative_fragment_test}
*/
-public interface GLNVRepresentativeFragmentTest {
+public interface GLNVRepresentativeFragmentTest extends overrun.marshal.DirectAccess {
int GL_REPRESENTATIVE_FRAGMENT_TEST_NV = 0x937F;
}
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 bca65ef9..5b3c4b28 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_robustness_video_memory_purge}
*/
-public interface GLNVRobustnessVideoMemoryPurge {
+public interface GLNVRobustnessVideoMemoryPurge extends overrun.marshal.DirectAccess {
int GL_PURGED_CONTEXT_RESET_NV = 0x92BB;
}
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 d476b01a..96cbd05f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_sample_locations}
*/
-public interface GLNVSampleLocations {
+public interface GLNVSampleLocations extends overrun.marshal.DirectAccess {
int GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV = 0x933D;
int GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV = 0x933E;
int GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV = 0x933F;
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 66124796..c8ba2bdf 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_scissor_exclusive}
*/
-public interface GLNVScissorExclusive {
+public interface GLNVScissorExclusive extends overrun.marshal.DirectAccess {
int GL_SCISSOR_TEST_EXCLUSIVE_NV = 0x9555;
int GL_SCISSOR_BOX_EXCLUSIVE_NV = 0x9556;
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 102b1421..fa3ddf09 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_shader_buffer_load}
*/
-public interface GLNVShaderBufferLoad {
+public interface GLNVShaderBufferLoad extends overrun.marshal.DirectAccess {
int GL_BUFFER_GPU_ADDRESS_NV = 0x8F1D;
int GL_GPU_ADDRESS_NV = 0x8F34;
int GL_MAX_SHADER_BUFFER_ADDRESS_NV = 0x8F35;
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 9f21e619..5361bf1e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_shader_buffer_store}
*/
-public interface GLNVShaderBufferStore {
+public interface GLNVShaderBufferStore extends overrun.marshal.DirectAccess {
int GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV = 0x00000010;
}
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 b7e5526b..765756d3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_shader_subgroup_partitioned}
*/
-public interface GLNVShaderSubgroupPartitioned {
+public interface GLNVShaderSubgroupPartitioned extends overrun.marshal.DirectAccess {
int GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV = 0x00000100;
}
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 f690622f..0f071d40 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_shader_thread_group}
*/
-public interface GLNVShaderThreadGroup {
+public interface GLNVShaderThreadGroup extends overrun.marshal.DirectAccess {
int GL_WARP_SIZE_NV = 0x9339;
int GL_WARPS_PER_SM_NV = 0x933A;
int GL_SM_COUNT_NV = 0x933B;
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 59db8f95..cfd0f86b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_shading_rate_image}
*/
-public interface GLNVShadingRateImage {
+public interface GLNVShadingRateImage extends overrun.marshal.DirectAccess {
int GL_SHADING_RATE_IMAGE_NV = 0x9563;
int GL_SHADING_RATE_NO_INVOCATIONS_NV = 0x9564;
int GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV = 0x9565;
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 8cadd98f..3609d060 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_tessellation_program5}
*/
-public interface GLNVTessellationProgram5 {
+public interface GLNVTessellationProgram5 extends overrun.marshal.DirectAccess {
int GL_MAX_PROGRAM_PATCH_ATTRIBS_NV = 0x86D8;
int GL_TESS_CONTROL_PROGRAM_NV = 0x891E;
int GL_TESS_EVALUATION_PROGRAM_NV = 0x891F;
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 9d700d14..cee1ffc5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_texgen_emboss}
*/
-public interface GLNVTexgenEmboss {
+public interface GLNVTexgenEmboss extends overrun.marshal.DirectAccess {
int GL_EMBOSS_LIGHT_NV = 0x855D;
int GL_EMBOSS_CONSTANT_NV = 0x855E;
int GL_EMBOSS_MAP_NV = 0x855F;
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 3be22e77..80807f22 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_texgen_reflection}
*/
-public interface GLNVTexgenReflection {
+public interface GLNVTexgenReflection extends overrun.marshal.DirectAccess {
int GL_NORMAL_MAP_NV = 0x8511;
int GL_REFLECTION_MAP_NV = 0x8512;
}
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 28200c80..bd3c4047 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_texture_barrier}
*/
-public interface GLNVTextureBarrier {
+public interface GLNVTextureBarrier extends overrun.marshal.DirectAccess {
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 b5d30b70..1f709a1a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_texture_env_combine4}
*/
-public interface GLNVTextureEnvCombine4 {
+public interface GLNVTextureEnvCombine4 extends overrun.marshal.DirectAccess {
int GL_COMBINE4_NV = 0x8503;
int GL_SOURCE3_RGB_NV = 0x8583;
int GL_SOURCE3_ALPHA_NV = 0x858B;
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 c3dcbcc8..728569ae 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_texture_expand_normal}
*/
-public interface GLNVTextureExpandNormal {
+public interface GLNVTextureExpandNormal extends overrun.marshal.DirectAccess {
int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F;
}
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 264445c2..656b2b83 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_texture_multisample}
*/
-public interface GLNVTextureMultisample {
+public interface GLNVTextureMultisample extends overrun.marshal.DirectAccess {
int GL_TEXTURE_COVERAGE_SAMPLES_NV = 0x9045;
int GL_TEXTURE_COLOR_SAMPLES_NV = 0x9046;
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 18c6e0fe..258a1cd7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_texture_rectangle}
*/
-public interface GLNVTextureRectangle {
+public interface GLNVTextureRectangle extends overrun.marshal.DirectAccess {
int GL_TEXTURE_RECTANGLE_NV = 0x84F5;
int GL_TEXTURE_BINDING_RECTANGLE_NV = 0x84F6;
int GL_PROXY_TEXTURE_RECTANGLE_NV = 0x84F7;
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 f5730e6a..c68745d8 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_texture_shader}
*/
-public interface GLNVTextureShader {
+public interface GLNVTextureShader extends overrun.marshal.DirectAccess {
int GL_OFFSET_TEXTURE_RECTANGLE_NV = 0x864C;
int GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV = 0x864D;
int GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV = 0x864E;
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 8d8c2874..de34f1ec 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_texture_shader2}
*/
-public interface GLNVTextureShader2 {
+public interface GLNVTextureShader2 extends overrun.marshal.DirectAccess {
int GL_DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF;
}
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 d29e62a3..baf44a09 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_texture_shader3}
*/
-public interface GLNVTextureShader3 {
+public interface GLNVTextureShader3 extends overrun.marshal.DirectAccess {
int GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850;
int GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = 0x8851;
int GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852;
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 37372549..15a420e7 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_timeline_semaphore}
*/
-public interface GLNVTimelineSemaphore {
+public interface GLNVTimelineSemaphore extends overrun.marshal.DirectAccess {
int GL_TIMELINE_SEMAPHORE_VALUE_NV = 0x9595;
int GL_SEMAPHORE_TYPE_NV = 0x95B3;
int GL_SEMAPHORE_TYPE_BINARY_NV = 0x95B4;
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 e095292f..394d0b41 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_transform_feedback}
*/
-public interface GLNVTransformFeedback {
+public interface GLNVTransformFeedback extends overrun.marshal.DirectAccess {
int GL_BACK_PRIMARY_COLOR_NV = 0x8C77;
int GL_BACK_SECONDARY_COLOR_NV = 0x8C78;
int GL_TEXTURE_COORD_NV = 0x8C79;
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 53752c92..77b1e8f5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_transform_feedback2}
*/
-public interface GLNVTransformFeedback2 {
+public interface GLNVTransformFeedback2 extends overrun.marshal.DirectAccess {
int GL_TRANSFORM_FEEDBACK_NV = 0x8E22;
int GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV = 0x8E23;
int GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV = 0x8E24;
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 6a3b1228..825b9e8a 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_uniform_buffer_unified_memory}
*/
-public interface GLNVUniformBufferUnifiedMemory {
+public interface GLNVUniformBufferUnifiedMemory extends overrun.marshal.DirectAccess {
int GL_UNIFORM_BUFFER_UNIFIED_NV = 0x936E;
int GL_UNIFORM_BUFFER_ADDRESS_NV = 0x936F;
int GL_UNIFORM_BUFFER_LENGTH_NV = 0x9370;
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 dc2f1743..bc78041e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_vdpau_interop}
*/
-public interface GLNVVDPAUInterop {
+public interface GLNVVDPAUInterop extends overrun.marshal.DirectAccess {
int GL_SURFACE_STATE_NV = 0x86EB;
int GL_SURFACE_REGISTERED_NV = 0x86FD;
int GL_SURFACE_MAPPED_NV = 0x8700;
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 c6737391..51b4c06c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_vdpau_interop2}
*/
-public interface GLNVVDPAUInterop2 {
+public interface GLNVVDPAUInterop2 extends overrun.marshal.DirectAccess {
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 e59ad8ee..f2a850ff 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_vertex_array_range}
*/
-public interface GLNVVertexArrayRange {
+public interface GLNVVertexArrayRange extends overrun.marshal.DirectAccess {
int GL_VERTEX_ARRAY_RANGE_NV = 0x851D;
int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E;
int GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F;
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 c1df30db..1385cea3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_vertex_array_range2}
*/
-public interface GLNVVertexArrayRange2 {
+public interface GLNVVertexArrayRange2 extends overrun.marshal.DirectAccess {
int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533;
}
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 5198a29e..961fef54 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_vertex_attrib_integer_64bit}
*/
-public interface GLNVVertexAttribInteger64bit {
+public interface GLNVVertexAttribInteger64bit extends overrun.marshal.DirectAccess {
default void glVertexAttribL1i64NV(int index, long x) {
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 e4259699..5bd3b047 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_vertex_buffer_unified_memory}
*/
-public interface GLNVVertexBufferUnifiedMemory {
+public interface GLNVVertexBufferUnifiedMemory extends overrun.marshal.DirectAccess {
int GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV = 0x8F1E;
int GL_ELEMENT_ARRAY_UNIFIED_NV = 0x8F1F;
int GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV = 0x8F20;
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 08192cdd..5926345f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_vertex_program}
*/
-public interface GLNVVertexProgram {
+public interface GLNVVertexProgram extends overrun.marshal.DirectAccess {
int GL_VERTEX_PROGRAM_NV = 0x8620;
int GL_VERTEX_STATE_PROGRAM_NV = 0x8621;
int GL_ATTRIB_ARRAY_SIZE_NV = 0x8623;
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 fff94309..a3a49de3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_NV_vertex_program4}
*/
-public interface GLNVVertexProgram4 {
+public interface GLNVVertexProgram4 extends overrun.marshal.DirectAccess {
int GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV = 0x88FD;
}
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 be21573e..5178694e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_video_capture}
*/
-public interface GLNVVideoCapture {
+public interface GLNVVideoCapture extends overrun.marshal.DirectAccess {
int GL_VIDEO_BUFFER_NV = 0x9020;
int GL_VIDEO_BUFFER_BINDING_NV = 0x9021;
int GL_FIELD_UPPER_NV = 0x9022;
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 5fa51d37..73f68898 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NV_viewport_swizzle}
*/
-public interface GLNVViewportSwizzle {
+public interface GLNVViewportSwizzle extends overrun.marshal.DirectAccess {
int GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV = 0x9350;
int GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV = 0x9351;
int GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV = 0x9352;
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 5b1d41ff..2c14cedc 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NVX_conditional_render}
*/
-public interface GLNVXConditionalRender {
+public interface GLNVXConditionalRender extends overrun.marshal.DirectAccess {
default void glBeginConditionalRenderNVX(int id) {
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 c98c6f3e..88d68941 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NVX_gpu_memory_info}
*/
-public interface GLNVXGpuMemoryInfo {
+public interface GLNVXGpuMemoryInfo extends overrun.marshal.DirectAccess {
int GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX = 0x9047;
int GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX = 0x9048;
int GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX = 0x9049;
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 9c75f3c3..8ae1f52f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NVX_gpu_multicast2}
*/
-public interface GLNVXGpuMulticast2 {
+public interface GLNVXGpuMulticast2 extends overrun.marshal.DirectAccess {
int GL_UPLOAD_GPU_MASK_NVX = 0x954A;
default void glUploadGpuMaskNVX(int mask) {
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 bd8fc8ca..9e056fed 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NVX_linked_gpu_multicast}
*/
-public interface GLNVXLinkedGpuMulticast {
+public interface GLNVXLinkedGpuMulticast extends overrun.marshal.DirectAccess {
int GL_LGPU_SEPARATE_STORAGE_BIT_NVX = 0x0800;
int GL_MAX_LGPU_GPUS_NVX = 0x92BA;
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 a3e01a32..3b977bea 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_NVX_progress_fence}
*/
-public interface GLNVXProgressFence {
+public interface GLNVXProgressFence extends overrun.marshal.DirectAccess {
default void glCreateProgressFenceNVX() {
throw new ContextException();
diff --git a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLVulkanProcNV.java b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLVulkanProcNV.java
index 07030ec9..8fe90948 100644
--- a/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLVulkanProcNV.java
+++ b/modules/overrungl.opengl/src/main/java/overrungl/opengl/ext/nv/GLVulkanProcNV.java
@@ -19,6 +19,7 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
/**
@@ -32,9 +33,8 @@ public interface GLVulkanProcNV extends Upcall {
/**
* The type.
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid());
- @Stub
void invoke();
@Override
@@ -42,14 +42,11 @@ default MemorySegment stub(Arena arena) {
return TYPE.of(arena, this);
}
- @Wrapper
- static GLVulkanProcNV wrap(Arena arena, MemorySegment stub) {
- return TYPE.wrap(stub, handle -> () -> {
- try {
- handle.invokeExact();
- } catch (Throwable e) {
- throw new RuntimeException(e);
- }
- });
+ static void invoke(MemorySegment stub) {
+ try {
+ TYPE.downcallTarget().invokeExact(stub);
+ } catch (Throwable e) {
+ throw new RuntimeException(e);
+ }
}
}
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 0b22bd09..77f99668 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OES_byte_coordinates}
*/
-public interface GLOESByteCoordinates {
+public interface GLOESByteCoordinates extends overrun.marshal.DirectAccess {
default void glMultiTexCoord1bOES(int texture, byte s) {
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 bec21478..5e7f186e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OES_compressed_paletted_texture}
*/
-public interface GLOESCompressedPalettedTexture {
+public interface GLOESCompressedPalettedTexture extends overrun.marshal.DirectAccess {
int GL_PALETTE4_RGB8_OES = 0x8B90;
int GL_PALETTE4_RGBA8_OES = 0x8B91;
int GL_PALETTE4_R5_G6_B5_OES = 0x8B92;
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 749414f8..968c7f0f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OES_fixed_point}
*/
-public interface GLOESFixedPoint {
+public interface GLOESFixedPoint extends overrun.marshal.DirectAccess {
int GL_FIXED_OES = 0x140C;
default void glAlphaFuncxOES(int func, int ref) {
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 d38e6e68..cfae3c8e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OES_query_matrix}
*/
-public interface GLOESQueryMatrix {
+public interface GLOESQueryMatrix extends overrun.marshal.DirectAccess {
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 1af5f057..f40d1f9d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OES_read_format}
*/
-public interface GLOESReadFormat {
+public interface GLOESReadFormat extends overrun.marshal.DirectAccess {
int GL_IMPLEMENTATION_COLOR_READ_TYPE_OES = 0x8B9A;
int GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES = 0x8B9B;
}
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 7ed4101e..241875bb 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_OES_single_precision}
*/
-public interface GLOESSinglePrecision {
+public interface GLOESSinglePrecision extends overrun.marshal.DirectAccess {
default void glClearDepthfOES(float depth) {
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 16c11c58..c26e1314 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGI_color_matrix}
*/
-public interface GLSGIColorMatrix {
+public interface GLSGIColorMatrix extends overrun.marshal.DirectAccess {
int GL_COLOR_MATRIX_SGI = 0x80B1;
int GL_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2;
int GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3;
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 f11dacf8..76e40a7c 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGI_color_table}
*/
-public interface GLSGIColorTable {
+public interface GLSGIColorTable extends overrun.marshal.DirectAccess {
int GL_COLOR_TABLE_SGI = 0x80D0;
int GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1;
int GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2;
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 00b4fbc9..0d345172 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_detail_texture}
*/
-public interface GLSGISDetailTexture {
+public interface GLSGISDetailTexture extends overrun.marshal.DirectAccess {
int GL_DETAIL_TEXTURE_2D_SGIS = 0x8095;
int GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096;
int GL_LINEAR_DETAIL_SGIS = 0x8097;
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 87430c9d..90990b5d 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_fog_function}
*/
-public interface GLSGISFogFunction {
+public interface GLSGISFogFunction extends overrun.marshal.DirectAccess {
int GL_FOG_FUNC_SGIS = 0x812A;
int GL_FOG_FUNC_POINTS_SGIS = 0x812B;
int GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C;
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 13aba568..5412f482 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_generate_mipmap}
*/
-public interface GLSGISGenerateMipmap {
+public interface GLSGISGenerateMipmap extends overrun.marshal.DirectAccess {
int GL_GENERATE_MIPMAP_SGIS = 0x8191;
int GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192;
}
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 d57f106f..1d7309b0 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_multisample}
*/
-public interface GLSGISMultisample {
+public interface GLSGISMultisample extends overrun.marshal.DirectAccess {
int GL_MULTISAMPLE_SGIS = 0x809D;
int GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E;
int GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F;
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 c2e1aa6f..d41d7936 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_pixel_texture}
*/
-public interface GLSGISPixelTexture {
+public interface GLSGISPixelTexture extends overrun.marshal.DirectAccess {
int GL_PIXEL_TEXTURE_SGIS = 0x8353;
int GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x8354;
int GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x8355;
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 23c6f610..f46a8eaa 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_point_line_texgen}
*/
-public interface GLSGISPointLineTexgen {
+public interface GLSGISPointLineTexgen extends overrun.marshal.DirectAccess {
int GL_EYE_DISTANCE_TO_POINT_SGIS = 0x81F0;
int GL_OBJECT_DISTANCE_TO_POINT_SGIS = 0x81F1;
int GL_EYE_DISTANCE_TO_LINE_SGIS = 0x81F2;
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 1abb5e79..d8952e99 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_point_parameters}
*/
-public interface GLSGISPointParameters {
+public interface GLSGISPointParameters extends overrun.marshal.DirectAccess {
int GL_POINT_SIZE_MIN_SGIS = 0x8126;
int GL_POINT_SIZE_MAX_SGIS = 0x8127;
int GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128;
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 7db85a23..feaf9ad6 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_sharpen_texture}
*/
-public interface GLSGISSharpenTexture {
+public interface GLSGISSharpenTexture extends overrun.marshal.DirectAccess {
int GL_LINEAR_SHARPEN_SGIS = 0x80AD;
int GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE;
int GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF;
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 8ccea1f2..040c852b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_texture4D}
*/
-public interface GLSGISTexture4D {
+public interface GLSGISTexture4D extends overrun.marshal.DirectAccess {
int GL_PACK_SKIP_VOLUMES_SGIS = 0x8130;
int GL_PACK_IMAGE_DEPTH_SGIS = 0x8131;
int GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132;
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 a13bdc75..344c2fbe 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIS_texture_border_clamp}
*/
-public interface GLSGISTextureBorderClamp {
+public interface GLSGISTextureBorderClamp extends overrun.marshal.DirectAccess {
int GL_CLAMP_TO_BORDER_SGIS = 0x812D;
}
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 41320602..6c19dfb5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_texture_color_mask}
*/
-public interface GLSGISTextureColorMask {
+public interface GLSGISTextureColorMask extends overrun.marshal.DirectAccess {
int GL_TEXTURE_COLOR_WRITEMASK_SGIS = 0x81EF;
default void glTextureColorMaskSGIS(boolean red, boolean green, boolean blue, boolean alpha) {
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 2bf890d7..920694af 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIS_texture_edge_clamp}
*/
-public interface GLSGISTextureEdgeClamp {
+public interface GLSGISTextureEdgeClamp extends overrun.marshal.DirectAccess {
int GL_CLAMP_TO_EDGE_SGIS = 0x812F;
}
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 fa730658..f1a1ffe4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_texture_filter4}
*/
-public interface GLSGISTextureFilter4 {
+public interface GLSGISTextureFilter4 extends overrun.marshal.DirectAccess {
int GL_FILTER4_SGIS = 0x8146;
int GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147;
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 255f7158..70b1ee00 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_texture_lod}
*/
-public interface GLSGISTextureLod {
+public interface GLSGISTextureLod extends overrun.marshal.DirectAccess {
int GL_TEXTURE_MIN_LOD_SGIS = 0x813A;
int GL_TEXTURE_MAX_LOD_SGIS = 0x813B;
int GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C;
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 315cc763..bca96ba1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIS_texture_select}
*/
-public interface GLSGISTextureSelect {
+public interface GLSGISTextureSelect extends overrun.marshal.DirectAccess {
int GL_DUAL_ALPHA4_SGIS = 0x8110;
int GL_DUAL_ALPHA8_SGIS = 0x8111;
int GL_DUAL_ALPHA12_SGIS = 0x8112;
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 887437c0..9b4af7c5 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGI_texture_color_table}
*/
-public interface GLSGITextureColorTable {
+public interface GLSGITextureColorTable extends overrun.marshal.DirectAccess {
int GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC;
int GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD;
}
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 bea9e7fc..4f6d5444 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_async}
*/
-public interface GLSGIXAsync {
+public interface GLSGIXAsync extends overrun.marshal.DirectAccess {
int GL_ASYNC_MARKER_SGIX = 0x8329;
default void glAsyncMarkerSGIX(int marker) {
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 443c076e..9ee8aacd 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_async_histogram}
*/
-public interface GLSGIXAsyncHistogram {
+public interface GLSGIXAsyncHistogram extends overrun.marshal.DirectAccess {
int GL_ASYNC_HISTOGRAM_SGIX = 0x832C;
int GL_MAX_ASYNC_HISTOGRAM_SGIX = 0x832D;
}
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 4fa75c92..997c12bd 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_async_pixel}
*/
-public interface GLSGIXAsyncPixel {
+public interface GLSGIXAsyncPixel extends overrun.marshal.DirectAccess {
int GL_ASYNC_TEX_IMAGE_SGIX = 0x835C;
int GL_ASYNC_DRAW_PIXELS_SGIX = 0x835D;
int GL_ASYNC_READ_PIXELS_SGIX = 0x835E;
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 266d108c..872f18ea 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_blend_alpha_minmax}
*/
-public interface GLSGIXBlendAlphaMinmax {
+public interface GLSGIXBlendAlphaMinmax extends overrun.marshal.DirectAccess {
int GL_ALPHA_MIN_SGIX = 0x8320;
int GL_ALPHA_MAX_SGIX = 0x8321;
}
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 cdb01bd6..4bc06558 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIX_calligraphic_fragment}
*/
-public interface GLSGIXCalligraphicFragment {
+public interface GLSGIXCalligraphicFragment extends overrun.marshal.DirectAccess {
int GL_CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183;
}
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 af7c37a1..34dbd9d9 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_clipmap}
*/
-public interface GLSGIXClipmap {
+public interface GLSGIXClipmap extends overrun.marshal.DirectAccess {
int GL_LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170;
int GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171;
int GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172;
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 f3733f28..02fe3528 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIX_convolution_accuracy}
*/
-public interface GLSGIXConvolutionAccuracy {
+public interface GLSGIXConvolutionAccuracy extends overrun.marshal.DirectAccess {
int GL_CONVOLUTION_HINT_SGIX = 0x8316;
}
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 eed03684..f477f7e1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_depth_texture}
*/
-public interface GLSGIXDepthTexture {
+public interface GLSGIXDepthTexture extends overrun.marshal.DirectAccess {
int GL_DEPTH_COMPONENT16_SGIX = 0x81A5;
int GL_DEPTH_COMPONENT24_SGIX = 0x81A6;
int GL_DEPTH_COMPONENT32_SGIX = 0x81A7;
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 cbbc72a5..be1b922e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_flush_raster}
*/
-public interface GLSGIXFlushRaster {
+public interface GLSGIXFlushRaster extends overrun.marshal.DirectAccess {
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 5c4bceeb..00f4b072 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_fog_offset}
*/
-public interface GLSGIXFogOffset {
+public interface GLSGIXFogOffset extends overrun.marshal.DirectAccess {
int GL_FOG_OFFSET_SGIX = 0x8198;
int GL_FOG_OFFSET_VALUE_SGIX = 0x8199;
}
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 33217597..8083a6fc 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_fragment_lighting}
*/
-public interface GLSGIXFragmentLighting {
+public interface GLSGIXFragmentLighting extends overrun.marshal.DirectAccess {
int GL_FRAGMENT_LIGHTING_SGIX = 0x8400;
int GL_FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401;
int GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX = 0x8402;
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 457b47a2..5f778cdc 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_framezoom}
*/
-public interface GLSGIXFramezoom {
+public interface GLSGIXFramezoom extends overrun.marshal.DirectAccess {
int GL_FRAMEZOOM_SGIX = 0x818B;
int GL_FRAMEZOOM_FACTOR_SGIX = 0x818C;
int GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D;
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 ef4e2d7f..b6dfc4f3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_igloo_interface}
*/
-public interface GLSGIXIglooInterface {
+public interface GLSGIXIglooInterface extends overrun.marshal.DirectAccess {
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 95f6360f..5b5e7f07 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_instruments}
*/
-public interface GLSGIXInstruments {
+public interface GLSGIXInstruments extends overrun.marshal.DirectAccess {
int GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180;
int GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181;
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 8719b39e..66fc4f30 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIX_interlace}
*/
-public interface GLSGIXInterlace {
+public interface GLSGIXInterlace extends overrun.marshal.DirectAccess {
int GL_INTERLACE_SGIX = 0x8094;
}
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 9ffd3d8c..6bfc4b08 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIX_ir_instrument1}
*/
-public interface GLSGIXIrInstrument1 {
+public interface GLSGIXIrInstrument1 extends overrun.marshal.DirectAccess {
int GL_IR_INSTRUMENT1_SGIX = 0x817F;
}
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 a6fa9f81..b86c53cb 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_list_priority}
*/
-public interface GLSGIXListPriority {
+public interface GLSGIXListPriority extends overrun.marshal.DirectAccess {
int GL_LIST_PRIORITY_SGIX = 0x8182;
default void glGetListParameterfvSGIX(int list, int pname, @NativeType("GLfloat *") MemorySegment params) {
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 ec5f03f8..72475073 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_pixel_texture}
*/
-public interface GLSGIXPixelTexture {
+public interface GLSGIXPixelTexture extends overrun.marshal.DirectAccess {
int GL_PIXEL_TEX_GEN_SGIX = 0x8139;
int GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B;
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 79857476..0171a048 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_pixel_tiles}
*/
-public interface GLSGIXPixelTiles {
+public interface GLSGIXPixelTiles extends overrun.marshal.DirectAccess {
int GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX = 0x813E;
int GL_PIXEL_TILE_CACHE_INCREMENT_SGIX = 0x813F;
int GL_PIXEL_TILE_WIDTH_SGIX = 0x8140;
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 1a937dce..6938a646 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_polynomial_ffd}
*/
-public interface GLSGIXPolynomialFFD {
+public interface GLSGIXPolynomialFFD extends overrun.marshal.DirectAccess {
int GL_TEXTURE_DEFORMATION_BIT_SGIX = 0x00000001;
int GL_GEOMETRY_DEFORMATION_BIT_SGIX = 0x00000002;
int GL_GEOMETRY_DEFORMATION_SGIX = 0x8194;
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 5c756126..04ee8bfd 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_reference_plane}
*/
-public interface GLSGIXReferencePlane {
+public interface GLSGIXReferencePlane extends overrun.marshal.DirectAccess {
int GL_REFERENCE_PLANE_SGIX = 0x817D;
int GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E;
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 31d0b3c9..c4fe1e21 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_resample}
*/
-public interface GLSGIXResample {
+public interface GLSGIXResample extends overrun.marshal.DirectAccess {
int GL_PACK_RESAMPLE_SGIX = 0x842E;
int GL_UNPACK_RESAMPLE_SGIX = 0x842F;
int GL_RESAMPLE_REPLICATE_SGIX = 0x8433;
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 a5e815e1..18030c2e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIX_scalebias_hint}
*/
-public interface GLSGIXScalebiasHint {
+public interface GLSGIXScalebiasHint extends overrun.marshal.DirectAccess {
int GL_SCALEBIAS_HINT_SGIX = 0x8322;
}
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 ade15f9b..258af274 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_shadow}
*/
-public interface GLSGIXShadow {
+public interface GLSGIXShadow extends overrun.marshal.DirectAccess {
int GL_TEXTURE_COMPARE_SGIX = 0x819A;
int GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B;
int GL_TEXTURE_LEQUAL_R_SGIX = 0x819C;
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 eccd9af4..f03da4ed 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIX_shadow_ambient}
*/
-public interface GLSGIXShadowAmbient {
+public interface GLSGIXShadowAmbient extends overrun.marshal.DirectAccess {
int GL_SHADOW_AMBIENT_SGIX = 0x80BF;
}
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 e4261587..67f7c039 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_sprite}
*/
-public interface GLSGIXSprite {
+public interface GLSGIXSprite extends overrun.marshal.DirectAccess {
int GL_SPRITE_SGIX = 0x8148;
int GL_SPRITE_MODE_SGIX = 0x8149;
int GL_SPRITE_AXIS_SGIX = 0x814A;
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 63f3f4d9..a526d4c1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_subsample}
*/
-public interface GLSGIXSubsample {
+public interface GLSGIXSubsample extends overrun.marshal.DirectAccess {
int GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0;
int GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1;
int GL_PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2;
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 b9710417..18bb4494 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_tag_sample_buffer}
*/
-public interface GLSGIXTagSampleBuffer {
+public interface GLSGIXTagSampleBuffer extends overrun.marshal.DirectAccess {
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 91cf1fad..65204707 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIX_texture_add_env}
*/
-public interface GLSGIXTextureAddEnv {
+public interface GLSGIXTextureAddEnv extends overrun.marshal.DirectAccess {
int GL_TEXTURE_ENV_BIAS_SGIX = 0x80BE;
}
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 f51a1cfd..24b789d1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_texture_coordinate_clamp}
*/
-public interface GLSGIXTextureCoordinateClamp {
+public interface GLSGIXTextureCoordinateClamp extends overrun.marshal.DirectAccess {
int GL_TEXTURE_MAX_CLAMP_S_SGIX = 0x8369;
int GL_TEXTURE_MAX_CLAMP_T_SGIX = 0x836A;
int GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B;
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 405a60f1..9909c6d1 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_texture_lod_bias}
*/
-public interface GLSGIXTextureLodBias {
+public interface GLSGIXTextureLodBias extends overrun.marshal.DirectAccess {
int GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E;
int GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F;
int GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190;
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 52a8b06b..f2ae145f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SGIX_texture_multi_buffer}
*/
-public interface GLSGIXTextureMultiBuffer {
+public interface GLSGIXTextureMultiBuffer extends overrun.marshal.DirectAccess {
int GL_TEXTURE_MULTI_BUFFER_HINT_SGIX = 0x812E;
}
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 5f7edb6a..efcb8321 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_texture_scale_bias}
*/
-public interface GLSGIXTextureScaleBias {
+public interface GLSGIXTextureScaleBias extends overrun.marshal.DirectAccess {
int GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179;
int GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A;
int GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B;
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 a765d12e..a7db749e 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_vertex_preclip}
*/
-public interface GLSGIXVertexPreclip {
+public interface GLSGIXVertexPreclip extends overrun.marshal.DirectAccess {
int GL_VERTEX_PRECLIP_SGIX = 0x83EE;
int GL_VERTEX_PRECLIP_HINT_SGIX = 0x83EF;
}
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 bd583ee0..271d6b52 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_ycrcb}
*/
-public interface GLSGIXYcrcb {
+public interface GLSGIXYcrcb extends overrun.marshal.DirectAccess {
int GL_YCRCB_422_SGIX = 0x81BB;
int GL_YCRCB_444_SGIX = 0x81BC;
}
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 ef1dcab3..44ae0b09 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SGIX_ycrcba}
*/
-public interface GLSGIXYcrcba {
+public interface GLSGIXYcrcba extends overrun.marshal.DirectAccess {
int GL_YCRCB_SGIX = 0x8318;
int GL_YCRCBA_SGIX = 0x8319;
}
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 e69c1a3d..475d914b 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SUN_convolution_border_modes}
*/
-public interface GLSUNConvolutionBorderModes {
+public interface GLSUNConvolutionBorderModes extends overrun.marshal.DirectAccess {
int GL_WRAP_BORDER_SUN = 0x81D4;
}
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 599153a1..f70fa4b2 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SUN_global_alpha}
*/
-public interface GLSUNGlobalAlpha {
+public interface GLSUNGlobalAlpha extends overrun.marshal.DirectAccess {
int GL_GLOBAL_ALPHA_SUN = 0x81D9;
int GL_GLOBAL_ALPHA_FACTOR_SUN = 0x81DA;
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 35955526..ca31ae2f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SUN_mesh_array}
*/
-public interface GLSUNMeshArray {
+public interface GLSUNMeshArray extends overrun.marshal.DirectAccess {
int GL_QUAD_MESH_SUN = 0x8614;
int GL_TRIANGLE_MESH_SUN = 0x8615;
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 26d115df..14d699d4 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
/**
* {@code GL_SUN_slice_accum}
*/
-public interface GLSUNSliceAccum {
+public interface GLSUNSliceAccum extends overrun.marshal.DirectAccess {
int GL_SLICE_ACCUM_SUN = 0x85CC;
}
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 01af8271..3ec900c3 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SUN_triangle_list}
*/
-public interface GLSUNTriangleList {
+public interface GLSUNTriangleList extends overrun.marshal.DirectAccess {
int GL_RESTART_SUN = 0x0001;
int GL_REPLACE_MIDDLE_SUN = 0x0002;
int GL_REPLACE_OLDEST_SUN = 0x0003;
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 310f8126..0af5928f 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SUN_vertex}
*/
-public interface GLSUNVertex {
+public interface GLSUNVertex extends overrun.marshal.DirectAccess {
default void glColor4ubVertex2fSUN(byte r, byte g, byte b, byte a, float x, float y) {
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 29a61365..f97ddf45 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
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022-present Overrun Organization
+ * Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/**
* {@code GL_SUNX_constant_data}
*/
-public interface GLSUNXConstantData {
+public interface GLSUNXConstantData extends overrun.marshal.DirectAccess {
int GL_UNPACK_CONSTANT_DATA_SUNX = 0x81D5;
int GL_TEXTURE_CONSTANT_DATA_SUNX = 0x81D6;
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/Handles.java b/modules/overrungl.stb/src/main/java/overrungl/stb/Handles.java
index 8f10297b..676949e5 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/Handles.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/Handles.java
@@ -20,7 +20,9 @@
import overrungl.OverrunGL;
import overrungl.internal.RuntimeHelper;
+import java.lang.foreign.MemorySegment;
import java.lang.foreign.SymbolLookup;
+import java.lang.foreign.ValueLayout;
import java.util.function.Supplier;
/**
@@ -31,11 +33,22 @@
*/
final class Handles {
static final SymbolLookup lookup;
+ static final MemorySegment stbi_write_tga_with_rle,
+ stbi_write_png_compression_level,
+ stbi_write_force_png_filter;
static {
final Supplier lib = () -> RuntimeHelper.load("stb", "stb", OverrunGL.STB_VERSION);
final var function = Configurations.STB_SYMBOL_LOOKUP.get();
lookup = function != null ? function.apply(lib) : lib.get();
+
+ stbi_write_tga_with_rle = findIntOrThrow("stbi_write_tga_with_rle");
+ stbi_write_png_compression_level = findIntOrThrow("stbi_write_png_compression_level");
+ stbi_write_force_png_filter = findIntOrThrow("stbi_write_force_png_filter");
+ }
+
+ private static MemorySegment findIntOrThrow(String name) {
+ return lookup.find(name).orElseThrow().reinterpret(ValueLayout.JAVA_INT.byteSize());
}
private Handles() {
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBEasyFont.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBEasyFont.java
index b22c8873..6a28f1df 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBEasyFont.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBEasyFont.java
@@ -17,6 +17,7 @@
package overrungl.stb;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Entrypoint;
import overrun.marshal.gen.Sized;
@@ -55,7 +56,7 @@
* @author squid233
* @since 0.1.0
*/
-interface STBEasyFont {
+public interface STBEasyFont extends DirectAccess {
/**
* The instance of STBEasyFont.
*/
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIIoCallbacks.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIIoCallbacks.java
index e7eac67b..90c78fc2 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIIoCallbacks.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIIoCallbacks.java
@@ -47,15 +47,15 @@ public final class STBIIoCallbacks extends Struct {
/**
* the read callback
*/
- public final StructHandle.Upcall read = StructHandle.ofUpcall(this, "read", Read::wrap);
+ public static final StructHandle.Upcall read = StructHandle.ofUpcall(LAYOUT, "read", Read::wrap);
/**
* the skip callback
*/
- public final StructHandle.Upcall skip = StructHandle.ofUpcall(this, "skip", Skip::wrap);
+ public static final StructHandle.Upcall skip = StructHandle.ofUpcall(LAYOUT, "skip", Skip::wrap);
/**
* the eof callback
*/
- public final StructHandle.Upcall eof = StructHandle.ofUpcall(this, "eof", Eof::wrap);
+ public static final StructHandle.Upcall eof = StructHandle.ofUpcall(LAYOUT, "eof", Eof::wrap);
/**
* Creates a struct with the given layout.
@@ -106,7 +106,7 @@ public interface Read extends Upcall {
/**
* the type
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.of(ValueLayout.JAVA_INT, ValueLayout.ADDRESS, ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
/**
* Fill {@code data} with {@code size} bytes.
@@ -125,7 +125,6 @@ public interface Read extends Upcall {
* @param size byte size to fill
* @return number of bytes actually read
*/
- @Stub
default int ninvoke(MemorySegment user, MemorySegment data, int size) {
return invoke(user, data.reinterpret(size));
}
@@ -135,15 +134,16 @@ default MemorySegment stub(Arena arena) {
return TYPE.of(arena, this);
}
- @Wrapper
- static Read wrap(Arena arena, MemorySegment stub) {
- return TYPE.wrap(stub, handle -> (user, data) -> {
- try {
- return (int) handle.invokeExact(user, data, Math.toIntExact(data.byteSize()));
- } catch (Throwable e) {
- throw new RuntimeException(e);
- }
- });
+ static int invoke(MemorySegment stub, MemorySegment user, MemorySegment data, int size) {
+ try {
+ return (int) TYPE.downcallTarget().invokeExact(stub, user, data, size);
+ } catch (Throwable e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ static Read wrap(MemorySegment stub) {
+ return (user, data) -> invoke(stub, user, data, Math.toIntExact(data.byteSize()));
}
}
@@ -158,7 +158,7 @@ public interface Skip extends Upcall {
/**
* the type
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
/**
* Skip the next {@code n} bytes, or “unget” the last {@code -n} bytes if negative
@@ -166,7 +166,6 @@ public interface Skip extends Upcall {
* @param user userdata
* @param n byte size to skip
*/
- @Stub
void invoke(MemorySegment user, int n);
@@ -175,15 +174,16 @@ default MemorySegment stub(Arena arena) {
return TYPE.of(arena, this);
}
- @Wrapper
- static Skip wrap(Arena arena, MemorySegment stub) {
- return TYPE.wrap(stub, handle -> (user, n) -> {
- try {
- handle.invokeExact(user, n);
- } catch (Throwable e) {
- throw new RuntimeException(e);
- }
- });
+ static void invoke(MemorySegment stub, MemorySegment user, int n) {
+ try {
+ TYPE.downcallTarget().invokeExact(stub, user, n);
+ } catch (Throwable e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ static Skip wrap(MemorySegment stub) {
+ return (user, n) -> invoke(stub, user, n);
}
}
@@ -198,14 +198,13 @@ public interface Eof extends Upcall {
/**
* the type
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.of(ValueLayout.JAVA_INT, ValueLayout.ADDRESS));
/**
* {@return nonzero if we are at end of file/data}
*
* @param user userdata
*/
- @Stub
int invoke(MemorySegment user);
@Override
@@ -213,15 +212,16 @@ default MemorySegment stub(Arena arena) {
return TYPE.of(arena, this);
}
- @Wrapper
- static Eof wrap(Arena arena, MemorySegment segment) {
- return TYPE.wrap(segment, handle -> user -> {
- try {
- return (int) handle.invokeExact(user);
- } catch (Throwable e) {
- throw new RuntimeException(e);
- }
- });
+ static int invoke(MemorySegment stub, MemorySegment user) {
+ try {
+ return (int) TYPE.downcallTarget().invokeExact(stub, user);
+ } catch (Throwable e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ static Eof wrap(MemorySegment stub) {
+ return user -> invoke(stub, user);
}
}
}
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRInputCallback.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRInputCallback.java
index 1871fd31..58acf4cb 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRInputCallback.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRInputCallback.java
@@ -20,7 +20,9 @@
import overrungl.NativeType;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* INPUT CALLBACK: this callback is used for input scanlines
@@ -67,10 +69,9 @@ public interface STBIRInputCallback extends Upcall {
/**
* the type
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.of(ValueLayout.ADDRESS, ValueLayout.ADDRESS, ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.ADDRESS));
@NativeType("void const *")
- @Stub
MemorySegment invoke(@NativeType("void *") MemorySegment optional_output, @NativeType("void const *") MemorySegment input_ptr, int num_pixels, int x, int y, @NativeType("void *") MemorySegment context);
@Override
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRKernelCallback.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRKernelCallback.java
index 242c7f82..670e8af1 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRKernelCallback.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRKernelCallback.java
@@ -20,7 +20,9 @@
import overrungl.NativeType;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* callbacks for user installed filters
@@ -33,10 +35,9 @@ public interface STBIRKernelCallback extends Upcall {
/**
* the type
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.of(ValueLayout.JAVA_FLOAT, ValueLayout.JAVA_FLOAT, ValueLayout.JAVA_FLOAT, ValueLayout.ADDRESS));
// centered at zero
- @Stub
float invoke(float x, float scale, @NativeType("void *") MemorySegment user_data);
@Override
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIROutputCallback.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIROutputCallback.java
index 95b86874..6a7199b2 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIROutputCallback.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIROutputCallback.java
@@ -20,7 +20,9 @@
import overrungl.NativeType;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* OUTPUT CALLBACK: this callback is used for output scanlines
@@ -44,9 +46,8 @@ public interface STBIROutputCallback extends Upcall {
/**
* the type
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.JAVA_INT, ValueLayout.JAVA_INT, ValueLayout.ADDRESS));
- @Stub
void invoke(@NativeType("void const *") MemorySegment output_ptr, int num_pixels, int y, @NativeType("void *") MemorySegment context);
@Override
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRSupportCallback.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRSupportCallback.java
index 97c3fd8d..7c172f60 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRSupportCallback.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIRSupportCallback.java
@@ -20,7 +20,9 @@
import overrungl.NativeType;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* callbacks for user installed filters
@@ -33,10 +35,9 @@ public interface STBIRSupportCallback extends Upcall {
/**
* the type
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("invoke", FunctionDescriptor.of(ValueLayout.JAVA_FLOAT, ValueLayout.JAVA_FLOAT, ValueLayout.ADDRESS));
// centered at zero
- @Stub
float invoke(float scale, @NativeType("void *") MemorySegment user_data);
@Override
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIWriteFunc.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIWriteFunc.java
index 7590654c..0f844ef2 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBIWriteFunc.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBIWriteFunc.java
@@ -19,7 +19,9 @@
import overrun.marshal.Upcall;
import java.lang.foreign.Arena;
+import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
/**
* The write-callback.
@@ -32,11 +34,10 @@ public interface STBIWriteFunc extends Upcall {
/**
* the type
*/
- Type TYPE = Upcall.type();
+ Type TYPE = Upcall.type("ninvoke", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS, ValueLayout.ADDRESS, ValueLayout.JAVA_INT));
void invoke(MemorySegment context, MemorySegment data);
- @Stub
default void ninvoke(MemorySegment context, MemorySegment data, int size) {
invoke(context, data.reinterpret(size));
}
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBImage.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBImage.java
index d4dd52b9..57a89b77 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBImage.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBImage.java
@@ -17,6 +17,7 @@
package overrungl.stb;
import org.jetbrains.annotations.Nullable;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.MemoryStack;
import overrun.marshal.Unmarshal;
@@ -33,7 +34,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface STBImage {
+public interface STBImage extends DirectAccess {
/**
* The instance of STBImage.
*/
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBImageResize2.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBImageResize2.java
index 97ea9dc6..7ab45d98 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBImageResize2.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBImageResize2.java
@@ -16,6 +16,7 @@
package overrungl.stb;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Entrypoint;
import overrungl.NativeType;
@@ -29,7 +30,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface STBImageResize2 {
+public interface STBImageResize2 extends DirectAccess {
/**
* The instance of STBImageResize2.
*/
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBImageWrite.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBImageWrite.java
index 22ccf7f2..251c1263 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBImageWrite.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBImageWrite.java
@@ -16,6 +16,7 @@
package overrungl.stb;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Convert;
import overrun.marshal.gen.Entrypoint;
@@ -25,6 +26,7 @@
import java.lang.foreign.Arena;
import java.lang.foreign.MemorySegment;
import java.lang.foreign.SegmentAllocator;
+import java.lang.foreign.ValueLayout;
import java.lang.invoke.MethodHandles;
/**
@@ -33,30 +35,41 @@
* @author squid233
* @since 0.1.0
*/
-public interface STBImageWrite {
+public interface STBImageWrite extends DirectAccess {
/**
* The instance of STBImageWrite.
*/
STBImageWrite INSTANCE = Downcall.load(MethodHandles.lookup(), Handles.lookup);
- @Convert(Type.INT)
- @Entrypoint("stbi_get_write_tga_with_rle")
- boolean getWriteTgaWithRle();
+ @Skip
+ default boolean getWriteTgaWithRle() {
+ return Handles.stbi_write_tga_with_rle.get(ValueLayout.JAVA_INT, 0L) != 0;
+ }
- @Entrypoint("stbi_get_write_png_compression_level")
- int getWritePngCompressionLevel();
+ @Skip
+ default void setWriteTgaWithRle(boolean rle) {
+ Handles.stbi_write_tga_with_rle.set(ValueLayout.JAVA_INT, 0L, rle ? 1 : 0);
+ }
- @Entrypoint("stbi_get_write_force_png_filter")
- int getWriteForcePngFilter();
+ @Skip
+ default int getWritePngCompressionLevel() {
+ return Handles.stbi_write_png_compression_level.get(ValueLayout.JAVA_INT, 0L);
+ }
- @Entrypoint("stbi_set_write_tga_with_rle")
- void setWriteTgaWithRle(@Convert(Type.INT) boolean rle);
+ @Skip
+ default void setWritePngCompressionLevel(int level) {
+ Handles.stbi_write_png_compression_level.set(ValueLayout.JAVA_INT, 0L, level);
+ }
- @Entrypoint("stbi_set_write_png_compression_level")
- void setWritePngCompressionLevel(int level);
+ @Skip
+ default int getWriteForcePngFilter() {
+ return Handles.stbi_write_force_png_filter.get(ValueLayout.JAVA_INT, 0L);
+ }
- @Entrypoint("stbi_set_write_force_png_filter")
- void setWriteForcePngFilter(int filter);
+ @Skip
+ default void setWriteForcePngFilter(int filter) {
+ Handles.stbi_write_force_png_filter.set(ValueLayout.JAVA_INT, 0L, filter);
+ }
@Convert(Type.INT)
@Entrypoint("stbi_write_png")
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBPerlin.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBPerlin.java
index 170d7469..b0d87840 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBPerlin.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBPerlin.java
@@ -16,6 +16,7 @@
package overrungl.stb;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Entrypoint;
@@ -27,7 +28,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface STBPerlin {
+public interface STBPerlin extends DirectAccess {
/**
* The instance of STBPerlin.
*/
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBRPRect.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBRPRect.java
index 035edd10..dc15235c 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBRPRect.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBRPRect.java
@@ -42,21 +42,21 @@ public final class STBRPRect extends Struct {
/**
* reserved for your use
*/
- public final StructHandle.Int id = StructHandle.ofInt(this, "id");
+ public static final StructHandle.Int id = StructHandle.ofInt(LAYOUT, "id");
/**
* input
*/
- public final StructHandle.Int w = StructHandle.ofInt(this, "w"),
- h = StructHandle.ofInt(this, "h");
+ public static final StructHandle.Int w = StructHandle.ofInt(LAYOUT, "w"),
+ h = StructHandle.ofInt(LAYOUT, "h");
/**
* output
*/
- public final StructHandle.Int x = StructHandle.ofInt(this, "x"),
- y = StructHandle.ofInt(this, "y"),
+ public static final StructHandle.Int x = StructHandle.ofInt(LAYOUT, "x"),
+ y = StructHandle.ofInt(LAYOUT, "y"),
/**
* non-zero if valid packing
*/
- wasPacked = StructHandle.ofInt(this, "was_packed");
+ wasPacked = StructHandle.ofInt(LAYOUT, "was_packed");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBRectPack.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBRectPack.java
index 152c10f1..8c18a94b 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBRectPack.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBRectPack.java
@@ -16,6 +16,7 @@
package overrungl.stb;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Entrypoint;
@@ -30,7 +31,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface STBRectPack {
+public interface STBRectPack extends DirectAccess {
/**
* The instance of STBRectPack.
*/
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTAlignedQuad.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTAlignedQuad.java
index 39b9cc69..cba629bb 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTAlignedQuad.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTAlignedQuad.java
@@ -56,17 +56,17 @@ public final class STBTTAlignedQuad extends Struct {
/**
* top-left
*/
- public final StructHandle.Float x0 = StructHandle.ofFloat(this, "x0"),
- y0 = StructHandle.ofFloat(this, "y0"),
- s0 = StructHandle.ofFloat(this, "s0"),
- t0 = StructHandle.ofFloat(this, "t0");
+ public static final StructHandle.Float x0 = StructHandle.ofFloat(LAYOUT, "x0"),
+ y0 = StructHandle.ofFloat(LAYOUT, "y0"),
+ s0 = StructHandle.ofFloat(LAYOUT, "s0"),
+ t0 = StructHandle.ofFloat(LAYOUT, "t0");
/**
* bottom-right
*/
- public final StructHandle.Float x1 = StructHandle.ofFloat(this, "x1"),
- y1 = StructHandle.ofFloat(this, "y1"),
- s1 = StructHandle.ofFloat(this, "s1"),
- t1 = StructHandle.ofFloat(this, "t1");
+ public static final StructHandle.Float x1 = StructHandle.ofFloat(LAYOUT, "x1"),
+ y1 = StructHandle.ofFloat(LAYOUT, "y1"),
+ s1 = StructHandle.ofFloat(LAYOUT, "s1"),
+ t1 = StructHandle.ofFloat(LAYOUT, "t1");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTBakedChar.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTBakedChar.java
index 157d5c5b..3f9df4ed 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTBakedChar.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTBakedChar.java
@@ -55,22 +55,22 @@ public final class STBTTBakedChar extends Struct {
/**
* coordinates of bbox in bitmap
*/
- public final StructHandle.Short x0 = StructHandle.ofShort(this, "x0"),
- y0 = StructHandle.ofShort(this, "y0"),
- x1 = StructHandle.ofShort(this, "x1"),
- y1 = StructHandle.ofShort(this, "y1");
+ public static final StructHandle.Short x0 = StructHandle.ofShort(LAYOUT, "x0"),
+ y0 = StructHandle.ofShort(LAYOUT, "y0"),
+ x1 = StructHandle.ofShort(LAYOUT, "x1"),
+ y1 = StructHandle.ofShort(LAYOUT, "y1");
/**
* xoff
*/
- public final StructHandle.Float xoff = StructHandle.ofFloat(this, "xoff");
+ public static final StructHandle.Float xoff = StructHandle.ofFloat(LAYOUT, "xoff");
/**
* yoff
*/
- public final StructHandle.Float yoff = StructHandle.ofFloat(this, "yoff");
+ public static final StructHandle.Float yoff = StructHandle.ofFloat(LAYOUT, "yoff");
/**
* xadvance
*/
- public final StructHandle.Float xadvance = StructHandle.ofFloat(this, "xadvance");
+ public static final StructHandle.Float xadvance = StructHandle.ofFloat(LAYOUT, "xadvance");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTKerningEntry.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTKerningEntry.java
index f70499c0..b9af8e27 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTKerningEntry.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTKerningEntry.java
@@ -47,15 +47,15 @@ public final class STBTTKerningEntry extends Struct {
/**
* use stbtt_FindGlyphIndex
*/
- public final StructHandle.Int glyph1 = StructHandle.ofInt(this, "glyph1");
+ public static final StructHandle.Int glyph1 = StructHandle.ofInt(LAYOUT, "glyph1");
/**
* glyph2
*/
- public final StructHandle.Int glyph2 = StructHandle.ofInt(this, "glyph2");
+ public static final StructHandle.Int glyph2 = StructHandle.ofInt(LAYOUT, "glyph2");
/**
* advance
*/
- public final StructHandle.Int advance = StructHandle.ofInt(this, "advance");
+ public static final StructHandle.Int advance = StructHandle.ofInt(LAYOUT, "advance");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTPackRange.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTPackRange.java
index 30873563..f65299cb 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTPackRange.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTPackRange.java
@@ -64,29 +64,29 @@ public final class STBTTPackRange extends Struct {
/**
* font_size
*/
- public final StructHandle.Float fontSize = StructHandle.ofFloat(this, "font_size");
+ public static final StructHandle.Float fontSize = StructHandle.ofFloat(LAYOUT, "font_size");
/**
* if non-zero, then the chars are continuous, and this is the first codepoint
*/
- public final StructHandle.Int firstUnicodeCodepointInRange = StructHandle.ofInt(this, "first_unicode_codepoint_in_range");
+ public static final StructHandle.Int firstUnicodeCodepointInRange = StructHandle.ofInt(LAYOUT, "first_unicode_codepoint_in_range");
/**
* if non-zero, then this is an array of unicode codepoints
*/
- public final StructHandle.Array arrayOfUnicodeCodepoints = StructHandle.ofArray(this, "array_of_unicode_codepoints", Marshal::marshal, Unmarshal::unmarshalAsIntArray);
+ public static final StructHandle.Array arrayOfUnicodeCodepoints = StructHandle.ofArray(LAYOUT, "array_of_unicode_codepoints", Marshal::marshal, Unmarshal::unmarshalAsIntArray);
/**
* num_chars
*/
- public final StructHandle.Int numChars = StructHandle.ofInt(this, "num_chars");
+ public static final StructHandle.Int numChars = StructHandle.ofInt(LAYOUT, "num_chars");
/**
* output
*/
- public final StructHandle.Array chardataForRange = StructHandle.ofArray(this, "chardata_for_range", Marshal::marshal,
+ public static final StructHandle.Array chardataForRange = StructHandle.ofArray(LAYOUT, "chardata_for_range", Marshal::marshal,
segment -> Unmarshal.unmarshal(ADDRESS, segment, STBTTPackedChar[]::new, s -> new STBTTPackedChar(s.get(ADDRESS.withTargetLayout(STBTTPackedChar.LAYOUT), 0L), 1L)));
/**
* don't set these, they're used internally
*/
- public final StructHandleView.Byte hOversample = StructHandle.ofByte(this, "h_oversample"),
- vOversample = StructHandle.ofByte(this, "v_oversample");
+ public static final StructHandleView.Byte hOversample = StructHandle.ofByte(LAYOUT, "h_oversample"),
+ vOversample = StructHandle.ofByte(LAYOUT, "v_oversample");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTPackedChar.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTPackedChar.java
index a5b62e91..270285da 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTPackedChar.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTPackedChar.java
@@ -58,30 +58,30 @@ public final class STBTTPackedChar extends Struct {
/**
* coordinates of bbox in bitmap
*/
- public final StructHandle.Short x0 = StructHandle.ofShort(this, "x0"),
- y0 = StructHandle.ofShort(this, "y0"),
- x1 = StructHandle.ofShort(this, "x1"),
- y1 = StructHandle.ofShort(this, "y1");
+ public static final StructHandle.Short x0 = StructHandle.ofShort(LAYOUT, "x0"),
+ y0 = StructHandle.ofShort(LAYOUT, "y0"),
+ x1 = StructHandle.ofShort(LAYOUT, "x1"),
+ y1 = StructHandle.ofShort(LAYOUT, "y1");
/**
* xoff
*/
- public final StructHandle.Float xoff = StructHandle.ofFloat(this, "xoff");
+ public static final StructHandle.Float xoff = StructHandle.ofFloat(LAYOUT, "xoff");
/**
* yoff
*/
- public final StructHandle.Float yoff = StructHandle.ofFloat(this, "yoff");
+ public static final StructHandle.Float yoff = StructHandle.ofFloat(LAYOUT, "yoff");
/**
* xadvance
*/
- public final StructHandle.Float xadvance = StructHandle.ofFloat(this, "xadvance");
+ public static final StructHandle.Float xadvance = StructHandle.ofFloat(LAYOUT, "xadvance");
/**
* xoff2
*/
- public final StructHandle.Float xoff2 = StructHandle.ofFloat(this, "xoff2");
+ public static final StructHandle.Float xoff2 = StructHandle.ofFloat(LAYOUT, "xoff2");
/**
* yoff2
*/
- public final StructHandle.Float yoff2 = StructHandle.ofFloat(this, "yoff2");
+ public static final StructHandle.Float yoff2 = StructHandle.ofFloat(LAYOUT, "yoff2");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTVertex.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTVertex.java
index ad2c4c67..49ad67bf 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTVertex.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTTVertex.java
@@ -58,35 +58,35 @@ public final class STBTTVertex extends Struct {
/**
* x
*/
- public final StructHandle.Short x = StructHandle.ofShort(this, "x");
+ public static final StructHandle.Short x = StructHandle.ofShort(LAYOUT, "x");
/**
* y
*/
- public final StructHandle.Short y = StructHandle.ofShort(this, "y");
+ public static final StructHandle.Short y = StructHandle.ofShort(LAYOUT, "y");
/**
* cx
*/
- public final StructHandle.Short cx = StructHandle.ofShort(this, "cx");
+ public static final StructHandle.Short cx = StructHandle.ofShort(LAYOUT, "cx");
/**
* cy
*/
- public final StructHandle.Short cy = StructHandle.ofShort(this, "cy");
+ public static final StructHandle.Short cy = StructHandle.ofShort(LAYOUT, "cy");
/**
* cx1
*/
- public final StructHandle.Short cx1 = StructHandle.ofShort(this, "cx1");
+ public static final StructHandle.Short cx1 = StructHandle.ofShort(LAYOUT, "cx1");
/**
* cy1
*/
- public final StructHandle.Short cy1 = StructHandle.ofShort(this, "cy1");
+ public static final StructHandle.Short cy1 = StructHandle.ofShort(LAYOUT, "cy1");
/**
* type
*/
- public final StructHandle.Byte type = StructHandle.ofByte(this, "type");
+ public static final StructHandle.Byte type = StructHandle.ofByte(LAYOUT, "type");
/**
* padding
*/
- public final StructHandle.Byte padding = StructHandle.ofByte(this, "padding");
+ public static final StructHandle.Byte padding = StructHandle.ofByte(LAYOUT, "padding");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTrueType.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTrueType.java
index 79477e59..a37ead16 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBTrueType.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBTrueType.java
@@ -16,6 +16,7 @@
package overrungl.stb;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Convert;
import overrun.marshal.gen.Entrypoint;
@@ -309,7 +310,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface STBTrueType {
+public interface STBTrueType extends DirectAccess {
/**
* The instance of STBTrueType.
*/
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbis.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbis.java
index 898a3e08..450d1acb 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbis.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbis.java
@@ -16,6 +16,7 @@
package overrungl.stb;
+import overrun.marshal.DirectAccess;
import overrun.marshal.Downcall;
import overrun.marshal.gen.Entrypoint;
import overrun.marshal.struct.ByValue;
@@ -52,7 +53,7 @@
* @author squid233
* @since 0.1.0
*/
-public interface STBVorbis {
+public interface STBVorbis extends DirectAccess {
/**
* The instance of STBVorbis.
*/
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisAlloc.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisAlloc.java
index f3a132cf..b3c71d3c 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisAlloc.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisAlloc.java
@@ -69,11 +69,11 @@ public final class STBVorbisAlloc extends Struct {
/**
* alloc_buffer
*/
- public final StructHandle.Address allocBuffer = StructHandle.ofAddress(this, "alloc_buffer");
+ public static final StructHandle.Address allocBuffer = StructHandle.ofAddress(LAYOUT, "alloc_buffer");
/**
* alloc_buffer_length_in_bytes
*/
- public final StructHandle.Int allocBufferLengthInBytes = StructHandle.ofInt(this, "alloc_buffer_length_in_bytes");
+ public static final StructHandle.Int allocBufferLengthInBytes = StructHandle.ofInt(LAYOUT, "alloc_buffer_length_in_bytes");
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisComment.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisComment.java
index ea364879..91e430a3 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisComment.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisComment.java
@@ -55,15 +55,15 @@ public final class STBVorbisComment extends Struct {
/**
* vendor
*/
- public final StructHandle.Array vendor = StructHandle.ofArray(this, "vendor", Marshal::marshal, Unmarshal::unmarshalAsByteArray);
+ public static final StructHandle.Array vendor = StructHandle.ofArray(LAYOUT, "vendor", Marshal::marshal, Unmarshal::unmarshalAsByteArray);
/**
* comment_list_length
*/
- public final StructHandle.Int commentListLength = StructHandle.ofInt(this, "comment_list_length");
+ public static final StructHandle.Int commentListLength = StructHandle.ofInt(LAYOUT, "comment_list_length");
/**
* comment_list
*/
- public final StructHandle.Array commentList = StructHandle.ofArray(this, "comment_list", Marshal::marshal, Unmarshal::unmarshalAsStringArray);
+ public static final StructHandle.Array commentList = StructHandle.ofArray(LAYOUT, "comment_list", Marshal::marshal, Unmarshal::unmarshalAsStringArray);
/**
* Creates a struct with the given layout.
diff --git a/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisInfo.java b/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisInfo.java
index 32778b44..90630566 100644
--- a/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisInfo.java
+++ b/modules/overrungl.stb/src/main/java/overrungl/stb/STBVorbisInfo.java
@@ -60,27 +60,27 @@ public final class STBVorbisInfo extends Struct {
/**
* sample_rate
*/
- public final StructHandle.Int sampleRate = StructHandle.ofInt(this, "sample_rate");
+ public static final StructHandle.Int sampleRate = StructHandle.ofInt(LAYOUT, "sample_rate");
/**
* channels
*/
- public final StructHandle.Int channels = StructHandle.ofInt(this, "channels");
+ public static final StructHandle.Int channels = StructHandle.ofInt(LAYOUT, "channels");
/**
* setup_memory_required
*/
- public final StructHandle.Int setupMemoryRequired = StructHandle.ofInt(this, "setup_memory_required");
+ public static final StructHandle.Int setupMemoryRequired = StructHandle.ofInt(LAYOUT, "setup_memory_required");
/**
* setup_temp_memory_required
*/
- public final StructHandle.Int setupTempMemoryRequired = StructHandle.ofInt(this, "setup_temp_memory_required");
+ public static final StructHandle.Int setupTempMemoryRequired = StructHandle.ofInt(LAYOUT, "setup_temp_memory_required");
/**
* temp_memory_required
*/
- public final StructHandle.Int tempMemoryRequired = StructHandle.ofInt(this, "temp_memory_required");
+ public static final StructHandle.Int tempMemoryRequired = StructHandle.ofInt(LAYOUT, "temp_memory_required");
/**
* max_frame_size
*/
- public final StructHandle.Int maxFrameSize = StructHandle.ofInt(this, "max_frame_size");
+ public static final StructHandle.Int maxFrameSize = StructHandle.ofInt(LAYOUT, "max_frame_size");
/**
* Creates a struct with the given layout.
diff --git a/modules/samples/build.gradle.kts b/modules/samples/build.gradle.kts
index 251eab64..7f91bfd1 100644
--- a/modules/samples/build.gradle.kts
+++ b/modules/samples/build.gradle.kts
@@ -1,3 +1,7 @@
+plugins {
+ id("me.champeau.jmh") version "0.7.2"
+}
+
val projModules: String by project
dependencies {
@@ -12,6 +16,6 @@ dependencies {
implementation(project(":$it"))
}
testImplementation("io.github.over-run:timer:0.3.0")
- jmh("org.openjdk.jmh:jmh-core:1.36")
- jmhAnnotationProcessor("org.openjdk.jmh:jmh-generator-annprocess:1.36")
+ jmh("org.openjdk.jmh:jmh-core:1.37")
+ jmhAnnotationProcessor("org.openjdk.jmh:jmh-generator-annprocess:1.37")
}
diff --git a/modules/samples/src/jmh/java/overrungl/demo/mem/MemoryUtilTest.java b/modules/samples/src/jmh/java/overrungl/demo/mem/MemoryUtilTest.java
index d518eff7..24998f5e 100644
--- a/modules/samples/src/jmh/java/overrungl/demo/mem/MemoryUtilTest.java
+++ b/modules/samples/src/jmh/java/overrungl/demo/mem/MemoryUtilTest.java
@@ -16,17 +16,19 @@
package overrungl.demo.mem;
-import java.lang.foreign.Arena;
-import java.lang.foreign.MemorySegment;
-import java.util.concurrent.TimeUnit;
-
import org.openjdk.jmh.annotations.*;
+import org.openjdk.jmh.infra.Blackhole;
import org.openjdk.jmh.results.format.ResultFormatType;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.OptionsBuilder;
+import overrun.marshal.MemoryStack;
import overrungl.util.MemoryUtil;
+import java.lang.foreign.Arena;
+import java.lang.foreign.MemorySegment;
+import java.util.concurrent.TimeUnit;
+
/**
* Tests memory util
*
@@ -36,57 +38,55 @@
@BenchmarkMode(Mode.Throughput)
@State(Scope.Thread)
@OutputTimeUnit(TimeUnit.SECONDS)
-@Warmup(iterations = 5, time = 1)
-@Measurement(iterations = 5, time = 1)
+@Warmup(iterations = 5, time = 250, timeUnit = TimeUnit.MILLISECONDS, batchSize = 100)
+@Measurement(iterations = 5, time = 250, timeUnit = TimeUnit.MILLISECONDS, batchSize = 100)
@Threads(Threads.MAX)
@Fork(1)
public class MemoryUtilTest {
@Param({"0", "1", "10", "128", "1024"})
private long size;
- private Arena arena;
-
- @Setup(Level.Iteration)
- public void setup() {
- arena = Arena.ofConfined();
- }
@Benchmark
- public MemorySegment testArenaInside() {
- try (Arena arena1 = Arena.ofConfined()) {
- return arena1.allocate(size);
+ public void measureArena(Blackhole bh) {
+ try (Arena arena = Arena.ofConfined()) {
+ bh.consume(arena.allocate(size));
}
}
@Benchmark
- public MemorySegment testArenaOutside() {
- return arena.allocate(size);
+ public void measureMalloc(Blackhole bh) {
+ MemorySegment segment = MemorySegment.NULL;
+ try {
+ segment = MemoryUtil.malloc(size);
+ bh.consume(segment);
+ } finally {
+ MemoryUtil.free(segment);
+ }
}
@Benchmark
- public MemorySegment memoryUtilMalloc() {
- MemorySegment seg = null;
+ public void measureCalloc(Blackhole bh) {
+ MemorySegment segment = MemorySegment.NULL;
try {
- seg = MemoryUtil.malloc(size);
- return seg;
+ segment = MemoryUtil.calloc(1L, size);
+ bh.consume(segment);
} finally {
- MemoryUtil.free(seg);
+ MemoryUtil.free(segment);
}
}
@Benchmark
- public MemorySegment memoryUtilCalloc() {
- MemorySegment seg = null;
- try {
- seg = MemoryUtil.calloc(1, size);
- return seg;
- } finally {
- MemoryUtil.free(seg);
+ public void measureStackMalloc(Blackhole bh) {
+ try (MemoryStack stack = MemoryStack.stackPush()) {
+ bh.consume(stack.malloc(size, 1L));
}
}
- @TearDown(Level.Iteration)
- public void dispose() {
- arena.close();
+ @Benchmark
+ public void measureStackCalloc(Blackhole bh) {
+ try (MemoryStack stack = MemoryStack.stackPush()) {
+ bh.consume(stack.allocate(size));
+ }
}
public static void main(String[] args) throws RunnerException {
diff --git a/modules/samples/src/test/java/overrungl/demo/glfw/GLFWWindowIconTest.java b/modules/samples/src/test/java/overrungl/demo/glfw/GLFWWindowIconTest.java
index 191fb2a2..fc19c51e 100644
--- a/modules/samples/src/test/java/overrungl/demo/glfw/GLFWWindowIconTest.java
+++ b/modules/samples/src/test/java/overrungl/demo/glfw/GLFWWindowIconTest.java
@@ -77,9 +77,9 @@ private void init(Arena arena) {
px, py, pc, STBImage.RGB_ALPHA
);
final GLFWImage image = new GLFWImage(arena);
- image.width.set(px.get(JAVA_INT, 0));
- image.height.set(py.get(JAVA_INT, 0));
- image.pixels.set(data);
+ GLFWImage.width.set(image, px.get(JAVA_INT, 0));
+ GLFWImage.height.set(image, py.get(JAVA_INT, 0));
+ GLFWImage.pixels.set(image, data);
glfw.setWindowIcon(window, image);
stbImage.free(data);
} catch (IOException e) {
diff --git a/modules/samples/src/test/java/overrungl/demo/opengl/GL33Test.java b/modules/samples/src/test/java/overrungl/demo/opengl/GL33Test.java
index 8bf74611..85185d94 100644
--- a/modules/samples/src/test/java/overrungl/demo/opengl/GL33Test.java
+++ b/modules/samples/src/test/java/overrungl/demo/opengl/GL33Test.java
@@ -27,6 +27,8 @@
import overrungl.opengl.GLFlags;
import overrungl.opengl.GLLoader;
import overrungl.opengl.GLUtil;
+import overrungl.opengl.ext.amd.GLAMDDebugOutput;
+import overrungl.opengl.ext.arb.GLARBDebugOutput;
import java.lang.foreign.Arena;
import java.lang.foreign.MemoryLayout;
@@ -113,7 +115,10 @@ private void load(Arena arena) {
final GLFlags flags = GLLoader.loadFlags(glfw::getProcAddress);
gl = Objects.requireNonNull(GLLoader.load(flags), "Failed to load OpenGL");
- debugProc = GLUtil.setupDebugMessageCallback(gl, flags, () -> GLLoader.loadExtension(flags));
+ debugProc = GLUtil.setupDebugMessageCallback(gl,
+ flags,
+ () -> GLLoader.loadContext(flags, GLARBDebugOutput.class),
+ () -> GLLoader.loadContext(flags, GLAMDDebugOutput.class));
gl.clearColor(0.4f, 0.6f, 0.9f, 1.0f);
program = gl.createProgram();
int vsh = gl.createShader(GL.VERTEX_SHADER);
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 0b35251c..6aaa341d 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -16,3 +16,5 @@ file("modules").listFiles().forEach {
include(s)
project(":$s").projectDir = it
}
+
+include("generators:opengl")