Skip to content

Fix missing GL colorspace capability check using external EGL context

OpenGL applications don't get GL core profile when external EGL context is used.

    Vendor: Mesa/X.org (0x1af4)
    Device: virgl (Mesa Intel(R) Xe Graphics (TGL GT2)) (0x1010)
    Version: 22.3.0
    Accelerated: yes
    Video memory: 0MB
    Unified memory: no
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1

We use external EGL for Venus support in Qemu. This MR fixes the missing GL capability check when external EGL is used. GL works properly with this fix applied.

@gerddie

Merge request reports