Nikolay Sivov
94c51a83f2
d2d1/commandlist: Implement basic state recording commands.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-03 15:07:28 +02:00
Nikolay Sivov
fdd6a07a0b
d2d1: Allow setting command list as a target.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-03 15:07:27 +02:00
Nikolay Sivov
753ae1d0a5
d2d1: Add a command list object stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-03 15:07:27 +02:00
Nikolay Sivov
56b50f158d
d2d1/tests: Use test context for command list test.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-03 15:07:24 +02:00
Nikolay Sivov
ea82d4ee98
d2d1/tests: Add a missing return value test (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-22 21:13:57 +02:00
Ziqing Hui
c850336cdb
d2d1/tests: Test ID2D1BorderTransform.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
2022-07-15 15:23:04 +02:00
Ziqing Hui
27b64c7519
d2d1/tests: Test ID2D1BlendTransform.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
2022-07-15 15:23:04 +02:00
Ziqing Hui
60118154d0
d2d1/tests: Add tests for ID2D1OffsetTransform.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
2022-07-15 15:23:04 +02:00
Ziqing Hui
ccf8c01804
d2d1/tests: Add tests for ID2D1TransformGraph.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
2022-07-15 15:23:04 +02:00
Dmitry Timoshkov
3f36d7e25b
d2d1/tests: Fix compilation with clang.
...
../wine.src/dlls/d2d1/tests/d2d1.c:11078:11: error: cannot combine with previous 'type-name' declaration specifier
INT32 _int32;
^
../wine.src/dlls/d2d1/tests/d2d1.c:11078:5: warning: declaration does not declare anything [-Wmissing-declarations]
INT32 _int32;
^~~~~~~~~~~~
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 19:13:36 +02:00
Nikolay Sivov
7918bfc5cd
d2d1/tests: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 12:34:03 +02:00
Nikolay Sivov
5284e1db83
d2d1: Implement GetRegisteredEffects().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 12:34:03 +02:00
Ziqing Hui
97abb6d2ba
d2d1/effect: Keep builtin effects in the same list as the custom once.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 12:34:03 +02:00
Nikolay Sivov
ffab990bd6
d2d1/effect: Check that "Inputs" property was specified in the description.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 12:34:03 +02:00
Nikolay Sivov
05d8283a9d
d2d1/tests: Add missing return value check (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 12:34:03 +02:00
Nikolay Sivov
5e714c6403
d2d1/effect: Support parsing matrix poperty values.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-04 18:04:03 +02:00
Nikolay Sivov
5f1f52cff2
d2d1/effect: Support parsing int32 property values.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-04 18:04:03 +02:00
Nikolay Sivov
618141d817
d2d1/effect: Support parsing vector4 property values.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-04 18:04:03 +02:00
Nikolay Sivov
3c2ce1039c
d2d1/effect: Support parsing vector3 property values.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-04 18:04:03 +02:00
Nikolay Sivov
258b57a1ce
d2d1/effect: Support parsing vector2 property values.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-04 18:04:03 +02:00
Nikolay Sivov
9513f8a184
d2d1/tests: Add some tests for enum property structure.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-01 16:08:18 +02:00
Ziqing Hui
34a701f29e
d2d1/tests: Test value size checking for custom properties.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-30 12:32:54 +02:00
Ziqing Hui
5a58ea8c2a
d2d1/tests: Add tests for GetPropertyCount().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-30 12:32:54 +02:00
Ziqing Hui
3462a31bd9
d2d1/tests: Add tests for system properties attributes.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-30 12:32:54 +02:00
Nikolay Sivov
7b15245d43
d2d1/effect: Initial implementation of subproperties.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-30 12:32:52 +02:00
Zhiyi Zhang
9678d0f9f5
d2d1/tests: Fix resource leaks.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53231
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 12:32:48 +02:00
Ziqing Hui
aa7a4b7803
d2d1/effect: Add a transform graph stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
906b659752
d2d1/tests: Enable effect context tests on Wine.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
58ba801fd2
d2d1/effect: Add D2D1_PROPERTY_PRECISION property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
cda5f68a64
d2d1/effect: Use known names for automatically added properties.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
e2908463b9
d2d1/effect: Use property binding methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Ziqing Hui
49c801d0ed
d2d1/effect: Create implementation instance for the effect object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
4bb4469e43
d2d1/effect: Mark custom properties as writable.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
9f3523c5b2
d2d1/effect: Implement custom effects creation.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
71c23a421d
d2d1/effect: Mark most of system properties as read-only.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
9c4aea6de1
d2d1/effect: Add D2D1_PROPERTY_CACHED property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
bf0c621cbd
d2d1/effect: Initial implementation of property access methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
216e56ac3c
d2d1/effect: Create effect instance properties from builtin effect description.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
2d29ec34ba
d2d1/effect: Handle initial values for D2D1_PROPERTY_TYPE_BOOL.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
4a05b93d02
d2d1/effect: Set initial value for uint32 properties.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
c172b89588
d2d1: Move effect object creation to effect.c.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
8eff207c23
d2d1/effect: Set property index.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
727878630b
d2d1/effect: Reserve a buffer for property values.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
918535d437
d2d1/effect: Forward IsBufferPrecisionSupported() to corresponding device context.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-23 22:46:13 +02:00
Nikolay Sivov
c7dbd45993
d2d1: Implement IsBufferPrecisionSupported().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-23 22:46:13 +02:00
Nikolay Sivov
a2935a518b
d2d1/effect: Move effect instance creation to the device context.
...
Creating new effects from effect context does not reuse calling context.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:26 +02:00
Nikolay Sivov
7eabfd477f
d2d1/effect: Add CheckFeatureSupport().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:25 +02:00
Nikolay Sivov
89e1a7614e
d2d1/effect: Add LoadComputeShader().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:23 +02:00
Nikolay Sivov
f15b317260
d2d1/effect: Add LoadPixelShader().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:22 +02:00
Nikolay Sivov
38e6653489
d2d1/effect: Forward color context methods to corresponding device context.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:20 +02:00
Ziqing Hui
fd9f1e44a7
d2d1: Implement UnregisterEffect().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:20 +02:00
Ziqing Hui
967bd3120d
d2d1: Implement property parsing for RegisterEffectFromStream().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:20 +02:00
Ziqing Hui
05b796ff98
d2d1: Partially implement RegisterEffectFromStream().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:19 +02:00
Nikolay Sivov
9e47b64c67
d2d1: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-20 10:38:19 +02:00
Nikolay Sivov
bc4afb8b2a
d2d1: Update to ID2D1DeviceContext1.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-13 16:37:03 +02:00
Dmitry Timoshkov
dd00c2075f
d2d1: Add partial support for image brushes.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-07 19:42:24 +02:00
Nikolay Sivov
cdb80abc60
d2d1: Use d3d11 constants for constant buffer description.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-06 12:16:41 +02:00
Ziqing Hui
3eaac7211f
d2d1/tests: Test unregistering effect which has existing instance.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-03 21:55:17 +02:00
Ziqing Hui
5cb2c805b1
d2d1/tests: Test custom effect properties.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-03 21:55:17 +02:00
Nikolay Sivov
ab70e9c4f4
d2d1: Validate bitmap options against surface description in CreateBitmapFromDxgiSurface().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-31 22:52:45 +02:00
Nikolay Sivov
a3273a585a
d2d1: Derive bitmap options from surface description in CreateSharedBitmap().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-31 22:52:45 +02:00
Nikolay Sivov
08be8fd5ab
d2d1: Derive bitmap options from surface description in CreateBitmapFromDxgiSurface().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-31 22:52:45 +02:00
Nikolay Sivov
828a7aa071
d2d1: Use bitmap options to check if mapping is supported.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-31 22:52:45 +02:00
Nikolay Sivov
5e25a4546c
d2d1: Implement bitmap mapping.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-30 22:07:43 +02:00
Nikolay Sivov
470fe5903a
d2d1/tests: Test bitmap options when created from existing surface.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-30 22:07:43 +02:00
Nikolay Sivov
d5ddf3bd12
d2d1: Explicitly validate bitmap options for CreateBitmap().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-30 22:07:43 +02:00
Nikolay Sivov
a95ed15447
d2d1: Create staging texture with read access for bitmaps with D2D1_BITMAP_OPTIONS_CPU_READ.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-30 22:07:43 +02:00
Nikolay Sivov
9cdf2a6e90
d2d1/tests: Add some tests for invalid bitmap options.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-30 22:07:43 +02:00
Dmitry Timoshkov
991eb2be4e
d2d1/tests: Add some tests for bitmap mapping.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-30 22:07:43 +02:00
Ziqing Hui
bf3df0bdb1
d2d1/tests: Add more effect xml.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-27 15:28:18 +02:00
Ziqing Hui
3b4e112c17
d2d1/tests: Test registering effect multiple times with different binding.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-27 15:28:13 +02:00
Ziqing Hui
a95433d685
d2d1/tests: Test effect property if register effect multiple times with different xml.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-27 15:28:09 +02:00
Nikolay Sivov
5317f869e0
d2d1/effect: Add a helper to append shader objects to the context.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 11:58:53 +02:00
Ziqing Hui
35c4117b24
d2d1: Implement ID2D1EffectContext_IsShaderLoaded().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 11:58:48 +02:00
Nikolay Sivov
ecf6c84c29
d2d1/effect: Store shader id itself, not a pointer to it.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 11:58:44 +02:00
Ziqing Hui
7f98e1417a
d2d1/tests: Add tests for effect context.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 11:58:40 +02:00
Ziqing Hui
1a3d76cf42
d2d1/tests: Add factory fields to test context.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 11:58:36 +02:00
Ziqing Hui
081ddaad4e
d2d1/tests: Add device context field to test context.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 11:58:31 +02:00
Ziqing Hui
9e034dc103
d2d1/tests: Add tests for effect register.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-23 21:39:23 +02:00
Ziqing Hui
0f883c0925
uuid: Add d2d1effectauthor.h.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-20 11:36:34 +02:00
Ziqing Hui
f1ab471406
d2d1/tests: Introduce create_factory().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-20 11:36:34 +02:00
Dmitry Timoshkov
8151e695e3
d2d1/tests: Add some tests for ID2D1DeviceContext::CreateImageBrush().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:41:13 +02:00
Dmitry Timoshkov
73ca65b0b2
d2d1: Implement ID2D1DeviceContext::CreateImageBrush().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:41:01 +02:00
James McDonnell
67b70b867e
d2d1: Add a stub for ID2D1PathGeometry1.
...
Signed-off-by: James McDonnell <topgamer7@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:40:56 +02:00
Ziqing Hui
e9845d4fda
d2d1: Implement LoadVertexShader().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 19:37:44 +02:00
Ziqing Hui
ed4cc8ed81
d2d1: Implement ID2D1EffectContext_GetDpi().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 19:37:44 +02:00
Ziqing Hui
740bfd8501
d2d1: Add stubs for ID2D1EffectContext.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 19:37:44 +02:00
Ziqing Hui
2629c606bf
include: Add defines for ID2D1VertexBuffer.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-26 16:01:12 +02:00
Ziqing Hui
c634bd201b
d2d1: Implement SetUnitMode().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-15 20:53:45 +02:00
Ziqing Hui
eeed1bb541
d2d1: Implement GetUnitMode().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-15 20:53:42 +02:00
Ziqing Hui
a23e07937d
d2d1/tests: Add tests for context unit mode.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:17:13 +02:00
Ziqing Hui
c037144db7
d2d1: Implement GetImageLocalBounds() for bitmap.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Ziqing Hui
1f0b080f15
d2d1/tests: Add tests for GetImageLocalBounds().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Ziqing Hui
ca5a2bf076
d2d1/tests: Add tests for D2D1Grayscale effect.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Ziqing Hui
a45a4b0b48
d2d1: Add stubs for ID2D1Factory3.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Ziqing Hui
e0be2d476f
include: Add defines for ID2D1InkStyle.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-29 20:53:50 +02:00
Ziqing Hui
16abbb4ae8
d2d1: Fix a typo.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-29 20:53:50 +02:00
Michael Stefaniuc
9bfe419e67
d2d1/tests: Actually test the return of ID2D1TransformedGeometry_GetBounds.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-14 18:30:28 +01:00
Zhiyi Zhang
b88f06fd34
d2d1: Shrink stroke width for d2d_transformed_geometry_StrokeContainsPoint().
...
So that stroke width won't be transformed. Fix PowerPoint 2016 text in TextBoxes can not be selected
properly.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-11 19:23:28 +01:00
Zhiyi Zhang
f2dbb0b410
d2d1/tests: Add d2d_transformed_geometry_StrokeContainsPoint() tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-11 19:23:28 +01:00