Git Product home page Git Product logo

Comments (13)

VISTALL avatar VISTALL commented on May 20, 2024 1

yeah:) it's just example

from win32-acrylic-effect.

VISTALL avatar VISTALL commented on May 20, 2024

Display Settings

image

(there different index and position of it - ignore)

from win32-acrylic-effect.

selastingeorge avatar selastingeorge commented on May 20, 2024

I think it's because when you switch between monitors the IDCompositionVisual size remains the same and your monitor uses a high resolution, I was not able to test this issue since I didn't have a multi monitor setup.

from win32-acrylic-effect.

VISTALL avatar VISTALL commented on May 20, 2024

I can test it from branch. I don't known this api :(

from win32-acrylic-effect.

selastingeorge avatar selastingeorge commented on May 20, 2024

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

from win32-acrylic-effect.

VISTALL avatar VISTALL commented on May 20, 2024

3rd monitor is also fullHD, but it's blured as expected. But - background bad

from win32-acrylic-effect.

selastingeorge avatar selastingeorge commented on May 20, 2024

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.

from win32-acrylic-effect.

selastingeorge avatar selastingeorge commented on May 20, 2024

3rd monitor is also fullHD, but it's blured as expected. But - background bad

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

from win32-acrylic-effect.

VISTALL avatar VISTALL commented on May 20, 2024

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 👍🏻

from win32-acrylic-effect.

selastingeorge avatar selastingeorge commented on May 20, 2024

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..
Here is a demo :
acrylic demo .NET 5.zip

from win32-acrylic-effect.

VISTALL avatar VISTALL commented on May 20, 2024

Nice demo) I want create same effect at my app (java app).

There some example at macOS

image

and want same for windows (for mac it's native impl too)

from win32-acrylic-effect.

VISTALL avatar VISTALL commented on May 20, 2024

Just research :)

from win32-acrylic-effect.

selastingeorge avatar selastingeorge commented on May 20, 2024

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..

from win32-acrylic-effect.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.