No, ANGLE doesn't expose its Direct3D device. Moreover, ANGLE supports Direct3D 11 so it doesn't seem to be a very good idea to make any assumptions about presence of a D3D9 device. On Jan 24, 2014 8:57 PM, "Thomas Sevaldrud" <tho...@silentwings.no> wrote:
> Hello, > > I know that what I'm about to ask is somewhat of a heresy, but is there a > way to access to the IDirect3DSurface9 used as a back buffer by the ANGLE > OpenGL Wrapper in Qt? > > The ultimate goal of this hack is to integrate a QWindow into a WPF > application. I know this sounds real evil, but the WPF requirement is way > out of my control, and I would really like to avoid copying the frame > buffer via system memory. By using the D3DSurface I can simply plug it into > a D3DImage in .NET (I've done this with other D3D applications before, so I > know it works) > > I've been digging around in the Qt code but this far I haven't been able > to figure out exactly how ANGLE is initialized and where it fits into the > rest of everything. > > Any insight into this would be greatly appreciated. > > - Thomas > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest