From: "Gabriel Ivăncescu" Subject: Re: [PATCH v7 4/6] d3d8/tests: Test for window changes when it's not foreground. Message-Id: <9c31f3f0-e084-289c-244f-ab549eccc56b@gmail.com> Date: Fri, 21 Jan 2022 16:22:54 +0200 In-Reply-To: <40511605-BA08-48C0-AA7F-54E256245CE0@gmail.com> References: <05381e8c5ffc4392318a3ba1c3664ac47def7e38.1642524328.git.gabrielopcode@gmail.com> <25374598.1r3eYUQgxm@grey> <5cc8349d-c2df-e98d-304c-08b40f142f18@gmail.com> <2630619.fDdHjke4Dd@grey> <40511605-BA08-48C0-AA7F-54E256245CE0@gmail.com> On 21/01/2022 11:41, Stefan Dösinger wrote: > > >> Am 20.01.2022 um 19:51 schrieb Gabriel Ivăncescu : >> >> I don't mind, they're at the end of the patch series anyway so can simply be dropped / are independent. >> >> Just to note that d3d8 is a very old API, it's not inconceivable that newer Windows versions can break some apps. Though very unlikely they care about this, so yeah. I don't think d3d8 is even available in 64-bit, looking at testbot results. > > Yeah, e.g. ddraw apps tend to get worse and worse on Windows over time. d3d8 on the other hand did away with the worst offenses of ddraw, e.g. being able to lock the front buffer and just draw to the screen, ignoring any windows. > > They do care about these things. For the past 20 years backwards compatibility has been Windows' entire raison d'être. Their QA might not find bugs though or fixing things might be harder than telling users to use virtual machines. As such d3d8 is available on 32 bit Windows, but as you've observed it is not available as a 64 bit DLL. > > (Interestingly ddraw.dll is available as a 64 bit DLL, but 64 bit ddraw doesn't support the d3d parts. I assume the reason for this is that Internet Explorer and its third party plugins used ddraw a lot, and without a 64 bit ddraw a 64 bit IE would have been impossible) > > Let's see if we run into any applications that need specific inactive window behavior in d3d8 or newer. We can always dust of your tests then :-) > Yep. By "unlikely they care" I was referring to d3d8 apps, i.e. caring about this focus behavior.