Skip to content

feat: supports freezing surface#397

Merged
zccrs merged 1 commit intovioken:masterfrom
asterwyx:surfaceitem/live
Jul 4, 2024
Merged

feat: supports freezing surface#397
zccrs merged 1 commit intovioken:masterfrom
asterwyx:surfaceitem/live

Conversation

@asterwyx
Copy link
Copy Markdown
Member

@asterwyx asterwyx commented Jul 3, 2024

Add property live, if contentItem is WSurfaceItemContent, setting live to false will not notify client to draw the next frame. In other cases, this property will not take effect. And will always return true(delegate) or false(no contentItem).

Log: add property live to support freezing surface.

@asterwyx asterwyx force-pushed the surfaceitem/live branch 2 times, most recently from 103b2d1 to d6706be Compare July 3, 2024 07:59
Comment thread src/server/qtquick/wsurfaceitem.cpp
Comment thread src/server/qtquick/wsurfaceitem.cpp Outdated
Comment thread src/server/qtquick/wsurfaceitem.cpp
@asterwyx asterwyx force-pushed the surfaceitem/live branch 2 times, most recently from 381dbbf to 19f24e9 Compare July 3, 2024 10:03
@asterwyx asterwyx requested a review from zccrs July 3, 2024 10:03
Comment thread tests/manual/live/ClientWindow.qml Outdated
@asterwyx asterwyx force-pushed the surfaceitem/live branch from 19f24e9 to 462d303 Compare July 4, 2024 05:41
@asterwyx asterwyx requested a review from zccrs July 4, 2024 05:41
@asterwyx asterwyx force-pushed the surfaceitem/live branch from 462d303 to 1745d10 Compare July 4, 2024 05:44
Comment thread examples/animationclient/Main.qml Outdated
Comment thread examples/animationclient/main.cpp
@asterwyx asterwyx force-pushed the surfaceitem/live branch from 1745d10 to fc625f7 Compare July 4, 2024 09:32
@asterwyx asterwyx requested a review from zccrs July 4, 2024 09:32
Comment thread examples/animationclient/main.cpp Outdated
Add property live, if contentItem is WSurfaceItemContent, setting live
to false will not notify client to draw the next frame. In other cases,
this property will not take effect. And will always return
true(delegate) or false(no contentItem).

Log: add property live to support freezing surface.
@asterwyx asterwyx force-pushed the surfaceitem/live branch from fc625f7 to 1306959 Compare July 4, 2024 10:12
@zccrs zccrs merged commit f293a2a into vioken:master Jul 4, 2024
@asterwyx asterwyx deleted the surfaceitem/live branch July 8, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants