diff options
author | Sven Gothel <[email protected]> | 2023-06-09 20:31:17 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-06-16 02:43:11 +0200 |
commit | 4267837c591c9c205ff5206afaf38bba8c4215ac (patch) | |
tree | 73db7e31ced10f3b793fadc9a76bb3d682e0fda4 /make/config/nativewindow/win32-lib.cfg | |
parent | 6fa48e0595d6b607195eee53c0b985a8cddfa7bb (diff) |
Adopt to GlueGen commit 952e0c1f83c9e0583a97d39988a6ba1428911c8c
To limit growing code due to GlueGen's more capable new `Struct` emitter (more supported setter),
`Struct` with intended read-only access have been marked `ImmutableAccess` in their GlueGen config file.
Produced code with above setting compared with pre-GlueGen change is reduced
while also having dropped all of the JNI calls retrieving `Struct` values.
Only calls to function-pointer produced JNI methods, of course.
Diffstat (limited to 'make/config/nativewindow/win32-lib.cfg')
-rw-r--r-- | make/config/nativewindow/win32-lib.cfg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/make/config/nativewindow/win32-lib.cfg b/make/config/nativewindow/win32-lib.cfg index d4cb15c41..d039d6e90 100644 --- a/make/config/nativewindow/win32-lib.cfg +++ b/make/config/nativewindow/win32-lib.cfg @@ -20,6 +20,14 @@ NIODirectOnly DwmSetWindowAttribute NIODirectOnly GetWindowCompositionAccentPolicy NIODirectOnly SetWindowCompositionAccentPolicy +ImmutableAccess BITMAPINFO +# ImmutableAccess BITMAPINFOHEADER +# ImmutableAccess DWM_BLURBEHIND +# ImmutableAccess MARGINS +# ImmutableAccess PIXELFORMATDESCRIPTOR +ImmutableAccess RECT +ImmutableAccess RGBQUAD + Import com.jogamp.nativewindow.util.Point Import com.jogamp.nativewindow.NativeWindowException Import jogamp.nativewindow.NWJNILibLoader |