Glass#1109
Merged
Merged
Conversation
Contributor
|
我也要有液态玻璃吗 ( |
Member
Author
会有个开关,喜欢blur就blur,喜欢glass就glass |
9a15f5c to
d100d5c
Compare
upstream commit 6a1be42 引入的 lambda 捕获了 this 但未使用,触发 -Werror,-Wunused-lambda-capture 构建失败。移除多余的 this 捕获。
a7433d4 to
1219c1e
Compare
54a48f0 to
3d59199
Compare
Add missing <unistd.h> include for close() and related POSIX calls. 补充 test_capture 中缺失的 unistd.h 头文件,修复编译错误。 Log: 修复test_capture缺失unistd.h头文件 Influence: 修复test_capture编译失败问题
806212d to
a6dfd58
Compare
…ponents Add GlassEffect.qml, a pure ShaderEffect item with GLSL liquid-glass shader: rounded-rect SDF, edge refraction, RGB dispersion, specular highlight, SDF-derivative AA. Register shaders via qt_add_shaders. 新增 GlassEffect.qml 组件,含 GLSL 液态玻璃着色器:圆角矩形 SDF、 边缘折射、RGB 色差、镜面高光、SDF 导数抗锯齿,并通过 qt_add_shaders 注册。 Add DConfig keys for glass/blur effect switch and material knobs. Set the default blur strength to 60 and expose a highlight switch. 新增 DConfig 配置项:glass/blur 效果开关和材质参数。 默认 blur 强度改为 60,并暴露高光开关。 BlitTextureProvider maps smooth to setFiltering, antialiasing to setAnisotropyLevel. Fix corner white artifacts via premultiplied alpha output. Unify light direction via lightAngle. BlitTextureProvider 将 smooth 映射为 setFiltering,antialiasing 映射为 setAnisotropyLevel。通过预乘 alpha 修复圆角白色伪影, 并用 lightAngle 统一光线方向。 test_glass standalone demo uses a SHARED treeland_stub library with a minimal Treeland QML module so Blur.qml works without libtreeland. test_glass 示例使用 SHARED treeland_stub 库提供最小 Treeland QML 模块,使 Blur.qml 无需链接 libtreeland 即可运行。 RoundBlur forces pure blur with glassEnabled=false and blurMax=64. Blur.qml dispatches between GlassEffect and traditional MultiEffect blur. RoundBlur 通过 glassEnabled=false 和 blurMax=64 强制使用纯 blur。 Blur.qml 在 GlassEffect 和传统 MultiEffect blur 之间分发。 Add test_effect_glass coverage for GlassEffect properties, shader output, software-renderer fallback, and QML import path setup under ctest. 新增 test_effect_glass 覆盖 GlassEffect 属性、着色器输出、软件渲染器 回退,以及 ctest 下的 QML import path 设置。 Add Debian QtQuick.Effects runtime/build dependencies and Arch mesa CI dependency so the new QML module and GLES renderer are available. 添加 Debian QtQuick.Effects 运行/构建依赖和 Arch mesa CI 依赖,确保 新的 QML 模块和 GLES 渲染器可用。 Log: 实现iOS 26 Liquid Glass效果,可复用组件和dconfig配置 Influence: 新增玻璃效果开关和材质参数配置,默认模糊强度调整为60
Groveer
approved these changes
Jul 9, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Groveer, zccrs The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Contributor
|
这个效果Vulkan上能用嘛( |
Member
Author
代码上完全不依赖gles,不过vulkan下的RenderBufferBlitter还没有完成。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.