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
artdeell
52243eff92
Make CallbackBridge static again for more performance
2022-05-10 21:10:32 +03:00
artdeell
dd63c7e242
Remove excessive call
2022-05-09 23:10:44 +03:00
artdeell
61d12f4a34
Re-add all libraries to Git
2022-05-09 22:41:05 +03:00
artdeell
d9c4d91d14
Make CallbackBridge indirect input pipe non-static
...
It made the input work!!!
2022-05-09 22:32:06 +03:00
artdeell
ab0ff09950
Move fat jar build step to gradle build file
2022-05-09 18:38:05 +03:00
SerpentSpirale
ba1d8db65e
Replace TABs with 4 spaces
2022-04-02 16:39:59 +02:00
SerpentSpirale
146cc46121
Allow window resize for older versions of minecraft
2022-04-02 16:39:59 +02:00
SerpentSpirale
4dc3a4755e
CPU friendlier framerate limiter implementation
2022-04-02 16:39:59 +02:00
SerpentSpirale
841f29cb63
Avoid 1.14.2 crashing when pressing anywhere and in the option menu
2022-04-02 16:39:59 +02:00
SerpentSpirale
e42251a836
Auto update lwjgl jar
2022-04-02 16:39:59 +02:00
khanhduytran0
a0262bd08b
Update GLFW window state (hover, visibility)
...
This fixes DynamicFPS mod being broken
2022-03-04 08:21:05 +07:00
Duy Tran Khanh
b0af8e43f4
Use HashMap.getOrDefault()
2022-03-02 20:00:36 +07:00
Duy Tran Khanh
1f1d542ed7
Fix a NPE when windowAttribs.get() = null
...
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
at org.lwjgl.glfw.GLFW.glfwGetWindowAttrib(GLFW.java:895)
2022-03-02 19:58:03 +07:00
Duy Tran Khanh
8244236645
Update GLFW.java
2022-02-28 09:13:29 +07:00
Duy Tran Khanh
491c16ecab
Fix ArrayIndexOutOfBoundsException when glfwGetKey(0)
2022-02-28 09:00:13 +07:00
Duy Tran Khanh
bb9d2eaf9f
GLFW.java: add missing array version of functions
2022-01-10 07:44:38 +07:00
Duy Tran Khanh
c1de44dd13
Added missing class (for #2468 )
2021-12-29 18:20:06 +07:00
ArtDev
cd80841236
Merge branch 'v3-virgl' into v3_openjdk
2021-11-15 18:08:25 +03:00