Commit graph

79 commits

Author SHA1 Message Date
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
3474850f59 wineandroid: Add permission for accessing external storage.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-03 10:44:02 +01:00
Alexandre Julliard
5632c82c42 include: Get rid of wglext.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 19:49:29 +02:00
Alexandre Julliard
17dffaac7d opengl32: Get WGL function definitions from the XML files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 10:06:10 +02:00
Andrew Eikum
b4c0b77b03 wineandroid: Support 32-bit float audio format.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:49 +02:00
Andrew Eikum
d2f904e07f wineandroid: Check that Android supports the format in IsFormatSupported.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:49 +02:00
Fabian Maurer
67756774f5 wineandroid.drv: In AudioClient_IsFormatSupported remove unneeded statement (cppcheck).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 21:16:17 +02:00
Andrew Eikum
f5fe252cd1 wineandroid: Don't use deprecated SLDataFormat_PCM struct.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-25 23:29:11 +02:00
Andrew Eikum
a0157f57cb wineandroid: Create OpenSL outputmix object globally.
This object will take multiple inputs, no need to re-create it for
every IAudioClient.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-25 23:29:10 +02:00
Alexandre Julliard
d1abe86771 wineandroid: Also set WINEDLLPATH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-31 19:48:24 +02: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
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
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
Andrew Eikum
287be7c5ee wineandroid: Add an audio driver.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 20:59:40 +02:00
Alexandre Julliard
9027b927a4 wineandroid: Support running binaries from the application directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 20:58:01 +02:00
Alexandre Julliard
bc70768c98 wineandroid: Add networking permissions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 20:57:50 +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
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
0a2aac8dca wineandroid: Allow putting libraries in the native library directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 15:13:35 +02:00
Alexandre Julliard
9065fd2597 wineandroid: Work around the Android N restriction on loading libhardware.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 15:12:44 +02:00
Alexandre Julliard
ab006d0085 wineandroid: Fix handling of Caps Lock with non-alphabetic keys.
Spotted by Dmitry Timoshkov.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 15:12:10 +02:00
Alexandre Julliard
75cb584e28 wineandroid: Implement wglSwapIntervalEXT.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 09:19:15 +02:00
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