Maksim Belov
2e596cd07f
Fix[renderer]: move GL4ES initialization code ( #6447 )
2025-01-04 02:41:02 +03:00
Maksim Belov
eb6b23c76e
Merge branch 'v3_openjdk' into feat/quick_settings
2024-11-26 21:05:02 +03:00
artdeell
1aface5d17
Fix[lwjglx]: mouse jump on Y axis when changing resolution
2024-11-21 22:51:08 +03:00
Maksim Belov
a5d02c1aab
Fix[input_bridge]: fix Forge crashing the input bridge when app is rolled down ( #6297 )
...
Also fixes incorrect behaviour of GLFW regarding shown windows by default
2024-11-19 21:04:50 +03:00
artdeell
192cd746a3
Feat[launcher]: changes related to game obtaining and updating screen dimensions.
...
- Changed the way the initial screen dimensions are sent to the game
- Changed how the dimension updates are sent to the game
- Changed how the dimensions are determined and calculated
2024-11-12 13:57:54 +03:00
Maksim Belov
366f181533
Fix[input]: fix stuck inputs
2024-09-09 16:16:45 +03:00
Maksim Belov
992ac0f3c4
Fix[lwjgl]: Add forgottenLWJGL libraries
2024-07-18 11:19:27 +03:00
Maksim Belov
d8f0c27e7e
Feat[lwjgl]: Introduce LWJGL 3.3.3, add Freetype bindings
2024-07-16 22:34:22 +03:00
Duy Tran Khanh
bdc7f3347d
Workaround[GLFW]: stub glfwSetWindowSizeLimits
...
This is sufficient to run 1.21-pre1 for now (#5516 ), need to update to LWJGL 3.3.1 eventually (#5517 )
2024-05-31 13:33:32 +07:00
artdeell
84550a2fb7
Update LWJGL
2023-12-30 17:29:27 +03:00
Mathias-Boulay
3f302dc733
Fix[logging]: limit the amount of logging emitted from lwjgl
2023-11-19 17:55:00 +01:00
Mathias-Boulay
26f86f6d01
Workaround[lwjgl]: force fetching all functions
2023-11-19 11:42:45 +01:00
Maksim Belov
682fe04ef6
Refactor: Unified egl_bridge implementation ( #4816 )
...
* Start working on bridge unification
* Fin[bridge]: unified bridge structure
* Fix[egl_bridge]: remove legacy functions and make initialization more early
* Fix[bridge_tbl]: add forgotten gl_get_current
* Clean[jre_launcher]: remove stray adrsp_test() declaration
2023-11-06 21:12:08 +01:00
artdeell
96ccf71509
Feat[lwjgl]: standard Vulkan loader between OSMesa and LWJGL
2023-09-17 17:58:36 +03:00
Mathias Boulay
919a6a45f3
Fix: Don't declare capabilities, still load functions
2023-08-15 12:31:54 +02:00
Mathias Boulay
26e271f4ab
Fix[rendering]: black world on 1.17+
2023-08-14 23:50:14 +02:00
Duy Tran Khanh
4a8c1e4bc0
Feat[LWJGL]: update to 3.3.1 ( #4326 )
...
* Feat: update to LWJGL 3.3.1
Add nanovg module for OneConfig mod (untested)
Move most of jre_lwjgl3glfw source files to lwjgl3 repo
* Update lwjgl libraries
* Fix: fatal glfw callback cleanup
* Build: update lwjgl.jar (fix dlopen on 32bit)
https://github.com/PojavLauncherTeam/lwjgl3/commit/4c35777
* Feat: add support code for VulkanMod
Copied changes from v3_vulkanmod branch except libraries
Added patch script for VulkanMod
* Fix variable name
* Fix[oshi]: try to update to jna 5.13.0 and oshi 6.3.0
* fix compilation errors
* Fix NumberFormatException: For input string: "1-jre"
* Fix the brackets
* Fix: jna library path
* Fix OpenGL initialization
* Fix broken init of GL renderers
* Fixes[vulkanmod]: fix patcher script, set Vulkan libname
* Fix SHA1 mismatch of replaced libraries
* Build: update lwjgl-opengl.jar: reland fixPojavGLContext
29db8b5cc0
* Include libc++_shared in vulkanmod patcher
* Revert "Include libc++_shared in vulkanmod patcher"
This reverts commit cf3165e89c5de601ad9e7ffe7c6eee2573df7135.
* Fix java version detection for LabyMod4
* Fix lwjgl-openal missing wrapper
---------
Co-authored-by: khanhduytran0 <khanhduytran0@users.noreply.github.com>
2023-08-12 14:38:32 +07:00
Duy Tran Khanh
6279649747
Fix[glfw]: add missing function for 23w31a
2023-08-03 13:18:24 +07:00
artdeell
74dc84f160
Add stub GLFWNative* and GLFWVulkan into the GLFW jar
2023-07-12 19:42:55 +03:00
Boulay Mathias
7916166795
Fix[controls] 1.13+ sticky keys ( #4210 )
...
* Fix[controls] 1.13+ sticky keys
* Fix[controls]: missing setup phase
* Refactor: Use size_t instead of unsigned
* Refactor: use size_t instead of unsigned
2023-05-21 12:48:40 +02:00
Mathias-Boulay
ae25da0251
Fix: Use toolchain to set the lwjgl module java version to 8
2023-05-01 11:33:04 +02:00
skbeh
79fb01150e
Feat: Update Gradle to 7.6.1 and prepare for Gradle 8.0 ( #4074 )
...
The only left blocker for Gradle 8.0 is that
task ':app_pojavlauncher:lintAnalyzeDebug' uses this output of
task ':jre_lwjgl3glfw:jar' without declaring an explicit or implicit dependency.
2023-05-01 11:24:10 +02:00
Mathias-Boulay
8b38456b77
Fix[GLFW]: better isExtensionSupported signature
2023-03-29 19:48:32 +02:00
artdeell
3e3b97317b
Implement mouse button buffer
...
Fixes Timeless and Classics Guns on 1.16.5 (and probably newer versions too)
2023-03-07 15:03:55 +03:00
artdeell
00f6d29fb9
Fixed: unable to change resolution after first mouse move
...
Also some changes around thread attachment
2023-03-03 16:21:26 +03:00
artdeell
de6c03049a
More work on the native input
2023-03-02 23:01:25 +03:00
artdeell
21cfe0515a
Merge
2023-03-02 21:46:13 +03:00
artdeell
4c435228cc
Finally! Fix window size for Minecraft 1.2.1-1.2.4
2023-01-31 17:58:33 +03:00
artdeell
e264181356
Change AWT Canvas size inside Display.create() (to force older MC versions to resize ASAP)
2023-01-31 07:33:30 +03:00
artdeell
693cff45b0
Infdev cursor grab: the Pojav part
...
Also featuring:
Window resize on first key even poll
2023-01-29 22:17:42 +03:00
artdeell
4716e99df1
Don't call Display.create in AWTGLCanvas constructor (fixes Minecraft 1.2.1-1.2.4)
2023-01-28 14:36:18 +03:00
artdeell
2293664bd4
Workaround: Initialize GL capabilities early for gl4es
2023-01-27 22:22:42 +03:00
Duy Tran Khanh
ebb69fd554
GLFW.java: add glfwExtensionSupported
2022-12-06 18:41:21 +07:00
artdeell
86eb81c00b
New, combined native+Java input bridge
2022-11-20 12:29:40 +03:00
Boulay Mathias
b98c012c29
Fix: Add a check to the index
...
This fixes some mods like galacticraft trying to get unexisting keyboard keys
2022-10-31 19:51:28 +01:00
NotAHero04
f9616655ed
Update GLFWImage.java
...
wrap deprecated functions
2022-10-20 10:39:12 +07:00
NotAHero04
c32b38b521
Update build.gradle
...
remove extraneous duplicates strategy
2022-10-19 22:34:35 +07:00
Nguyen Phi Hung
2e43367af0
Adapt LWJGL 3.4 changes (hopefully fixes 22w42a)
2022-10-19 22:05:31 +07:00
NotAHero04
64410a65e5
Merge branch 'thejudge156:v3_openjdk' into v3_openjdk
2022-10-19 21:33:23 +07:00
The Judge
d82d725b01
Fix duplication strategy, fix terrain not rendering on Sodium
2022-10-17 15:48:29 -07:00
NotAHero04
d42c81724c
Update build.gradle
...
Task "jre_lwjgl3glfw:jar": add duplicates strategy
2022-10-17 07:54:08 +07:00
Boulay Mathias
9e70fc9a8e
Removed the eglSwapInterval call, rewrote v-sync to use the swap interval
2022-10-03 19:52:57 +02:00
Boulay Mathias
a7b0a10410
Display & LWJGL updates
...
Modified gl_bridge: now the 1st context made current is the rendering context
Modified lwjgl: now it ignores calls done without initialized GLCapabilities instead of crashing the game. This should fix Essesnsestiatl and remove the need for static Display.create workaround
Why? It removed the excess context creation and thus the 1st created context is the actual rendering context, not a random init context.
Modified Display: removed static init and added checks so that it won't try changing video modes for a non-existent window
2022-10-03 19:51:18 +02:00
khanhduytran0
2c240425e0
Added back org.lwjgl.MemoryUtil class
2022-08-28 14:33:37 +07:00
Duy Tran Khanh
92fcdae05a
Fixes a crash that could occur with Java 17
2022-08-14 02:03:35 +00:00
Duy Tran Khanh
3af22f055b
Fixed a long-lasted bug: 0x0 resolution
2022-08-12 12:18:38 +07:00
artdeell
aa8bfdd518
Fixes for Spiral Knights
2022-08-08 22:32:01 +03:00
khanhduytran0
cec4d56c9e
(1.13+) Handle ingame opening folder/link + Fix copy/paste
2022-06-07 21:07:19 +07:00
Boulay Mathias
c1212c7039
Fall back on precise syncing
2022-05-31 23:52:01 +02:00
Boulay Mathias
c6adda41db
Fix abused sleeping
2022-05-27 11:39:12 +02:00