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 656879 - ClutterTexture: allow to clip corners
ClutterTexture: allow to clip corners
Status: RESOLVED DUPLICATE of bug 656877
Product: clutter
Classification: Platform
Component: ClutterTexture
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2011-08-19 09:48 UTC by Emilio Pozuelo Monfort
Modified: 2012-08-27 10:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
EmpathyRoundedTexture source (1.99 KB, text/plain)
2011-08-19 09:50 UTC, Emilio Pozuelo Monfort
Details
EmpathyRoundedTexture header (2.21 KB, text/plain)
2011-08-19 09:51 UTC, Emilio Pozuelo Monfort
Details

Description Emilio Pozuelo Monfort 2011-08-19 09:48:42 UTC
In some cases one wants to show a texture with rounded corners. E.g. in Empathy we have a ClutterTexture used by a ClutterGstVideoSink to display a video and we want the corners to be rounded. It would be nice if ClutterTexture (or a subclass of it) implemented this so one doesn't need to write its own actor for this simple task.
Comment 1 Emilio Pozuelo Monfort 2011-08-19 09:50:58 UTC
Created attachment 194202 [details]
EmpathyRoundedTexture source

This is a ClutterTexture subclass to do the above.
Comment 2 Emilio Pozuelo Monfort 2011-08-19 09:51:36 UTC
Created attachment 194203 [details]
EmpathyRoundedTexture header
Comment 3 Emmanuele Bassi (:ebassi) 2012-03-06 00:37:53 UTC
sadly, rounded corners in Cogl currently mean aliased borders - which do not look really nice.
Comment 4 Emmanuele Bassi (:ebassi) 2012-08-27 10:42:35 UTC
ClutterTexture is deprecated, and we have bug 656877 to track the addition of a corner-radius property to ClutterActor.

*** This bug has been marked as a duplicate of bug 656877 ***