Owen W. Taylor 2cf1405506 Clean up CoglTexturePixmapX11 first
With currently distributed versions of Mesa, calling XFreePixmap()
before glxDestroyPixmap() will cause an X error from DRI. So, we
need to make sure that we get rid of the CoglTexturePixmapX11 before
we XFreePixmap().

clutter_x11_texture_pixmap_dispose(): Call
 clutter_x11_texture_pixmap_set_pixmap() instead of using XFreePixmap
 directly so that we leverage the text-clearing hack and destroy
 things in the right order.

clutter_x11_texture_pixmap_set_pixmap(): Don't do a pointless roundtrip
 and trap a pointless error when setting pixmap to None.

clutter_x11_texture_pixmap_set_pixmap(): Free damage resources when
 we are setting Pixmap to None.

clutter_x11_texture_pixmap_set_window(): When setting a new window
 or setting the window to None, immedediately  call
 cluter_x11_texture_pixmap_set_pixmap(). This means that set_window(None)
 immediately will free any referenced resources related to the window.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2303
2010-09-08 17:24:49 +01:00
..
2010-09-03 11:14:05 +01:00
2010-03-01 12:56:10 +00:00
2010-09-03 11:38:22 +01:00
2010-08-04 15:13:12 +01:00
2010-09-08 17:24:49 +01:00
2010-09-08 16:41:47 +01:00
2010-06-30 11:32:15 +01:00
2010-09-03 16:12:24 +01:00
2009-01-20 18:47:50 +00:00
2010-09-08 16:41:47 +01:00
2010-09-08 16:41:47 +01:00
2010-06-30 11:32:15 +01:00
2010-06-03 14:10:55 +01:00
2010-09-03 12:14:50 +01:00
2010-03-02 11:12:32 +00:00
2010-09-08 16:41:47 +01:00
2010-03-02 11:12:32 +00:00
2010-09-08 16:41:47 +01:00
2010-09-08 16:41:47 +01:00
2009-07-10 11:38:42 +01:00
2010-09-08 16:41:47 +01:00
2010-09-08 16:41:47 +01:00
2010-09-08 16:41:47 +01:00
2010-09-08 16:41:47 +01:00
2010-03-02 11:12:32 +00:00
2010-09-08 16:41:47 +01:00
2010-02-03 14:38:13 +00:00
2010-02-01 10:40:34 +00:00
2010-03-02 11:12:32 +00:00