[PATCH v3 1/3] d2d1: Add stubs for ID2D1EffectContext.

Henri Verbeet hverbeet at gmail.com
Mon May 2 08:52:46 CDT 2022


On Fri, 29 Apr 2022 at 12:10, Ziqing Hui <zhui at codeweavers.com> wrote:
> +static HRESULT STDMETHODCALLTYPE d2d_effect_context_CreateResourceTexture(ID2D1EffectContext *iface,
> +        const GUID *id,  const D2D1_RESOURCE_TEXTURE_PROPERTIES *texture_properties,
> +        const BYTE *data, const UINT32 *strides, UINT32 data_size, ID2D1ResourceTexture **texture)
> +{
> +    FIXME("iface %p, id %s, texture_properties %p, data %p, strides %s, data_size %u, texture %p stub!\n",
> +            iface, debugstr_guid(id), texture_properties, data,
> +            strides ? wine_dbg_sprintf("%u", *strides) : "(null)", data_size, texture);
> +
> +    return E_NOTIMPL;
> +}

I don't think tracing "strides" like that makes a lot of sense; for a
1D texture there would be zero strides, while for a 3D texture there
would be 2.



More information about the wine-devel mailing list