[Bug 45277] 006b:fixme:vulkan: X11DRV_vkCreateWin32SurfaceKHR Application requires child window rendering , which is not implemented yet!

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 21 20:58:51 CST 2019


--- Comment #13 from Roderick Colenbrander <thunderbird2k at gmail.com> ---
(In reply to Zhiyi Zhang from comment #12)
> Created attachment 63338 [details]
> patch
> This fixed World of Final Fantasy for me.

While the patch probably works, unfortunately it is not the correct fix. There
is a reason I waited implementing this feature. Let me share some background we
had the same child window rendering issue for OpenGL. We couldn't directly use
X11 windows, so had to resort to offscreen rendering using XComposite +
XCopyArea and as a fallback we had a XPixmap backend as well.

We need a similar solution as well for Vulkan. Though first we need some
conformance tests providing child window rendering is allowed for Vulkan.
Besides for DXVK path, I didn't find any Vulkan child window apps at the time.
I always suspect child window rendering is allowed (the spec doesn't disallow

In case we render directly to the client window, I suppose we need a patch like
yours (likely needs some tweaking). In other cases we need something like the
XComposite path. However doing it properly requires probably unifying it with
the OpenGL code. I recall I have a patch for this floating around somewhere,
but didn't have time to finish... May do a stab at it later..

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