Guest User

Untitled

a guest
May 27th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. diff --git a/clutter/glx/clutter-stage-glx.c b/clutter/glx/clutter-stage-glx.c
  2. index 8ca0b9d..60b7ebb 100644
  3. --- a/clutter/glx/clutter-stage-glx.c
  4. +++ b/clutter/glx/clutter-stage-glx.c
  5. @@ -642,6 +642,12 @@ clutter_stage_glx_redraw (ClutterStageGLX *stage_glx,
  6. * we have to manually wait for the vblank period...
  7. */
  8.  
  9. + /* Here 'is_synchronized' only means that the blit won't cause a
  10. + * tear, ie it won't prevent multiple blits per retrace if they
  11. + * can all be performed in the blanking period. If that's the
  12. + * case then we still want to use the vblank sync menchanism but
  13. + * we only need it to throttle redraws.
  14. + */
  15. if (!backend_glx->blit_sub_buffer_is_synchronized)
  16. {
  17. /* XXX: note that glXCopySubBuffer, at least for Intel, is
Add Comment
Please, Sign In to add comment