-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different render on different monitors at same computer #4
Comments
I think it's because when you switch between monitors the |
I can test it from branch. I don't known this api :( |
its DWM private API, the API provides the IDCompositionVisual with a fixed size and i clip the visual during WM_WINDOWPOSCHANGED event with the WINDOWPOS struct values, Since there is no docs on this API it is very hard to debug. i think the background does not appear blurred in the first monitor because the IDCompositionVisual might not scale upto the resolution of the virtual monitor. The size of root visual is not set in the program it is set from the dwm private api so i am not sure about how to fix this |
3rd monitor is also fullHD, but it's blured as expected. But - background bad |
Are you just testing out the api or trying to use it a project. because as i mentioned in the README file, this is not suitable for production. I Suggest using Windows.UI.Composition. |
Not sure about how that happen, just try printing the size of rootvisual on to the console, if it is same as the Virtual Screen width may be i could fix it |
Testing :) I want understand, how do bluring via C++. I love aero, but win 10 introduce new bluring effects (acrylic) which not documented (except C# examples) =/ You made good work 👍🏻 |
Thank you, i am trying to bring back acrylic to wpf using windows.ui.composition but to overcome the airspace issue it's hard, the only way i see is by overlapping windows it works fine but i will lose all the windows animations like minimize, maximize etc.. |
Just research :) |
But Windows, Mac, Linux uses different technologies to blur the windows, it is completely depend upon the Compositor used by the OS. When a GUI Application is running the compositor receives the buffer containing the pixels to be rendered it is compositors duty to attach input to each Application, and render it into the screen. so different compositors uses different techniques for blurring and some does not even have an API. eg: Windows uses DWM as its Compositor, for Linux there are a lot like Sway (wlroots) etc.. |
yeah:) it's just example |
Hello, could you share the full source code of the acrylic demo .net 5? |
Sorry @dragonhaman , I don't have the source code with me now, but i think now windows has introduced API to achieve this in WinUI3. you can go through this: |
I have 3 monitors
Results:
Also. At main monitor (2) - not focus background became black, but on 1/3 all ok.
Thanks
The text was updated successfully, but these errors were encountered: