c9ebc0ea25
Rather than trying to find out from Clutter whether mipmap generation can be used together with texture_from_pixmap, just always assume it can't and use the MutterTextureTower emulation code. This fixes a problem with our previous hack for doing the query no longer working. In the rare cases where mipmap generation is supported, it is unlikely to produce significantly more efficient or better looking results than the emulation. (In terms of efficiency, we have better knowledge of when we need to update the lower mipmaps and when we don't than CoglTexturePixmapX11.) Some care is taken so mutter_shaped_texture_set_create_mipmaps() works when changed on the fly and properly discards the old mipmap levels. This isn't necesary currently, since it can only be controlled via envvar, but is easier than future-proofing through documentation. https://bugzilla.gnome.org/show_bug.cgi?id=627087 |
||
---|---|---|
.. | ||
compositor | ||
core | ||
include | ||
tools | ||
ui | ||
wm-tester | ||
.cvsignore | ||
default_icon.png | ||
fix-meta-rectangle.py | ||
gdk-compat.h | ||
gtk-compat.h | ||
libmutter-private.pc.in | ||
Makefile.am | ||
mutter-enum-types.c.in | ||
mutter-enum-types.h.in | ||
mutter-marshal.list | ||
mutter-plugins.pc.in | ||
mutter-wm.desktop.in | ||
mutter.desktop.in | ||
mutter.schemas.in | ||
run-mutter.sh | ||
stock_delete.png | ||
stock_maximize.png | ||
stock_minimize.png |