Skip to content
Snippets Groups Projects

qt: fix color banding issues with dithering

Merged Fatih Uzunoğlu requested to merge fuzun/vlc:qt/fixcolorbanding into master

Currently we are suffering from severe color banding when the dark theme is used. When premultiplied colors are used, we can't really use the whole 8-bit colors, as the dark color's parameters can end up getting so small that 8 bit precision would not be enough to represent them properly anymore.

For example, if color RGB(0.05, 0.05, 0.05) has alpha value 0.1, it becomes RGBA(0.005, 0.005, 0.005, 0.1) when premultiplied. I doubt 0.005 can be represented properly with 8 bits.

Close #27897 (closed).

Fading edge before:

image

Fading edge after:

image

Shadow before:

image

Shadow after:

image

Request review @chub.

Edited by Fatih Uzunoğlu

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading