You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.
When using damages to perform composition, we can easily prevent doing any work for regions that did not change.
This means that if we have to chose between putting a layer on a plane which is seldom updated, or one that is updated all the time, we should choose the latter as it would lead to the least amount of blits.
One thing to consider is that if the layer is partially under another one, we will need to have the top layer also allocated to a plane in order to bring this benefit.
Thoughts?
The text was updated successfully, but these errors were encountered:
Note to self: "updated" can mean that the FB_ID is changed, but can also mean that CRTC_{X,Y,W,H} is changed. In both cases, we want to put the layer on a plane.
We also need to figure out when the priority of a layer changes, to re-allocate planes (taking priority into account). However we don't want to re-allocate too often.
Maybe we could detect when the priority ordering between layers changes (e.g. when a layer gains a priority higher than the next layer). I'm a little bit worried about back-and-forth situations where we needlessly reallocate.
Keep track of the number of layer updates per 60 page-flips.
We could implement a more fine-grained tracking, for instance with a sliding
window. However it's a lot more complex than the current solution and the gains
are not clear. I'd prefer to keep the current solution and experiment with other
solutions once we have a good test-bed.
References: #22
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using damages to perform composition, we can easily prevent doing any work for regions that did not change.
This means that if we have to chose between putting a layer on a plane which is seldom updated, or one that is updated all the time, we should choose the latter as it would lead to the least amount of blits.
One thing to consider is that if the layer is partially under another one, we will need to have the top layer also allocated to a plane in order to bring this benefit.
Thoughts?
The text was updated successfully, but these errors were encountered: