Mir

"float alpha()" is potentially confusing, and should be "float opacity()"

Bug #1236224 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Triaged
Low
Unassigned
mir (Ubuntu)
Triaged
Low
Unassigned

Bug Description

"float alpha()" is potentially confusing, and should be "float opacity()".

This is because there are two aspects to alpha blending of a surface:
  1. The surface's own alpha channel, which can have different values for each pixel (hence making surfaces of any shape and transparent in places).
  2. The overall surface opacity value desired by the shell/compositor.

In Mir we presently mean #2 when using "float alpha()". But I think it should be renamed to "float opacity()" to minimize confusion in future with #1.

Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.