Commit Graph

29 Commits

Author SHA1 Message Date
ubuntu1804 fafe481365 Use fence to wait for buffer copy
Create a VkFence for the copy command, submit with that fence, wait with
vkWaitForFences instead of vkQueueWaitIdle, and destroy the fence after
completion. Ensure fence is destroyed and the command buffer is freed on
error paths.
2025-11-10 22:31:35 +08:00
ubuntu1804 098b00057d 文档移到docs 2025-11-10 22:11:25 +08:00
ubuntu1804 6c5fbe0e4b Use std140 UBO layout and add Vulkan tab
Change uniform buffer to std140 with explicit fields: time, resX, resY,
rotation, wavePhase plus padding for proper std140 alignment. Regenerate
SPIR-V and embedded .inc files to match.

Add optional VulkanWidget tab
2025-11-10 22:08:52 +08:00
ubuntu1804 d82fc95584 优化 MSAA 2025-11-10 21:51:11 +08:00
ubuntu1804 2f16c0b5e4 add msaa 2025-11-10 21:43:42 +08:00
ubuntu1804 fd9c1c89e6 调整渲染文字内容 2025-11-10 21:29:00 +08:00
ubuntu1804 4b04a1adf7 调整文字大小和位置 2025-11-10 21:01:35 +08:00
ubuntu1804 96a744bde0 修复文字显示bug 2025-11-10 20:26:57 +08:00
ubuntu1804 25e6159176 增加freetype支持 2025-11-10 20:00:34 +08:00
ubuntu1804 e8b9571d25 VulkanWidget 渲染问题完全解决 2025-11-10 17:01:06 +08:00
ubuntu1804 5dea0554b3 Add VulkanRenderer, shaders, and build scripts 2025-11-10 15:13:04 +08:00
ubuntu1804 9e15d9fab8 增加vulkan支持 2025-11-10 13:26:57 +08:00
ubuntu1804 bff9ded0fa Rename login interface to UKUI ScreenSaver
Replace m_loginInterface/m_loginConnected with
m_ukuiInterface/m_ukuiConnected, update connection/teardown logic and
log messages, and query lock state via UKUI's GetLockState method
instead of the previous login manager property call.
2025-11-10 11:24:10 +08:00
ubuntu1804 eaa40929bd Use session D-Bus for ukui ScreenSaver connections
Replace QDBusConnection::systemBus() with QDBusConnection::sessionBus()
when creating the org.ukui.ScreenSaver interface and connecting
Lock/Unlock signals so notifications are tied to the user session
2025-11-10 11:09:07 +08:00
ubuntu1804 ac16f7d054 增加支持KylinOS 2025-11-10 10:34:04 +08:00
hoenking 471b4c7b3b Add macOS support and cross-platform CMake 2025-11-08 16:57:58 +08:00
ubuntu1804 9248f3945d Rename app from ScreenLockDemo to ScreenLockDetector 2025-11-08 12:53:54 +08:00
ubuntu1804 bca2b3d908 Rename project to ScreenLockDetector 2025-11-08 12:44:35 +08:00
ubuntu1804 c0fc9f735d change name 2025-11-08 12:35:24 +08:00
ubuntu1804 f92446678c Adjust status and lock panels and format duration 2025-11-08 12:30:49 +08:00
ubuntu1804 6f453717ad Increase lock info rect height
Prevent clipping of lock information by adding 10px of vertical space
2025-11-08 12:26:45 +08:00
ubuntu1804 16d1d8d73d Track and display frame counts during lock
Add m_lastLockFrameCount and m_lockPaintFrameCount, compute frames
painted while the screen was locked and log the values. Show frame
counts in the lock info overlay, record frame count at lock, and reduce
the lock info font size for better layout.
2025-11-08 12:21:25 +08:00
ubuntu1804 7e468e0232 Track and display screen lock info
Record lock time, duration and count in CustomWidget and show a
lock-info overlay. setPaintingEnabled now logs lock/unlock times and
increments lock count. Emit screenLocked/screenUnlocked signals in
ScreenLockDetector. Minor UI and whitespace cleanup.
2025-11-08 11:37:10 +08:00
ubuntu1804 7e919ddef9 Enable Login Manager and stop emitting unlock
Call connectToLoginManager() in initialize(). Comment out
lockStateChanged and screenUnlocked emissions to silence them.
2025-11-08 10:51:45 +08:00
ubuntu1804 e6fec6dfea 整理并精简打包与文档
删除大量过期的 Deepin/packaging 文档与测试脚本,保留并重写 make_deb.sh;同时微调 ARCHITECTURE.md
的格式空格与换行
2025-11-08 10:32:47 +08:00
ubuntu1804 03c763431a 支持deepin dde 2025-11-08 09:56:34 +08:00
ubuntu1804 fa4514d4eb Improve DBus screen lock detection and debugging 2025-11-07 15:47:48 +08:00
ubuntu1804 778a697336 Add DEB packaging and Deepin support 2025-11-07 14:57:13 +08:00
ubuntu1804 772cc2c3e5 init 2025-11-07 10:56:45 +08:00