GNOME Bugzilla – Bug 706777
background: don't save pixbuf in user data
Last modified: 2013-08-26 16:26:24 UTC
This is causing around 30MB of memory usage on my system. Do we need to keep these pixbuf in memory?
Created attachment 253089 [details] [review] background: don't save pixbuf in user data
Review of attachment 253089 [details] [review]: I think is right. I originally cribbed the user data thing from cogl_bitmap_new_for_data here: https://git.gnome.org/browse/cogl/tree/cogl/cogl-bitmap-pixbuf.c#n247 but we're a different case here since the texture data is going to be uploaded right away. cogl_texutre_new_from_data free's it's cogl bitmap after doing the upload.
(also see Bug 696157 Comment 22 where I incorrectly asserted it was necessary)
Attachment 253089 [details] pushed as e74ed92 - background: don't save pixbuf in user data