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 730215 - Add a way to pause the ClutterMasterClock
Add a way to pause the ClutterMasterClock
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-05-15 19:51 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2014-05-20 11:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add a way to pause the ClutterMasterClock (4.25 KB, patch)
2014-05-15 19:51 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
h# Attachment to Bug 730215 - Add a way to pause the ClutterMasterClock (5.57 KB, patch)
2014-05-19 15:44 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
egl: Add a way to pause the ClutterMasterClock (5.38 KB, patch)
2014-05-19 19:49 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2014-05-15 19:51:11 UTC
This is required for mutter's VT switching to work properly.
Comment 1 Jasper St. Pierre (not reading bugmail) 2014-05-15 19:51:12 UTC
Created attachment 276624 [details] [review]
Add a way to pause the ClutterMasterClock

When VT switched away, we need to pause the ClutterMasterClock,
stop processing events, and stop trying to flip.
Comment 2 Jasper St. Pierre (not reading bugmail) 2014-05-19 15:44:54 UTC
Created attachment 276789 [details] [review]
h# Attachment to Bug 730215 - Add a way to pause the ClutterMasterClock

egl: Add a way to pause the ClutterMasterClock

When VT switched away, we need to pause the ClutterMasterClock,
stop processing events, and stop trying to flip.
Comment 3 Jasper St. Pierre (not reading bugmail) 2014-05-19 19:49:01 UTC
Created attachment 276799 [details] [review]
egl: Add a way to pause the ClutterMasterClock

When VT switched away, we need to pause the ClutterMasterClock,
stop processing events, and stop trying to flip.
Comment 4 Emmanuele Bassi (:ebassi) 2014-05-19 22:49:26 UTC
Review of attachment 276799 [details] [review]:

looks good.

the documentation hints that maybe the EGL/KMS backend should have a "begin VT switch" and "end VT switch" functions pair that took care of everything on Clutter's side, but maybe we can add that later on.
Comment 5 Jasper St. Pierre (not reading bugmail) 2014-05-20 11:55:38 UTC
Attachment 276799 [details] pushed as b66fec0 - egl: Add a way to pause the ClutterMasterClock