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 648758 - remove workarounds for old clutter bugs
remove workarounds for old clutter bugs
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-04-27 13:45 UTC by Dan Winship
Modified: 2011-05-23 14:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
StScrollBar: use clutter_actor_has_allocation() (3.70 KB, patch)
2011-04-27 13:45 UTC, Dan Winship
committed Details | Review
StImText: remove two references to old clutter bugs (2.58 KB, patch)
2011-04-27 13:45 UTC, Dan Winship
committed Details | Review
ShellRecorder: Use cogl_read_pixels() (5.54 KB, patch)
2011-04-27 13:45 UTC, Dan Winship
committed Details | Review

Description Dan Winship 2011-04-27 13:45:12 UTC
i think all of these have actually been fixed since clutter 1.4.
you can follow the various clutter bugzilla links for more details
Comment 1 Dan Winship 2011-04-27 13:45:14 UTC
Created attachment 186738 [details] [review]
StScrollBar: use clutter_actor_has_allocation()

StScrollBar was tracking whether or not it currently had a valid
allocation, but since Clutter 1.4 there is a method it can call to get
that information instead.
Comment 2 Dan Winship 2011-04-27 13:45:17 UTC
Created attachment 186739 [details] [review]
StImText: remove two references to old clutter bugs

Remove a workaround for clutter_actor_get_transformed_position() not
working inside paint(), and remove a comment about
ClutterText::position not being properly notified, since it is now.
(However, it doesn't seem worth it to rewrite the code to use
notification, since that would actually end up being more complicated
than the current solution.)
Comment 3 Dan Winship 2011-04-27 13:45:19 UTC
Created attachment 186740 [details] [review]
ShellRecorder: Use cogl_read_pixels()

cogl_read_pixels() used to only support a useless pixel format, but it
will do our preferred format now, so use it rather than doing GL stuff
by hand.
Comment 4 Dan Winship 2011-05-16 10:40:05 UTC
poke
Comment 5 drago01 2011-05-21 21:22:52 UTC
Review of attachment 186738 [details] [review]:

Yeah this makes sense and the code looks good to me.
Comment 6 drago01 2011-05-21 21:24:39 UTC
Review of attachment 186739 [details] [review]:

Looks good.
Comment 7 drago01 2011-05-21 21:31:08 UTC
Review of attachment 186740 [details] [review]:

The disadvantage of doing it this way is that we lose the GL_MESA_pack_invert support but it wasn't really that much of a gain anyway (and if we really want it it should be in cogl) so this is fine as well.
Comment 8 Dan Winship 2011-05-23 14:53:11 UTC
Attachment 186738 [details] pushed as 55771b4 - StScrollBar: use clutter_actor_has_allocation()
Attachment 186739 [details] pushed as c5ca4e3 - StImText: remove two references to old clutter bugs
Attachment 186740 [details] pushed as 619a44a - ShellRecorder: Use cogl_read_pixels()