[enhancement] support proper per-pixel alpha for alpha-enabled display framebuffers
Bug #1318852 reported by
Alberto Aguirre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Display framebuffers with alpha enabled pixel format are currently assumed to be opaque.
Mir needs to support writing correct per-pixel alpha so that a nested configuration can do per-pixel alpha transition effects between mir sessions.
Related branches
lp:~albaguirre/mir/produce-correct-destination-alpha
- Alexandros Frantzis (community): Approve
- Andreas Pokorny (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 187 lines (+41/-29)6 files modifiedexamples/demo-shell/demo_renderer.cpp (+11/-11)
examples/eglcounter.cpp (+3/-2)
examples/eglflash.c (+21/-11)
examples/egltriangle.c (+3/-2)
src/server/compositor/gl_renderer.cpp (+2/-2)
tests/unit-tests/compositor/test_gl_renderer.cpp (+1/-1)
Changed in mir: | |
milestone: | none → 0.4.0 |
Changed in mir: | |
assignee: | nobody → Alberto Aguirre (albaguirre) |
Changed in mir: | |
milestone: | 0.4.0 → 0.3.0 |
status: | Fix Committed → Fix Released |
Changed in mir (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Fix Released |
To post a comment you must log in.
I'm still not convinced using an alpha channel is right for transitions. More likely you just want to modify surface opacity for blending (which is a feature that does not per-pixel alpha).