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.
parent
d2fd8a8d
Please register or sign in to comment