Villacaleb / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

There is no IDXGISurface1 ? #687

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I try to create a DeviceContextRenderTarget and then bind the device context to 
it (with BindDeviceContext()), but I always got a error because I don't know 
how to retrieve the hDC of my DXGISurface.

But by looking directly into the SlimDX code it seem that with a IDXGISurface 
we can't retrieve de HDC anyway, in the c++ sample I have seen they are using 
an IDXGISurface1. With this one you can call GetDC() function to retrieve the 
device context and then bind it to your DeviceContextRenderTarget.

Is there a reason why SlimDX doesn't implement IDXGISurface1 ?

Thank.

Original issue reported on code.google.com by Karna...@gmail.com on 10 Jun 2010 at 2:14

GoogleCodeExporter commented 9 years ago
I don't think we ever did DXGI 1.1 support at all. It's probably something we 
should get done, but it won't make this release.

Original comment by promit....@gmail.com on 22 Jun 2010 at 8:22

GoogleCodeExporter commented 9 years ago
However, DXGI 1.1 is listed as supported API on homepage:
http://slimdx.org/features.php

Original comment by dengl...@gmail.com on 2 Aug 2010 at 7:49

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1645.

Original comment by Mike.Popoloski on 31 Aug 2010 at 3:25