[Bug 18640] .NET 3.0 WPF MILCore (Media Integration Layer) requires IDirect3D9Ex for HW accelerated support

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 10 05:48:15 CDT 2010


--- Comment #15 from Henri Verbeet <hverbeet at gmail.com>  2010-07-10 05:48:15 ---
(In reply to comment #14)
> Created an attachment (id=29494)
 --> (http://bugs.winehq.org/attachment.cgi?id=29494) [details]
> patch
> I added some tests for GetAdapterDisplayModeEx yesterday. The attached patch
> makes most tests pass, but the format returned by GetAdapterDisplayMode doesn't
> match the one returned by GetAdapterDisplayModeEx. I'll investigate further in
> a few days

You'd need to do "mode->Format = d3dformat_from_wined3dformat(m.Format)" to
convert the wined3d format to something that makes sense to d3d9.

However, the way this should be implemented is that
IWineD3DImpl_GetAdapterDisplayMode() should be extended to return rotation and
scanline ordering, then implement IDirect3D9ExImpl_GetAdapterDisplayModeEx() on
top of IWineD3DImpl_GetAdapterDisplayMode(), and
IDirect3D9Impl_GetAdapterDisplayMode() on top of

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list