Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mutter mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,153
    • Issues 1,153
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • muttermutter
  • Merge requests
  • !2789

wayland: Send frame-callbacks to hidden surfaces when screen-casted

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Robert Mader requested to merge rmader/mutter:issue-2538 into main Jan 14, 2023
  • Overview 38
  • Commits 3
  • Pipelines 21
  • Changes 7

Screen casted hidden surfaces currently don't receive frame-callbacks as they are, unlike ClutterClones, not considered by clutter_actor_is_effectively_on_stage_view().

Thus special-case them. This is a minimal but hopefully solid solution for backward compatibility. It's not optimal in multi-monitor setups yet, as clients will receive frame-callbacks for every stage view, making them draw at higher rate than necessary. However, that's arguably usually already the case: optimally we'd only want them to redraw at the stream framerate, not synced to any stage view. So this is probably acceptable as an interim solution.

Closes #2538 (closed)

Edited Feb 23, 2023 by Robert Mader
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: issue-2538