Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnome-shell gnome-shell
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,878
    • Issues 1,878
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 127
    • Merge requests 127
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • GNOME
  • gnome-shellgnome-shell
  • Merge requests
  • !1807

st: Only use clutter_actor_invalidate_paint_volume() if the API exists

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jonas Dreßler requested to merge verdre/gnome-shell:only-use-invalidate-pv-when-symbol-available into master Apr 12, 2021
  • Overview 7
  • Commits 1
  • Pipelines 8
  • Changes 4

With commits fab39bbe and 62e40a13 we started depending on a new ClutterActor API: clutter_actor_invalidate_paint_volume()

Given that this commit was applied to the 40 stable release, it broke ABI compatibility with mutter, which is something we guarantee between stable releases. So use GModule to dynamically find the symbol in our loaded libraries. If it exists, use it and invalidate the paint volume. If it doesn't exist, libmutter is still at version 40.0 and we don't need to invalidate the paint volume.

This also adds a dependency on gmodule. We need to link against gmodule to use g_module_open() and g_module_symbol() APIs.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: only-use-invalidate-pv-when-symbol-available