mirror of https://github.com/yshui/picom.git
![]() Currently there is some inconsistency in how image_op is implemented across backends. The glx backend applies some of the image operations lazily, and not always in the order the operations were made; while the xrender backend applies the operations eagerly. This can lead to different render result in some cases. Instead of trying to preserving the order of operations, which would be unnecessary, we re-model the API to better reflect the implementation. We make it clear that setting the property doesn't change the image data, and properties are only applied during composition and in a specific order. This makes sure the render result looks consistent across backends. Should also improve the performance of the xrender backend, even if only slightly. Also distill out the property management code so they can be shared. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com> |
||
---|---|---|
.. | ||
dummy.c |