After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 585151 - Allow slicing the mask texture
Allow slicing the mask texture
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2009-06-08 14:02 UTC by Owen Taylor
Modified: 2009-06-11 19:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Allow slicing the mask texture (1.71 KB, patch)
2009-06-08 14:02 UTC, Owen Taylor
none Details | Review

Description Owen Taylor 2009-06-08 14:02:43 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.
Comment 1 Owen Taylor 2009-06-08 14:02:47 UTC
Created attachment 136146 [details] [review]
Allow slicing the mask texture
Comment 2 Owen Taylor 2009-06-11 19:41:18 UTC
Accidentally pushed this one. :-(.

I think it's fine though. (And won't affect anything if have either texture_from_pixmap  or NPOT textures.)