Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xf86-video-amdgpu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • driver
  • xf86-video-amdgpu
  • Merge requests
  • !10

Relax detection of non-premultiplied alpha cursor data

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Michel Dänzer requested to merge daenzer/xf86-video-amdgpu:relax-non-premul-alpha-cursor-detection into master Nov 06, 2018
  • Overview 1
  • Commits 1
  • Pipelines 2
  • Changes 1

The stricter detection broke the cursor in some games. Apparently those use cursor data with premultiplied alpha, but with some pixels having r/g/b values larger than the alpha value (which corresponds to original r/g/b values > 1.0), triggering the workaround.

Relax the detection to match what's in the X server since 1.18.4, but keep the workaround for older versions.

Bugzilla: https://bugs.freedesktop.org/108650

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: relax-non-premul-alpha-cursor-detection