[PATCH] d3drm: CreateDevice is unimplemented on Windows.

Jeff Smith whydoubt at gmail.com
Sun May 26 10:43:14 CDT 2019


On Sun, May 26, 2019, 9:26 AM Aaryaman Vasishta <jem456.vasishta at gmail.com>
wrote:

>
> On Sun, May 26, 2019 at 10:13 PM Stefan Dösinger <
> stefandoesinger at gmail.com> wrote:
>
>> Am 24.05.19 um 20:28 schrieb Jeff Smith:
>> > I found it very odd myself, but I could not find a way to make it do
>> > anything else, and the only documentation I found on the method just
>> > says "Not implemented on the Windows platform."
>> If I remember right when mentoring Aaryaman's GSoC project it only
>> succeeded for an RGB device or something along those lines. It is quite
>> possible though that CreateDevice fails while other ways (like
>> CreateDeviceFromSurface, CreateDeviceFromD3D etc) succeed. This could be
>> caused by d3drm trying to create a surface that's not supported on
>> "modern" ddraw drivers for some reason.
>>
>> The interesting platform to test d3drm stuff would be Windows 9.x, and
>> maybe Windows 2000/XP. The DLL got removed from Vista, and only ancient
>> games use it.
>>
>> The interesting thing is that the tests are passing in 2000/XP as well.
> I don't specifically remember why we skipped implementing CreateDevice
> earlier. I'll reply here if I do get more details about that.
>
> By the way, which bug is CreateDevice related to?
>

I just ran across this when developing test code for other parts of d3drm
that I am looking to implement.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190526/8a0b1f9f/attachment.html>


More information about the wine-devel mailing list