Incremental CRTC_* property changes
Opened this issue · 2 comments
emersion commented
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.
Deleted user commented
Something similar should hold for the alpha property. Once suitable plane has been found alpha should always be changable without the need to realloc.