[Bug 33476] fxc, the Microsoft Effect Compile, doesn't work due to d3d

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 2 08:53:09 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33476

--- Comment #4 from Stefan Dösinger <stefan at codeweavers.com> 2013-05-02 08:53:09 CDT ---
Created attachment 44350
  --> http://bugs.winehq.org/attachment.cgi?id=44350
Hack

fxc.exe tries to create a D3DDEVTYPE_REF device that renders to the desktop
window (GetDesktopWindow()). winex11 rejects that.

As far as I know, it is not valid to create a HAL device that renders to NULL
or GetDesktopWindow(), but you can do that with REF and NULLREF devices. The
attached hack creates a dummy window, which makes fxc happy. This is broken in
many ways. I don't even know what a correct fix would look like. We can't use
opengl to render to the desktop window, and writing our own software renderer
seems a bit out of proportion as well. Maybe we can use the BitBlt() present
code we have for ddraw to render offscreen, then blit the results to the
desktop.

And yeah, fxc doesn't actually render anything. But REF devices on Windows can
render, they're just very slow...

-- 
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