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 733385 - ClutterCanvas drawn too dark on low opacity values (patch)
ClutterCanvas drawn too dark on low opacity values (patch)
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: Cairo
git master
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-07-19 00:53 UTC by Tom Beckmann
Modified: 2014-07-25 08:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that fixes the issue (1.12 KB, patch)
2014-07-19 00:53 UTC, Tom Beckmann
committed Details | Review

Description Tom Beckmann 2014-07-19 00:53:23 UTC
Created attachment 281163 [details] [review]
Patch that fixes the issue

The color which is passed to the texture node should get 255 for its rgb components for premultiplying correctly. You can see this being done correctly for the ClutterImage content already. Otherwise it will be very dark when animating from a low opacity.
Comment 1 Emmanuele Bassi (:ebassi) 2014-07-19 22:14:09 UTC
Review of attachment 281163 [details] [review]:

yes, it looks good.
Comment 2 Emmanuele Bassi (:ebassi) 2014-07-25 08:33:55 UTC
pushed to clutter-1.20