Remove subpackages from rendering.type package
Some checks failed
build-and-test / test (push) Failing after 2m9s
build-and-test / build (push) Failing after 15m9s
build-and-test / generate-javadoc (push) Failing after 15m51s

This commit is contained in:
JeremyStar™ 2024-12-01 20:10:37 +01:00
parent 3450ba3fb0
commit ec1dcb734a
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
17 changed files with 27 additions and 75 deletions

View file

@ -35,7 +35,7 @@ import de.staropensource.engine.rendering.event.RenderingErrorEvent;
import de.staropensource.engine.rendering.exception.NotOnMainThreadException; import de.staropensource.engine.rendering.exception.NotOnMainThreadException;
import de.staropensource.engine.rendering.renderer.Renderer; import de.staropensource.engine.rendering.renderer.Renderer;
import de.staropensource.engine.rendering.type.Window; import de.staropensource.engine.rendering.type.Window;
import de.staropensource.engine.rendering.type.window.Platform; import de.staropensource.engine.rendering.type.Platform;
import lombok.Getter; import lombok.Getter;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;

View file

@ -23,10 +23,10 @@ import de.staropensource.engine.base.implementable.Configuration;
import de.staropensource.engine.base.logging.Logger; import de.staropensource.engine.base.logging.Logger;
import de.staropensource.engine.base.utility.PropertiesReader; import de.staropensource.engine.base.utility.PropertiesReader;
import de.staropensource.engine.rendering.event.RenderingErrorEvent; import de.staropensource.engine.rendering.event.RenderingErrorEvent;
import de.staropensource.engine.rendering.type.window.Adapter; import de.staropensource.engine.rendering.type.Adapter;
import de.staropensource.engine.rendering.type.window.Platform; import de.staropensource.engine.rendering.type.Platform;
import de.staropensource.engine.rendering.type.window.Renderer; import de.staropensource.engine.rendering.type.Renderer;
import de.staropensource.engine.rendering.type.window.VsyncMode; import de.staropensource.engine.rendering.type.VsyncMode;
import lombok.Getter; import lombok.Getter;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;

View file

@ -21,8 +21,8 @@ package de.staropensource.engine.rendering.callback;
import de.staropensource.engine.rendering.type.Window; import de.staropensource.engine.rendering.type.Window;
import de.staropensource.engine.rendering.event.InputEvent; import de.staropensource.engine.rendering.event.InputEvent;
import de.staropensource.engine.rendering.type.input.Key; import de.staropensource.engine.rendering.type.Key;
import de.staropensource.engine.rendering.type.input.KeyState; import de.staropensource.engine.rendering.type.KeyState;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.lwjgl.glfw.GLFWKeyCallbackI; import org.lwjgl.glfw.GLFWKeyCallbackI;

View file

@ -21,8 +21,8 @@ package de.staropensource.engine.rendering.callback;
import de.staropensource.engine.rendering.type.Window; import de.staropensource.engine.rendering.type.Window;
import de.staropensource.engine.rendering.event.InputEvent; import de.staropensource.engine.rendering.event.InputEvent;
import de.staropensource.engine.rendering.type.input.Key; import de.staropensource.engine.rendering.type.Key;
import de.staropensource.engine.rendering.type.input.KeyState; import de.staropensource.engine.rendering.type.KeyState;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.lwjgl.glfw.GLFWMouseButtonCallbackI; import org.lwjgl.glfw.GLFWMouseButtonCallbackI;

View file

@ -24,8 +24,8 @@ import de.staropensource.engine.base.implementable.helper.EventHelper;
import de.staropensource.engine.base.logging.Logger; import de.staropensource.engine.base.logging.Logger;
import de.staropensource.engine.rendering.RenderingSubsystemConfiguration; import de.staropensource.engine.rendering.RenderingSubsystemConfiguration;
import de.staropensource.engine.rendering.type.Window; import de.staropensource.engine.rendering.type.Window;
import de.staropensource.engine.rendering.type.input.Key; import de.staropensource.engine.rendering.type.Key;
import de.staropensource.engine.rendering.type.input.KeyState; import de.staropensource.engine.rendering.type.KeyState;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;

View file

@ -25,7 +25,7 @@ import de.staropensource.engine.base.utility.misc.NumberUtil;
import de.staropensource.engine.rendering.RenderingSubsystemConfiguration; import de.staropensource.engine.rendering.RenderingSubsystemConfiguration;
import de.staropensource.engine.rendering.type.FrameHandler; import de.staropensource.engine.rendering.type.FrameHandler;
import de.staropensource.engine.rendering.type.Window; import de.staropensource.engine.rendering.type.Window;
import de.staropensource.engine.rendering.type.window.VsyncMode; import de.staropensource.engine.rendering.type.VsyncMode;
import java.util.HashMap; import java.util.HashMap;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.staropensource.engine.rendering.type.window; package de.staropensource.engine.rendering.type;
/** /**
* Represents all available adapters. * Represents all available adapters.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.staropensource.engine.rendering.type.input; package de.staropensource.engine.rendering.type;
/** /**
* Contains a list of keys which can be recognized by the engine. * Contains a list of keys which can be recognized by the engine.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.staropensource.engine.rendering.type.input; package de.staropensource.engine.rendering.type;
/** /**
* Contains in which state a key is. * Contains in which state a key is.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.staropensource.engine.rendering.type.window; package de.staropensource.engine.rendering.type;
/** /**
* Represents all available platforms. * Represents all available platforms.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.staropensource.engine.rendering.type.window; package de.staropensource.engine.rendering.type;
/** /**
* Represents all available renderers. * Represents all available renderers.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.staropensource.engine.rendering.type.window; package de.staropensource.engine.rendering.type;
import de.staropensource.engine.rendering.RenderingSubsystemConfiguration; import de.staropensource.engine.rendering.RenderingSubsystemConfiguration;

View file

@ -1,25 +0,0 @@
/*
* STAROPENSOURCE ENGINE SOURCE FILE
* Copyright (c) 2024 The StarOpenSource Engine Authors
* Licensed under the GNU Affero General Public License v3
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/**
* Data types related to input.
*
* @since v1-alpha9
*/
package de.staropensource.engine.rendering.type.input;

View file

@ -1,25 +0,0 @@
/*
* STAROPENSOURCE ENGINE SOURCE FILE
* Copyright (c) 2024 The StarOpenSource Engine Authors
* Licensed under the GNU Affero General Public License v3
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/**
* Data types related to windows.
*
* @since v1-alpha9
*/
package de.staropensource.engine.rendering.type.window;

View file

@ -22,8 +22,6 @@ module sosengine.rendering {
exports de.staropensource.engine.rendering.exception; exports de.staropensource.engine.rendering.exception;
exports de.staropensource.engine.rendering.renderer; exports de.staropensource.engine.rendering.renderer;
exports de.staropensource.engine.rendering.type; exports de.staropensource.engine.rendering.type;
exports de.staropensource.engine.rendering.type.input;
exports de.staropensource.engine.rendering.type.window;
// Reflection access // Reflection access
opens de.staropensource.engine.rendering; opens de.staropensource.engine.rendering;
@ -31,6 +29,4 @@ module sosengine.rendering {
opens de.staropensource.engine.rendering.exception; opens de.staropensource.engine.rendering.exception;
opens de.staropensource.engine.rendering.renderer; opens de.staropensource.engine.rendering.renderer;
opens de.staropensource.engine.rendering.type; opens de.staropensource.engine.rendering.type;
opens de.staropensource.engine.rendering.type.input;
opens de.staropensource.engine.rendering.type.window;
} }

View file

@ -73,9 +73,15 @@ jar {
application { application {
mainClass.set("de.staropensource.engine.testapp.Main") mainClass.set("de.staropensource.engine.testapp.Main")
applicationDefaultJvmArgs = [ applicationDefaultJvmArgs = [
"-XX:+UnlockDiagnosticVMOptions",
// Display GC log // Display GC log
//"-Xlog:gc", //"-Xlog:gc",
// Log compilation of methods
//"-XX:+PrintCompilation",
//"-XX:+PrintInlining",
// Set log level to DIAGNOSTIC // Set log level to DIAGNOSTIC
"-Dsosengine.base.logLevel=diagnostic", "-Dsosengine.base.logLevel=diagnostic",

View file

@ -29,8 +29,8 @@ import de.staropensource.engine.rendering.event.InputEvent;
import de.staropensource.engine.rendering.renderer.Renderer; import de.staropensource.engine.rendering.renderer.Renderer;
import de.staropensource.engine.rendering.type.FrameHandler; import de.staropensource.engine.rendering.type.FrameHandler;
import de.staropensource.engine.rendering.type.Window; import de.staropensource.engine.rendering.type.Window;
import de.staropensource.engine.rendering.type.input.Key; import de.staropensource.engine.rendering.type.Key;
import de.staropensource.engine.rendering.type.input.KeyState; import de.staropensource.engine.rendering.type.KeyState;
import lombok.Getter; import lombok.Getter;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;