Skip to content

Commit

Permalink
Merge pull request #44 from Over-Run/opengl
Browse files Browse the repository at this point in the history
[OpenGL] Rewrite OpenGL
  • Loading branch information
squid233 authored Feb 1, 2024
2 parents b106663 + f0cf725 commit 3c93e5e
Show file tree
Hide file tree
Showing 501 changed files with 17,771 additions and 36,183 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ See [doc/notes](doc/notes/README.md).

Javadoc can be found [here](https://over-run.github.io/overrungl-doc/).

The documentation of OpenGL can be found [here](https://docs.gl/).
The documentation of OpenGL can be found [here](https://registry.khronos.org/OpenGL-Refpages/gl4/) and [here](https://docs.gl/).

### Credits

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jdkEnablePreview=true
jdkEarlyAccessDoc=jdk22
kotlinTargetJdkVersion=21

overrunMarshalVersion=0.1.0-alpha.10-jdk22
overrunMarshalVersion=0.1.0-alpha.13-jdk22
overrunPlatformVersion=1.0.0
96 changes: 0 additions & 96 deletions modules/overrungl.core/src/main/java/overrungl/Callback.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2022-2023 Overrun Organization
* Copyright (c) 2022-2024 Overrun Organization
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -27,30 +27,12 @@
* @since 0.1.0
*/
public final class Configurations {
/**
* The default stack size in KiB of {@link overrungl.util.MemoryStack MemoryStack}.
* <p>
* The default value is {@code 64}.
*/
public static final Entry<Long> STACK_SIZE = new Entry<>(() -> 64L);
/**
* The default stack frames of {@link overrungl.util.MemoryStack MemoryStack}.
* <p>
* The default value is {@code 8}.
*/
public static final Entry<Integer> STACK_FRAMES = new Entry<>(() -> 8);
/**
* Enable debug messages and prints to {@link OverrunGL#apiLogger()}.
* <p>
* The default value is {@code false}.
*/
public static final Entry<Boolean> DEBUG = new Entry<>(() -> false);
/**
* Enable using debug memory stack.
* <p>
* The default value is {@code false}.
*/
public static final Entry<Boolean> DEBUG_STACK = new Entry<>(() -> false);
/**
* Enable debug memory util to check memory leaks.
* <p>
Expand All @@ -63,18 +45,6 @@ public final class Configurations {
* The default value is {@code false}.
*/
public static final Entry<Boolean> DEBUG_MEM_UTIL_FAST = new Entry<>(() -> false);
/**
* Enable checks.
* <p>
* The default value is {@code true}.
*/
public static final Entry<Boolean> CHECKS = new Entry<>(() -> true);
/**
* Forcing to check all method handles for OpenGL.
* <p>
* The default value is {@code false}.
*/
public static final Entry<Boolean> GL_FORCE_CHECK_ALL = new Entry<>(() -> false);
/**
* The symbol lookup of GLFW.
* The returned value must not be null.
Expand Down

This file was deleted.

Loading

0 comments on commit 3c93e5e

Please sign in to comment.