Shell wants API to listen for client pixel format changes
Bug #1666533 reported by
Gerry Boland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Invalid
|
Undecided
|
Unassigned | ||
MirAL |
Invalid
|
Medium
|
Unassigned |
Bug Description
AFAICS there is no way for shell to notice if a Window's pixel format changes.
The only way I can see is on every buffer returned from generate_
Shell would like a nicer way of being notified of any such change. It mostly cares about if the buffer is opaque or not to do a little rendering optimisation.
Question: since a Window can have multiple renderables, must all those renderables have the same pixel format?
tags: | added: clientapi |
tags: | added: compositapi |
summary: |
- Shell wants api to listen for window pixel_format changes + Shell wants API to listen for client pixel format changes |
To post a comment you must log in.
I can answer the question part of this: The existence of a pixel format on window is a legacy of it starting as a surface and having additional functionality added there instead of creating a window class. The Mir team is in the process of cleaning this up.
Following the cleanup it won't make sense to talk about the pixel format of a window, only of any renderables.