Commit Graph

34 Commits

Author SHA1 Message Date
Alexandre Julliard e29678dae6 wineandroid: Handle additional mouse event types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 15:10:24 +01:00
Alexandre Julliard a6f85e616d wineandroid: Don't allocate a window surface for off-screen windows.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 15:18:47 +01:00
Alexandre Julliard 56fbca4f44 wineandroid: Update the views z-order based on the window hierarchy.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-31 19:16:17 +02:00
Michael Stefaniuc ba0afd26e7 wineandroid: Use EqualRect() instead of memcmp().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-07 19:48:32 +02:00
Huw Davies 99069934f7 wineandroid: Use logical co-ords to call GdiAlphaBlend().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 12:38:45 +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 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 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
Hans Leidekker 4f4ede56e9 wineandroid: Synchronize keyboard lock state.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 09:21:52 +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 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 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 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 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