GNOME Bugzilla – Bug 585151
Allow slicing the mask texture
Last modified: 2009-06-11 19:41:18 UTC
It doesn't make sense to allow the window texture to be sliced, but not allow the mask texture to be sliced. So, we should either set 'disable-slicing' for the texture actor or not pass NO_SLICING when creating the mask texture. While slicing currently results in only the first layer being shown, disabling slicing entirely would break windows larger than the texture size limit. It would be straightforward to support multitexturing of sliced textures in Cogl when all the textures are identically sized and sliced identically, if it became a priority.
Created attachment 136146 [details] [review] Allow slicing the mask texture
Accidentally pushed this one. :-(. I think it's fine though. (And won't affect anything if have either texture_from_pixmap or NPOT textures.)