Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Incremental CRTC_* property changes #29

Open
emersion opened this issue Oct 15, 2019 · 2 comments
Open

Incremental CRTC_* property changes #29

emersion opened this issue Oct 15, 2019 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@emersion
Copy link
Owner

Leftover from #6 (comment).

If only CRTC_{X,Y,W,H} changes and the intersection between layers doesn't, we can re-use the previous alloc.

Note, on some Intel platforms sometimes putting a layer into a plane can succeed if the position coords are even (for some YUV formats). Let's not bother about this case.

@emersion emersion added the enhancement New feature or request label Oct 15, 2019
@emersion emersion added this to the MVP milestone Oct 15, 2019
@emersion emersion changed the title Incremental CRTC_* changes Incremental CRTC_* property changes Oct 15, 2019
@subdiff
Copy link
Contributor

subdiff commented Feb 27, 2020

Something similar should hold for the alpha property. Once suitable plane has been found alpha should always be changable without the need to realloc.

@emersion
Copy link
Owner Author

emersion commented Dec 5, 2020

The alpha optimization has been added in 9bfe58b ("Don't re-alloc when alpha changes").

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant