mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
clutter.paintCompletedTimestamp: cogl_flush() before glFinish()
Calling glFinish() doesn't give us a reliable timestamp unless we flush Cogl rendering to GL first.
This commit is contained in:
parent
5918faddf7
commit
83adb2a864
1 changed files with 1 additions and 0 deletions
|
|
@ -834,6 +834,7 @@ global_stage_after_paint (ClutterStage *stage,
|
|||
if (!finish)
|
||||
load_gl_symbol ("glFinish", (void **)&finish);
|
||||
|
||||
cogl_flush ();
|
||||
finish ();
|
||||
|
||||
shell_perf_log_event (shell_perf_log_get_default (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue