diff options
| author | Tor Arne Vestbø <[email protected]> | 2025-04-02 15:47:59 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <[email protected]> | 2025-04-29 04:02:52 +0200 |
| commit | 6f67925799407216b999709d86ac180c1106fa9e (patch) | |
| tree | dfe4b3e38b12725068b74d9fed41bd0a8aec1bac /src/plugins/platforms/wasm/qwasmwindow.cpp | |
| parent | db7e2d6fd07778d8aa88bf0d92694acd4ab7e0ee (diff) | |
macOS: Add native interface API to manage visual effect view
NSVisualEffectView is the only supported way to add effects to
views, such as showing a blurred representation of the content
under the window, or within the window.
Now that we render the content of our QNSView into a sublayer
of the view's root layer, we can add NSVisualEffectViews as
child views without obscuring the view's own content, by making
sure that the NSVisualEffectView layer has a lower Z order in
the layer tree of our view's root layer. This works because
adding a layer-backed or -hosted view as a subview will also
add its layer as a sublayer of the view's layer, making the
effect layer and our content layer sibling layers.
Change-Id: Iab822e8462f54025559b3e3f26c7df668c885d75
Reviewed-by: Richard Moe Gustavsen <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmwindow.cpp')
0 files changed, 0 insertions, 0 deletions
