• Olivier Fourdan's avatar
    glamor: Make pixmap exportable from `gbm_bo_from_pixmap()` · 26fe29f4
    Olivier Fourdan authored
    If a pixmap is not exportable, `glamor_gbm_bo_from_pixmap()` would fail
    and the modesettings driver would consequently fail to do its page flip,
    which both prevents Present from working and also fill up the logs with
    error messages such as:
    
      (EE) modeset(0): Failed to get GBM bo for flip to new front.
      (EE) modeset(0): present flip failed
    
    Refactor the code so that `glamor_gbm_bo_from_pixmap()` takes care of
    making the pixmap exportable.
    Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
    Signed-off-by: Yuxuan Shui yshui@hadean.com
    See-also: !131
    Closes: #68
    Fixes: 86b2d874 "glamor: Reallocate pixmap storage without modifiers
           if necessary"
    26fe29f4
Name
Last commit
Last update
..
Makefile.am Loading commit data...
glamor.c Loading commit data...
glamor.h Loading commit data...
glamor_addtraps.c Loading commit data...
glamor_composite_glyphs.c Loading commit data...
glamor_compositerects.c Loading commit data...
glamor_context.h Loading commit data...
glamor_copy.c Loading commit data...
glamor_core.c Loading commit data...
glamor_dash.c Loading commit data...
glamor_debug.h Loading commit data...
glamor_egl.c Loading commit data...
glamor_egl.h Loading commit data...
glamor_egl_ext.h Loading commit data...
glamor_egl_stubs.c Loading commit data...
glamor_eglmodule.c Loading commit data...
glamor_fbo.c Loading commit data...
glamor_font.c Loading commit data...
glamor_font.h Loading commit data...
glamor_glx.c Loading commit data...
glamor_glyphblt.c Loading commit data...
glamor_gradient.c Loading commit data...
glamor_image.c Loading commit data...
glamor_largepixmap.c Loading commit data...
glamor_lines.c Loading commit data...
glamor_picture.c Loading commit data...
glamor_pixmap.c Loading commit data...
glamor_points.c Loading commit data...
glamor_prepare.c Loading commit data...
glamor_prepare.h Loading commit data...
glamor_priv.h Loading commit data...
glamor_program.c Loading commit data...
glamor_program.h Loading commit data...
glamor_rects.c Loading commit data...
glamor_render.c Loading commit data...
glamor_segs.c Loading commit data...
glamor_spans.c Loading commit data...
glamor_sync.c Loading commit data...
glamor_text.c Loading commit data...
glamor_transfer.c Loading commit data...
glamor_transfer.h Loading commit data...
glamor_transform.c Loading commit data...
glamor_transform.h Loading commit data...
glamor_trapezoid.c Loading commit data...
glamor_triangles.c Loading commit data...
glamor_utils.c Loading commit data...
glamor_utils.h Loading commit data...
glamor_vbo.c Loading commit data...
glamor_window.c Loading commit data...
glamor_xv.c Loading commit data...
meson.build Loading commit data...