Skip to content
  • Olivier Fourdan's avatar
    xwayland: move glamor specific routines · f6b2109c
    Olivier Fourdan authored and Adam Jackson's avatar Adam Jackson committed
    
    
    Functions such as:
    
      xwl_glamor_egl_supports_device_probing()
      xwl_glamor_egl_get_devices()
      xwl_glamor_egl_device_has_egl_extensions()
    
    Are of no use outside of EGLStream support, move them to the relevant
    source file.
    
    Similarly, the other glamor functions such as:
    
      xwl_glamor_init()
      xwl_screen_set_drm_interface()
      xwl_screen_set_dmabuf_interface()
      xwl_glamor_pixmap_get_wl_buffer()
      xwl_glamor_init_wl_registry()
      xwl_glamor_post_damage()
      xwl_glamor_allow_commits()
      xwl_glamor_egl_make_current()
    
    Are useless without glamor support enabled, move those within a
    a "#ifdef XWL_HAS_GLAMOR" in xwayland.h
    
    Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
    Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
    f6b2109c