Alexandre Julliard pushed to branch master at wine / wine Commits: 009f62f1 by Twaik Yont at 2026-04-20T20:38:44+02:00 wineandroid: Switch java_* variables to direct linking. wineandroid.so is already linked against ntdll by the build system, so there is no need to resolve java_vm, java_object and java_gdt_sel via dlsym() at runtime. Replace the indirect pointers (p_java_*) with direct references to the exported symbols. This simplifies the code and removes unnecessary runtime linking. Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com> - - - - - ca5fa32e by Twaik Yont at 2026-04-20T20:38:44+02:00 wineandroid: Load AHardwareBuffer symbols from libandroid. Move AHardwareBuffer symbol loading into load_android_libs() and drop the separate init_ahardwarebuffers() path. libandroid is part of the public NDK API surface, so both the library itself and the AHardwareBuffer interfaces it provides are expected to be available on all supported Android systems. Load these symbols together with the rest of the Android APIs instead of treating them as an optional or separately initialized component. This simplifies initialization and removes redundant code paths. Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com> - - - - - a9f4743e by Twaik Yont at 2026-04-20T20:38:44+02:00 wineandroid: Simplify client pid handling. Pass the client pid explicitly through ioctl_android_dequeueBuffer instead of relying on thread-local driver_data propagation. The pid is only required for handle duplication in dequeueBuffer, so there is no need to thread it through the generic ioctl dispatch path or Java window management calls. This simplifies the dispatch path and makes pid usage explicit at the single call site that requires it. This also prepares the code for execution without a Wine TEB, where thread-local state and helpers like wine_server_fd_to_handle will not be available. Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com> - - - - - 6 changed files: - dlls/wineandroid.drv/WineActivity.java - dlls/wineandroid.drv/android.h - dlls/wineandroid.drv/device.c - dlls/wineandroid.drv/dllmain.c - dlls/wineandroid.drv/init.c - dlls/wineandroid.drv/unixlib.h View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d56f36c1aa0927a19d74bef6658657... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d56f36c1aa0927a19d74bef6658657... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help