Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DWM Screen Capturing with DirectX IDXGIOutput::GetDisplaySurfaceData

37 views
Skip to first unread message

lilulo

unread,
Dec 22, 2009, 11:50:02 AM12/22/09
to
Hi,

I'm trying to capture DWM's DirectX surface by using DXGI and
GetDisplaySurfaceData(). (I know how to do it with GDI and DirectX 9
but I need it in Direct3D 10/11).

However when I'm taking ownership of adapter's output with
IDXGIOutput::TakeOwnership(), before calling to GetDisplaySurfaceData
(), the whole screen blacks-out for a moment and then restores back
(like display mode switching).

Maybe somebody knows why is this happens, and how to prevent this?

Thanks!

0 new messages