Skip to content
Snippets Groups Projects
  • Akihiko Odaki's avatar
    bc6a3565
    configure: Improve OpenGL dependency detections · bc6a3565
    Akihiko Odaki authored
    
    This has the following visible changes:
    
    - GBM is required only for OpenGL dma-buf.
    - X11 is explicitly required by gtk-egl.
    - EGL is now mandatory for the OpenGL displays.
    
    The last one needs some detailed description. Before this change,
    EGL was tested only for OpenGL dma-buf with the check of
    EGL_MESA_image_dma_buf_export. However, all of the OpenGL
    displays depend on EGL and EGL_MESA_image_dma_buf_export is always
    defined by epoxy's EGL interface.
    Therefore, it makes more sense to always check the presence of EGL
    and say the OpenGL displays are available along with OpenGL dma-buf
    if it is present.
    
    Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@gmail.com>
    Message-Id: <20210223060307.87736-1-akihiko.odaki@gmail.com>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    bc6a3565
    History
    configure: Improve OpenGL dependency detections
    Akihiko Odaki authored
    
    This has the following visible changes:
    
    - GBM is required only for OpenGL dma-buf.
    - X11 is explicitly required by gtk-egl.
    - EGL is now mandatory for the OpenGL displays.
    
    The last one needs some detailed description. Before this change,
    EGL was tested only for OpenGL dma-buf with the check of
    EGL_MESA_image_dma_buf_export. However, all of the OpenGL
    displays depend on EGL and EGL_MESA_image_dma_buf_export is always
    defined by epoxy's EGL interface.
    Therefore, it makes more sense to always check the presence of EGL
    and say the OpenGL displays are available along with OpenGL dma-buf
    if it is present.
    
    Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@gmail.com>
    Message-Id: <20210223060307.87736-1-akihiko.odaki@gmail.com>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>