View Single Post
Old 06-19-2006   #4 (permalink)
Chris Hill
Guest


 

Re: DWM features in Vista

On Mon, 19 Jun 2006 14:09:07 GMT, Chris244@aol.com (Chris Hill) wrote:
>>> Can windowed Direct 3D and/or OpenGL rendering be composited with the
>>> desktop using the alpha channel generated using those APIs?

>>
>>Yes, that would happen automatically.

>
>Excellent. I'll write a Direct3D app to test this. You're saying I
>don't need to call any API to make this happen, the client area of my
>window will automatically be composited with the desktop if I am using
>an alpha enabled buffer format?


I tried it an it didn't work. Do I need to use a particular version
of Direct3D or make a special D3D call? Is there a flag I need to set
on the window or an API call I need to make so that Direct3D knows
that I want it to composite with the desktop? I thought there might
be some special setup required, but I haven't been able to find any
documentation about the subject.

The blog entry seems to indicate that DirectX will handle the
communication with the DWM to configure a shared surface (and that I
don't need to do anything special to get a shared surface).

Is there a sample available of a desktop compositing Direct3D
application?

Chris
My System SpecsSystem Spec