Alexandre Julliard
9b12068c6c
ntdll: Use the user shared data to implement RtlQueryUnbiasedInterruptTime().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 19:36:52 +02:00
Alexandre Julliard
cc5953048e
ntdll: Use the user shared data to implement NtGetTickCount().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 19:36:52 +02:00
Alexandre Julliard
0936606c38
ntdll: Centralize initialization of the user shared data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 19:36:52 +02:00
Alexandre Julliard
ab350866e4
ntdll: Add some more CPU feature flags.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 17:06:04 +02:00
Alexandre Julliard
ca13f489e1
ntdll: Make the windows directory a global variable.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 17:06:04 +02:00
Alexandre Julliard
db88a3ec5a
include: Update the KUSER_SHARED_DATA structure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 17:06:04 +02:00
Alexandre Julliard
c42b415fab
wineboot: Use wide character string literals.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 15:38:45 +02:00
Alistair Leslie-Hughes
0c68a1510e
loader: http.sys belongs in the driver directory.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 10:31:34 +02:00
Jacek Caban
267e61fd18
configure: Remove no longer needed -Wno-incompatible-library-redeclaration.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 10:31:27 +02:00
Jacek Caban
4f40ffb9c5
stdlib.h: Provide strtold as an inline wrapper.
...
This allows using long double in the declaration, which fixes
-Wincompatible-library-redeclaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 10:31:23 +02:00
Jacek Caban
a326a00f2f
stdlib.h: Remove _strtold declaration.
...
It's not available in any DLL.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 10:31:20 +02:00
Jacek Caban
2211de9eeb
include: Avoid redefinition warnings when basetyps.h is used together with winnt.h or objbase.h.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 10:31:17 +02:00
Connor McAdams
fe4e6934a9
d2d1: Allow appending multiple Bézier control points to a figure at once.
...
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:32:15 +02:00
Connor McAdams
e3bbeb5a93
d2d1: Allow inserting multiple Bézier control points into a figure at once.
...
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:32:13 +02:00
Connor McAdams
a512a03100
d2d1: Introduce a helper to check for split Bézier segments.
...
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:32:11 +02:00
Connor McAdams
0ff58fe1ac
d2d1: Introduce a helper to check for Bézier segments.
...
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:32:09 +02:00
Chip Davis
a6a0f7ba8e
d3d11: Implement d3d10_device_Flush().
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:32:07 +02:00
Chip Davis
701e570328
d3d11: Implement d3d11_immediate_context_Flush().
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:32:05 +02:00
Chip Davis
5d437b5ccd
wined3d: Introduce wined3d_device_flush().
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:32:02 +02:00
Chip Davis
87435db8a1
d3d11: Implement d3d11_immediate_context_GetContextFlags().
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:31:59 +02:00
Chip Davis
5c446e92d7
d3d11: Implement d3d11_immediate_context_FinishCommandList().
...
This always returns DXGI_ERROR_INVALID_CALL.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 21:31:57 +02:00
Gabriel Ivăncescu
fff3642747
winex11.drv: Fix X11DRV_X_to_window_rect to handle windows smaller than the decoration.
...
A window can be resized to a smaller size than the decoration (title +
borders), such as when it is minimized. In such cases it is necessary
to recompute the minimum bounds, as it is done in the opposite function
X11DRV_window_to_X_rect, since the real information was lost.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48490
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:52:26 +02:00
Gabriel Ivăncescu
df0d8ac5be
winex11.drv: Use a helper to retrieve the decoration rect for managed windows.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:52:21 +02:00
Damjan Jovanovic
55ba364837
libwine: Add support for mmap at fixed start addresses on FreeBSD.
...
The way to implement MAP_TRYFIXED on FreeBSD is call mmap()
with MAP_FIXED | MAP_EXCL, which will allocate the mapping
from the exact starting address if possible, and if that fails,
call mmap() again without them. This gets PE DLLs loading at
their correct base addresses, and fixes a FreeBSD-specific
problem with Cygwin's fork() caused by cygwin1.dll loading at
different base addresses in the parent and child.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:50:05 +02:00
Akihiro Sagawa
b9dc3324d7
strmbase: Allow NULL pin_get_media_type() callback in source_Connect().
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:16:57 +02:00
Jacek Caban
5ab64243da
include: Add winapifamily.h file.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:14:31 +02:00
Jacek Caban
e9de7761cd
winegcc: Pass only raw compiler and linker arguments in forward mode.
...
Fixes use case like:
CC=winegcc -b i686-w64-mingw32
$CC --version
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:12:02 +02:00
Alex Henrie
c84e416d23
ws2_32: Don't set output length in WSAStringToAddress on error.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:11:45 +02:00
Alex Henrie
205e09bc30
ws2_32/tests: Fix typos in test_WSAStringToAddress.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:10:46 +02:00
Henri Verbeet
13e1ac0e99
wined3d: Set the correct patch vertex count for the Vulkan adapter.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:10:31 +02:00
Henri Verbeet
99f4f16b92
wined3d: Implement primitive restart for the Vulkan adapter.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:10:29 +02:00
Henri Verbeet
5bd5244ba4
wined3d: Implement different primitive topologies for the Vulkan adapter.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:10:26 +02:00
Henri Verbeet
f8acf0b97d
wined3d: Store the wined3d patch vertex count in the wined3d state structure.
...
As opposed to the OpenGL patch vertex count. These are of course the same, so
this is only a semantic change.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:10:23 +02:00
Henri Verbeet
51a901e34e
wined3d: Store the wined3d primitive type in the wined3d state structure.
...
As opposed to the OpenGL primitive type.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:10:19 +02:00
Alexandre Julliard
acd209d603
ntdll: Move setting the process name to the Unix library.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 16:16:40 +02:00
Alexandre Julliard
3d3545b12f
ntdll: Move the Unix codepage initialization to the Unix library.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 16:16:40 +02:00
Zebediah Figura
9f72f8c2c3
quartz: Merge enummoniker.c into filtermapper.c.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 10:50:00 +02:00
Zebediah Figura
d42b598399
quartz: Merge enumregfilters.c into filtermapper.c.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 10:49:57 +02:00
Zebediah Figura
f7718d6453
quartz/tests: Move the test for filter mapper aggregation to filtergraph.c.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 10:49:47 +02:00
Zebediah Figura
b8abb6e99c
include: Add asferr.h.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 10:49:43 +02:00
Chip Davis
c1b78caf1d
preloader: Depend on wine_info.plist.
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 10:49:03 +02:00
Alistair Leslie-Hughes
839f468dce
shell32: Correct if condition.
...
Spotted by Rafał Mikrut.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49203
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 10:48:23 +02:00
Martin Storsjo
7265cd17b5
ucrtbase: Extend the printf tests even further.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 10:48:07 +02:00
Henri Verbeet
4358ddc75f
wined3d: Implement rasterisation object support for the Vulkan adapter.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-19 21:49:30 +02:00
Henri Verbeet
4cb110dd18
wined3d: Implement blend object support for the Vulkan adapter.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-19 21:49:28 +02:00
Henri Verbeet
5e134b6b60
wined3d: Implement scissor rectangle support for the Vulkan adapter.
...
No multi-viewport support yet.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-19 21:49:25 +02:00
Henri Verbeet
299eb1f52a
wined3d: Bind Vulkan vertex buffers.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-19 21:49:22 +02:00
Henri Verbeet
b55228694f
wined3d: Create Vulkan pipeline objects.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-19 21:49:20 +02:00
Józef Kucia
f4e0ca2199
wined3d: Implement shader_spirv_select().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-19 21:49:18 +02:00
Zebediah Figura
d46065d1f3
d3dcompiler: Do not store matrix and vector indexes as deref instructions.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-19 21:32:46 +02:00