[PATCH 2/4] d2d1: Add standard properties to effect.
hverbeet at gmail.com
Thu Jul 29 09:50:35 CDT 2021
On Tue, 27 Jul 2021 at 13:11, Ziqing Hui <zhui at codeweavers.com> wrote:
> @@ -572,6 +579,12 @@ struct d2d_effect
> LONG refcount;
> ID2D1Factory *factory;
> + CLSID clsid;
> + BOOL cached;
> + UINT min_inputs;
> + UINT max_inputs;
> + D2D1_BUFFER_PRECISION precision;
> + struct d2d_property standard_properties;
I don't think the fixed-size array of an arbitrary size is great.
More, if these are static properties, there's really not much of a
point in storing them like that; we could just as well store a static
const table, not entirely unlike the builtin_effects table from
Like patch 1/4, most of this patch is dead code.
More information about the wine-devel