Make cairo code work with newer cairo backends that actually use caching
Call cairo_surface_flush() before reading or writing a surface's pixels directly, and use cairo_surface_mark_dirty() after writing pixels directly, so we don't read old pixels, and our written pixels get actually used. (manually cherry-picked from fad60536)
parent
bd62d6c1
Please register or sign in to comment