Module: wine
Branch: master
Commit: 524dbe4bef5bb373941f884a9cd7c5db8571cb4d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=524dbe4bef5bb373941f884a…
Author: Alex Henrie <alexhenrie24(a)gmail.com>
Date: Sun Jan 9 20:45:04 2022 -0700
gdi32/tests: Mark a GetTextExtentPointW test as broken on Windows 10.
Fixes a testbot failure.
Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com>
Signed-off-by: Huw Davies <huw(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/gdi32/tests/font.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index 0c346fa5e6b..269151a1e1a 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -2457,7 +2457,8 @@ static void testJustification(const char *context, HDC hdc, PCSTR str, RECT *cli
{
/* The width returned by GetTextExtentPoint32() is exactly the same
returned by GetTextExtentExPointW() - see dlls/gdi32/font.c */
- ok(error[e].GetTextExtentExPointWWidth == areaWidth,
+ ok(error[e].GetTextExtentExPointWWidth == areaWidth ||
+ broken(abs(areaWidth - error[e].GetTextExtentExPointWWidth) <= 2) /* win10 */,
"%s: GetTextExtentPointW() for \"%.*s\" should have returned a width of %d, not %d.\n",
context, error[e].len, error[e].start, areaWidth, error[e].GetTextExtentExPointWWidth);
}
Module: wine
Branch: master
Commit: 623f8ec0b2248cc733cfac6cfcfa4d61acb2c2a0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=623f8ec0b2248cc733cfac6c…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Tue Jan 11 16:28:18 2022 +0100
d3d10core/tests: Run test_instanced_draw() separately.
Signed-off-by: Stefan Dösinger <stefan(a)codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/d3d10core/tests/d3d10core.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/d3d10core/tests/d3d10core.c b/dlls/d3d10core/tests/d3d10core.c
index ca12f185ec5..287292ebb5f 100644
--- a/dlls/d3d10core/tests/d3d10core.c
+++ b/dlls/d3d10core/tests/d3d10core.c
@@ -19268,7 +19268,6 @@ START_TEST(d3d10core)
queue_test(test_private_data);
queue_test(test_state_refcounting);
queue_test(test_il_append_aligned);
- queue_test(test_instanced_draw);
queue_test(test_fragment_coords);
queue_test(test_initial_texture_data);
queue_test(test_update_subresource);
@@ -19342,4 +19341,8 @@ START_TEST(d3d10core)
/* There should be no reason this test can't be run in parallel with the
* others, yet it fails when doing so. (AMD Radeon HD 6310, Windows 7) */
test_stream_output_vs();
+ /* Same here, this test fails randomly on Win10 when run together with
+ * others on Radeon GPUs. Radeon 560 (0x1002:0x67ef), both on the testbot
+ * and Stefan's macbook. */
+ test_instanced_draw();
}
Module: wine
Branch: master
Commit: b92b6c29298805abd18a3c7ea0f7905099af572d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b92b6c29298805abd18a3c7e…
Author: Stefan Brüns <stefan.bruens(a)rwth-aachen.de>
Date: Tue Jan 11 16:28:16 2022 +0100
d2d1: Use the TYPE_END vertex type when last/first vertices coincide.
When the last vertex is coincident with the first vertex, the last
segment should be suppressed for both END_OPEN and END_CLOSED.
Only when last and first vertex are not coincident the additional
line segment may be added - always for intersection tests and
similar, and for stroking operations when the figure is CLOSED.
Trying to use an zero-length segment in d2d_geometry_intersect_self()
will create invalid segments, causing infinite loops later.
Instead of reducing the vertex_count for coincident first/last
vertices add a dedicated type. This is required as some operations
need the last segment, others do not.
This also allows to remove some replicated code in
StrokeContains()/GetBounds()/Simplify(), as a last Bézier segment
is always processed in the regular loop.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51139
Signed-off-by: Stefan Brüns <stefan.bruens(a)rwth-aachen.de>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/d2d1/geometry.c | 105 +++++++++++++++----------------------------------
dlls/d2d1/tests/d2d1.c | 16 +++++++-
2 files changed, 46 insertions(+), 75 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=b92b6c29298805abd18a…