107 Commits

Author SHA1 Message Date
Alexandre Julliard
4a902de213 gdi32: Make GDI driver functions cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-06 21:47:58 +02:00
Akihiro Sagawa
1128587fd2 gdi32: Implement GetCharWidthInfo().
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Isira Seneviratne
31f2a182e6 wineandroid.drv: Remove unnecessary 'extends Object' statement.
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:45:47 +01:00
Isira Seneviratne
f33c51bb8c wineandroid.drv: Add Override annotation to overridden methods.
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:45:43 +01:00
Andrew Eikum
b51064a3d5 wineandroid.drv: Remove useless cast to self.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:10 +01:00
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
Michael Stefaniuc
a1c756510d wineandroid.drv: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 21:39:37 +01:00
Alex Henrie
6367203572 wineandroid.drv: Turn variable 'options' into a static constant.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 16:13:10 +01:00
Alexandre Julliard
cc06703e3a wineandroid: Add a helper function to update a window surface.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 22:27:04 +01:00
Alexandre Julliard
357c2bb9f9 wineandroid: Specify the window scale directly in the constructor.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 16:45:47 +01:00
Alexandre Julliard
0f19685917 wineandroid: Generate assets checksum from the gradle build file.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 16:45:47 +01:00
Alexandre Julliard
4e21bb44e4 wineandroid: Enable some Java compiler warnings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 16:41:47 +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
996f7a192d wineandroid: Avoid using deprecated Build.CPU_ABI.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 14:40:33 +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
dc6f39ac29 server: Use screen coordinates in the update_window_zorder request.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:45 +02: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
Alexandre Julliard
240edd3fa3 wineandroid: Handle sizing and mouse events in physical coordinates.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 11:10:49 +02:00
Alexandre Julliard
1283d9873c wineandroid: Simplify the EnumDisplayMonitors driver entry point.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-22 13:09:48 +02:00
Alexandre Julliard
3cfe3684aa wineandroid: Remove no longer needed GetDeviceCaps() driver entry point.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-22 13:09:34 +02:00
Alexandre Julliard
c268c283f7 wineandroid: Use fallback implementation for screen dimensions in GetDeviceCaps().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-22 12:58:23 +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
Josh DuBois
998eef6eca wineandroid: Silence a noisy FIXME in ANDROID_GetKeyboardLayout.
Signed-off-by: Josh DuBois <duboisj@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:48:38 +02:00
Roderick Colenbrander
3de61a9dd9 winevulkan: Define vulkan driver interface.
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 12:47:16 +01:00
Alexandre Julliard
6a4fa30e4c wineandroid: Force non-zero state on ACTION_BUTTON_RELEASE to avoid duplicate events.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:57 +01:00
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
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