Category : direct-composition

My main goal is to create Acrylic effect like in Windows UWP Settings UI in C++ for windows. For creating back visual I’m using private API DwmpCreateSharedVirtualDesktopVisual, this works. But now when I apply the gaussian effect using IDCompositionGaussianBlurEffect to the rootvisual that produces white borders like in the following image, I tried several things ..

Read more

I want to display a raw BGRA data (so I have an unsigned int *, with width and height) on a window so that the alpha component is taken into account to have per-pixel transparency. The final purpose is to integrate this in a graphic toolkit. after reading Kenny Kerr’s article (https://docs.microsoft.com/en-us/archive/msdn-magazine/2014/june/windows-with-c-high-performance-window-layering-using-the-windows-composition-engine) I think that ..

Read more

First, I want to say that I am a newbie in direct2d usage. My final purpose is to have per pixel transparent window. I have found this nice article : https://docs.microsoft.com/en-us/archive/msdn-magazine/2014/june/windows-with-c-high-performance-window-layering-using-the-windows-composition-engine and it seems that it answers my question. Before writing my per-pixel transparent window, I just tried to test the code in that link. ..

Read more