Direct3D app spins XULRunner

I have an application using a rendering engine that can switch between D3D and OpenGL (at least on Windows!). We also use XULRunner for the built-in functions of the web browser. XULRunner also seems to be using D3D, and when our engine is in D3D mode, XUL stops working - it just turns black all this time.

“Use OpenGL” is not the answer I'm looking for, so what can I do? We are using D3D9.

edit: Obviously, GL support is immature, on platforms other than Windows, hardware acceleration is not used by default. We tried to disable it, but there is another error, or we are not using the correct flags. I can not find a good link for them.

the edit: . Current versions of XULRunner used in FF 3.x do not support hardware acceleration. And yet, at the time of the creation of the D3D9 device, the Gecko rendering engine begins to paint a solid black color.

+3
source share

Source: https://habr.com/ru/post/1786536/


All Articles