racket/gui: use cairo_paint() to copy buffer to screen

Following 54e42664df, use cairo_paint() instead of cairo_fill()
to copy offscreen content onscreen, just in case it's faster.

original commit: a85a2d43923d604d9dd49de430975f62c448332d
This commit is contained in:
Matthew Flatt 2014-09-25 13:58:52 -06:00
parent fa43134aa8
commit 5956a30e42

View File

@ -241,8 +241,6 @@
(cairo_matrix_init_translate m 0 0) (cairo_matrix_init_translate m 0 0)
(cairo_matrix_scale m sc sc) (cairo_matrix_scale m sc sc)
(cairo_pattern_set_matrix (cairo_get_source cr) m)))) (cairo_pattern_set_matrix (cairo_get_source cr) m))))
(cairo_new_path cr) (cairo_paint cr)
(cairo_rectangle cr 0 0 w h)
(cairo_fill cr)
(cairo_set_source cr s) (cairo_set_source cr s)
(cairo_pattern_destroy s)))) (cairo_pattern_destroy s))))