Class

MetaBackgroundImageCache

Description [src]

final class Meta.BackgroundImageCache : GObject.Object {
  /* No available fields */
}

MetaBackgroundImageCache caches loading of textures for backgrounds; there’s actually nothing background specific about it, other than it is tuned to work well for large images as typically are used for backgrounds.

Hierarchy

hierarchy this MetaBackgroundImageCache ancestor_0 GObject ancestor_0--this

Ancestors

  • GObject

Instance methods

meta_background_image_cache_load

Loads an image to use as a background, or returns a reference to an image that is already in the process of loading or loaded. In either case, what is returned is a MetaBackgroundImage which can be dereferenced to get a CoglTexture. If meta_background_image_is_loaded() returns TRUE, the background is loaded, otherwise the MetaBackgroundImage::loaded signal will be emitted exactly once. The ‘loaded’ state means that the loading process finished, whether it succeeded or failed.

meta_background_image_cache_purge

Remove an entry from the cache; this would be used if monitoring showed that the file changed.

Class structure

struct MetaBackgroundImageCacheClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.

Functions

meta_background_image_cache_get_default
No description available.