Commit Graph

28 Commits

Author SHA1 Message Date
Michael Stefaniuc c0cc126d57 wineandroid.drv: Remove redundant not-NULL checks (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 23:12:54 +01:00
Alexandre Julliard 61888e0012 wineandroid: Support for setting the cursor on Android >= N.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 16:40:51 +01:00
Alexandre Julliard 2b8d787b17 wineandroid: Wrap Java calls to preserve %gs on x86_64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 14:42:18 +01:00
Alexandre Julliard 5b16fb9689 wineandroid: Add support for gralloc version 1.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44245
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Alexandre Julliard 18ac6bf41a wineandroid: Add helper functions to encapsulate gralloc functionality.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Alexandre Julliard e658c73aed wineandroid: Add support for scaling window contents based on DPI.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 11:11:30 +02:00
Michael Stefaniuc ccf6211c0a wineandroid.drv: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 20:25:25 +02:00
Alexandre Julliard 44ee3bf85a wineandroid: Hold on to the native window until we get a new one.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 17:28:36 +02:00
Alexandre Julliard 83bed85074 wineandroid: Add a generation number to the native window to catch when old buffers are queued.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 17:28:32 +02:00
Alexandre Julliard 5b056f61cf wineandroid: Forward the destroy window ioctl to Java even if the window was freed already.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 20:57:24 +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 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 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 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 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 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 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 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 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 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 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