-
0b2f7e60
by Twaik Yont at 2026-02-04T22:21:42+01:00
wineandroid: Fix ANDROID_WindowPosChanged prototype in android.h.
The ANDROID_WindowPosChanged prototype in android.h was not updated along with
its implementation in e28867deb16579e541397a8e0c90153c94c82b90.
Fix the declaration to match the current function signature.
Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com>
-
da472e20
by Twaik Yont at 2026-02-04T22:21:42+01:00
wineandroid: Drop leftover drawable_mutex after win32u OpenGL changes.
Commit 392d6163614065edab50d5d629ff9f145e0a1012 removed the drawable_mutex
definition and all its users in the Android OpenGL driver, but left behind the
public declaration and initialization.
Remove the leftover extern declaration from android.h and the corresponding
pthread_mutex_init() call from init.c.
Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com>
-
41977e84
by Twaik Yont at 2026-02-04T22:21:42+01:00
wineandroid: Fix start_device_callback assignment type.
Newer compilers warn or error when assigning a function pointer to an
integer-typed field without an explicit cast.
Cast android_start_device when assigning it to start_device_callback to satisfy
the expected UINT64 type.
Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com>
-
2f6b3fdf
by Twaik Yont at 2026-02-04T22:21:42+01:00
win32u: Fix wineandroid build after OpenGL drawable refactoring.
After commit 7557d83c074a958ea042c3b86e11cd3b5670ec66, the Android OpenGL driver
fails to build because set_window_opengl_drawable() is no longer visible.
Export set_window_opengl_drawable() on Android to restore the wineandroid.drv
build, while keeping the existing internal linkage for non-Android platforms.
Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com>
-
63d33d02
by Twaik Yont at 2026-02-04T22:21:42+01:00
ntdll: Export Java globals for dlsym lookup.
The java_vm, java_object and java_gdt_sel globals are looked up via dlsym, but
can end up with hidden visibility and therefore missing from the dynamic
symbol table.
Explicitly export these symbols to ensure they remain visible to dlsym.
This appears to be required with newer Android NDK toolchains, likely related
to changes in symbol visibility handling (for example Android NDK r22).
Reference: https://github.com/android/ndk/wiki/Changelog-r22
Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com>
-
b3791d39
by Twaik Yont at 2026-02-04T22:21:42+01:00
wineandroid: Fix WineAndroid device access path.
Following an earlier change, the \\.\WineAndroid path and the corresponding
\??\WineAndroid symbolic link no longer resolved correctly.
Open the WineAndroid device directly via \Device\WineAndroid, create the driver
and device objects using explicit kernel object names, and update the ioctl
path to match. Use RTL_CONSTANT_STRING for allocation-free UNICODE_STRING
initialization.
Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com>