mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
a4a688ed83
The old requirement that multiple MetaBackgroundActor objects be layered on top of each to produce blended backgrounds resulted in extremely inefficient drawing since the entire framebuffer had to be read and written multiple times. * Replace the MetaBackground ClutterContent with a plain GObject that serves to hold the background parameters and prerender textures to be used to draw the background. It handles colors, gradients, and blended images, but does not handle vignetting * Add vignetting to MetaBackgroundActor directly. * Add MetaBackgroundImage and MetaBackgroundImageCache to allow multiple MetaBackground objects to share the same images By removing the usage of ClutterContent, the following optimizations were easy to add: Blending is turned off when the actor is fully opaque Nearest-neighbour filtering is used when drawing 1:1 The GLSL vignette code is slightly improved to use a vertex shader snippet for computing the texture coordinate => position in actor mapping. https://bugzilla.gnome.org/show_bug.cgi?id=735637 |
||
---|---|---|
.. | ||
atomnames.h | ||
barrier.h | ||
boxes.h | ||
common.h | ||
compositor-mutter.h | ||
compositor.h | ||
display.h | ||
errors.h | ||
gradient.h | ||
group.h | ||
keybindings.h | ||
main.h | ||
meta-backend.h | ||
meta-background-actor.h | ||
meta-background-group.h | ||
meta-background-image.h | ||
meta-background.h | ||
meta-cursor-tracker.h | ||
meta-idle-monitor.h | ||
meta-plugin.h | ||
meta-shadow-factory.h | ||
meta-shaped-texture.h | ||
meta-version.h.in | ||
meta-window-actor.h | ||
prefs.h | ||
screen.h | ||
theme.h | ||
types.h | ||
util.h | ||
window.h | ||
workspace.h |