Commit Graph

106 Commits

Author SHA1 Message Date
Alexandre Julliard f5a512498b wineandroid: Implement wglMakeContextCurrentARB.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 09:19:05 +02:00
Alexandre Julliard a3eda7257c wineandroid: Implement wglCreateContextAttribsARB.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 09:18:55 +02:00
Alexandre Julliard 01439ef590 wineandroid: Create a proper EGL window surface once we receive a surface from Java.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 22:50:32 +02:00
Alexandre Julliard 1f736b5f7c wineandroid: Initial version of the OpenGL driver.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 21:42:45 +02:00
Alexandre Julliard f39e021006 wineandroid: Also create HWND_MESSAGE windows on the Java side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 20:04:43 +02:00
Alexandre Julliard cd2b41a2b4 wineandroid: Create window groups inside every window to support a client area.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 19:38:36 +02:00
Alexandre Julliard f77bbd45d6 wineandroid: Add infrastructure to support a separate TextureView for the window client area.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 19:36:54 +02:00
Alexandre Julliard 95c4516b65 wineandroid: Support creating a separate native window for OpenGL rendering in the client area.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 19:28:57 +02:00
Alexandre Julliard 1aa8cf0500 wineandroid: Add a stub implementation of EnumDisplaySettingsEx.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 19:15:11 +02:00
Alexandre Julliard 508d7a33e3 wineandroid: Add a stub implementation of ChangeDisplaySettingsEx.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 19:15:11 +02:00
Alexandre Julliard f254aec449 wineandroid: Store the actual screen DPI on startup.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-12 19:12:30 +02:00
Alexandre Julliard 3179a5da93 wineandroid: Start in landscape mode and don't restart on config changes.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-12 19:12:10 +02:00
Hans Leidekker 4f4ede56e9 wineandroid: Synchronize keyboard lock state.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 09:21:52 +02:00
Hans Leidekker 86b82b8f73 wineandroid: Implement VkKeyScanEx.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 09:21:15 +02:00
Hans Leidekker e545a85351 wineandroid: Implement GetKeyboardLayout.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 09:20:49 +02:00
Josh DuBois 0d565d0118 wineandroid: Implement MapVirtualKeyEx.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 09:20:20 +02:00
Josh DuBois 86534e0dd5 wineandroid: Implement GetKeyNameText.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 09:19:42 +02:00
Alexandre Julliard 6f4149d842 wineandroid: Implement ToUnicodeEx.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 16:44:57 +02:00
Alexandre Julliard 8dc11a3ab3 wineandroid: Add support for keyboard events.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 16:44:57 +02:00
Alexandre Julliard db742a49c9 wineandroid: Add support for mouse events.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 10:17:22 +02:00
Alexandre Julliard b0690b13da wineandroid: Implement SetCapture and store the capture window in the desktop process for global captures.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 10:08:40 +02:00
Alexandre Julliard c339d7214c wineandroid: Properly clean up windows that aren't destroyed explicitly.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 10:08:15 +02:00
Huw Davies 745aed5700 wineandroid: Tell git diff about java files.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 17:37:52 +02:00
Huw Davies eb04665281 wineandroid: The event list may have been altered by a recursive call, so restart the loop from the beginning.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 17:37:48 +02:00
Alexandre Julliard be285af54f wineandroid: Implement SetParent and forward it to Java.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 16:09:48 +02:00
Alexandre Julliard b6a00bc0eb wineandroid: Implement ShowWindow to put icons off-screen.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 11:27:16 +02:00
Alexandre Julliard d1b5f75946 wineandroid: Implement UpdateLayeredWindow.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 11:26:57 +02:00
Alexandre Julliard 52f53fe82e wineandroid: Implement SetLayeredWindowAttributes.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 11:26:37 +02:00
Alexandre Julliard d61bcb9a2f wineandroid: Implement SetWindowRgn.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 11:25:48 +02:00
Alexandre Julliard 20c627d58c wineandroid: Update the contents when we receive a new surface from Java.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:25 +02:00
Alexandre Julliard 7f92cbf520 wineandroid: Implement window surfaces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:25 +02:00
Alexandre Julliard 1e46722c67 wineandroid: Implement LOCK/UNLOCK perform() functions on top of the buffer management calls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:25 +02:00
Alexandre Julliard f856e102f2 wineandroid: Forward native window buffer management calls to the desktop process.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:24 +02:00
Alexandre Julliard 6396f9f522 wineandroid: Load the gralloc module in all processes.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:24 +02:00
Alexandre Julliard e441e85db9 wineandroid: Forward native window setSwapInterval() calls to the desktop process.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 12:28:43 +02:00
Alexandre Julliard 4c1f541c13 wineandroid: Forward native window perform() calls to the desktop process.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 12:28:42 +02:00
Alexandre Julliard f69836eba9 wineandroid: Forward native window query() calls to the desktop process.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 12:26:27 +02:00
Alexandre Julliard fbc482db1d wineandroid: Allocate a native window wrapper in the client process for every window.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 12:21:26 +02:00
Alexandre Julliard 9a134711e6 wineandroid: Add a JNI callback to store the native window we got from the TextureView.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 13:37:47 +02:00
Alexandre Julliard 7124a7d90c wineandroid: Add a header for some of the Android native APIs and data structures.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 11:46:28 +02:00
Alexandre Julliard 2645cc2a7f wineandroid: Create a TextureView for every top-level window.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 11:35:12 +02:00
Alexandre Julliard 97005de151 wineandroid: Add a Java callback for setting window position.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 11:34:23 +02:00
Alexandre Julliard d05f4f5867 wineandroid: Notify Java also when a window is forcefully destroyed.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 09:44:26 +02:00
Alexandre Julliard 347699d773 wineandroid: Add Java callbacks for creating and destroying a window.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 09:43:27 +02:00
Alexandre Julliard bcd99f5c37 wineandroid: Wait until we receive the desktop size before proceeding with startup.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 09:41:05 +02:00
Alexandre Julliard 4123bbdd84 wineandroid: Create the top-level view on desktop window creation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 09:40:29 +02:00
Alexandre Julliard 481e9ff8ba wineandroid: Create a pseudo-device to handle ioctl calls.
This will allow using ioctls to perform operations in the context of
the desktop process.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 09:39:20 +02:00
Alexandre Julliard 5be4a0e388 wineandroid: Add an event queue to support handling Java callbacks in the desktop thread.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 20:51:44 +02:00
Alexandre Julliard 77d55905b1 wineandroid: Register a JNI callback for reporting desktop size changes.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 20:51:19 +02:00
Alexandre Julliard 2ecca01008 wineandroid: Add support for storing per-window driver information.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 19:05:33 +02:00
Alexandre Julliard a5904bc661 wineandroid: Initialize screen dimensions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 19:05:33 +02:00
Alexandre Julliard e5069b1017 wineandroid: Add an initial GDI driver.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 19:05:32 +02:00
Alexandre Julliard 0519e3c108 wineandroid: Add support for initializing Wine from Java.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:49 +02:00
Alexandre Julliard da2522becb wineandroid: Install libraries from the package assets if present.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:48 +02:00
Alexandre Julliard 93d4ac2a0f wineandroid: Add initial stub for the Java activity.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:31 +02:00
Alexandre Julliard e11f2397ac configure: Add Android driver stub.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 12:58:03 +02:00