yuanyuanxiang
|
92f3df8464
|
Perf: Optimize macOS screen capture with CGDisplayStream
Core optimization:
- Use CGDisplayStream instead of per-frame CGDisplayCreateImage
- Push model: CPU sleeps when screen is static (condition_variable wait)
- IOSurface capture avoids expensive image creation per frame
- ~47% CPU reduction during active remote desktop (45% → 24%)
Additional optimizations:
- vImageVerticalReflect (SIMD) replaces manual row-by-row flip
- Cache CGColorSpaceRef to avoid per-frame creation/release
- Cache tempBuffer to avoid per-frame memory allocation
- Throttle getCursorTypeIndex to 250ms (Accessibility API is expensive)
Bug fixes:
- Fix unreliable screen capture permission check (use actual capture test)
- Improve permission logging
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-05-03 23:36:23 +02:00 |
|
yuanyuanxiang
|
1df2a7b321
|
feat(macos): Add clipboard support to match Linux implementation
|
2026-05-03 13:53:58 +02:00 |
|
yuanyuanxiang
|
3d8e90da14
|
Feature: Add daemon mode (-d) support for macOS
|
2026-05-03 13:35:30 +02:00 |
|
yuanyuanxiang
|
12e2a33062
|
Fix: Prevent reconnect crash by clearing callback before destruction
|
2026-05-03 13:16:02 +02:00 |
|
yuanyuanxiang
|
36423b1c7c
|
Refactor: Move FileManager to common, add macOS file management support
|
2026-05-03 10:30:30 +02:00 |
|
yuanyuanxiang
|
a3611d9fc1
|
Feature: Add terminal support for macOS client with shared PTYHandler
|
2026-05-03 09:33:47 +02:00 |
|
yuanyuanxiang
|
171fa750e5
|
Feature: Persist group name to config file and include in login info
|
2026-05-02 19:14:21 +02:00 |
|
yuanyuanxiang
|
bb6fd7b1b9
|
Feature: Add user idle and screen lock detection for macOS
|
2026-05-01 23:20:46 +02:00 |
|
yuanyuanxiang
|
3607f1d768
|
Feature: Add power management to keep macOS client always responsive
|
2026-05-01 21:43:55 +02:00 |
|
yuanyuanxiang
|
ed4b9eeb25
|
Fix: Web remote desktop double-click not working for macOS clients
|
2026-05-01 11:08:12 +02:00 |
|
yuanyuanxiang
|
cfa9b581fc
|
Fix: Full Disk Access permission check using actual file read
|
2026-05-01 09:32:15 +02:00 |
|
yuanyuanxiang
|
979f309497
|
Feature: Add "Full Disk Access" permission check for macOS client
|
2026-05-01 08:41:08 +02:00 |
|
yuanyuanxiang
|
f2a184e760
|
Feature: Implement initial macOS SimpleRemoter client
|
2026-05-01 01:28:55 +02:00 |
|