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 754938 - Setup sync_to_vblank before ClutterStage creation
Setup sync_to_vblank before ClutterStage creation
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: gdk
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-12 22:45 UTC by Lionel Landwerlin
Modified: 2015-09-14 12:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdk: move sync_to_vblank setup from master clock to backend (1.88 KB, patch)
2015-09-12 22:46 UTC, Lionel Landwerlin
committed Details | Review

Description Lionel Landwerlin 2015-09-12 22:45:54 UTC
See the patch's description.
Comment 1 Lionel Landwerlin 2015-09-12 22:46:00 UTC
Created attachment 311220 [details] [review]
gdk: move sync_to_vblank setup from master clock to backend

Setting up the sync_to_vblank in the MasterClock is a bit too late as
the MasterClock can be created after a StageWindow has been created
and realized (and therefore all of its Cogl/GL state setup already).
So move the setup to the backend, prior to any StageWindow creation.
Comment 2 Emmanuele Bassi (:ebassi) 2015-09-14 12:04:07 UTC
Review of attachment 311220 [details] [review]:

Sure.
Comment 3 Lionel Landwerlin 2015-09-14 12:47:58 UTC
Review of attachment 311220 [details] [review]:

Pushed to master.