Sweden-Number/dlls/d2d1
Henri Verbeet 8718a23b2e d2d1: Check the vertex count again after duplicate removal in d2d_path_geometry_triangulate().
As the test shows, we can create geometries that have less than two vertices
after eliminating duplicates. Calling d2d_cdt_triangulate() on those would
lead to infinite recursion. In principle we could now get rid of the original
vertex count check, but it seems cheap enough that it's worth keeping in order
to avoid some unnecessary work in the somewhat more common case that we have
less than three vertices before duplicate removal.

Based on a patch by Changsheng Chen.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00
..
tests d2d1: Check the vertex count again after duplicate removal in d2d_path_geometry_triangulate(). 2021-09-16 22:22:44 +02:00
Makefile.in
bitmap.c d2d1: Remove unused D3D10 interfaces. 2021-06-28 19:43:28 +02:00
bitmap_render_target.c
brush.c d2d1: Remove unused D3D10 interfaces. 2021-06-28 19:43:28 +02:00
d2d1.spec d2d1: Implement D2D1ConvertColorSpace(). 2021-03-05 17:58:57 +01:00
d2d1_private.h d2d1: Implement d2d_effect_SetInputCount(). 2021-08-10 17:53:55 +02:00
dc_render_target.c d2d1: Remove unused D3D10 interfaces. 2021-06-28 19:43:28 +02:00
device.c d2d1: Add a properties list for builtin effects. 2021-08-09 21:05:26 +02:00
effect.c d2d1: Add D2D1Crop. 2021-08-11 23:00:50 +02:00
factory.c d2d1: Remove unnecessary return statements. 2021-04-13 17:33:17 +02:00
geometry.c d2d1: Check the vertex count again after duplicate removal in d2d_path_geometry_triangulate(). 2021-09-16 22:22:44 +02:00
hwnd_render_target.c
layer.c
mesh.c
state_block.c include: Add missing structures in dcommon.idl. 2020-06-02 22:17:37 +02:00
stroke.c
version.rc
wic_render_target.c