Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Include picture composite mode in primitive key for pictures. #3426
We need to ensure that a display list that is otherwise the same
For example, if a picture has brightness(0.5) and then the next
This patch adds a not particularly elegant key for picture
The point of this change is so that a nested child picture inside a tile cache which had a composite mode is correctly detected as invalidating that tile when its parameters change. For example, imagine you have a picture / tile cache, and that has [image, opacity [image], rectangle] - we need to know that the opacity filter has changed to redraw that tile, just as we need to know if any primitive / clip has changed for that cached surface.