[Bug 103575] eglQueryDevicesEXT returns 0 devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 3 on bug 103575 from
(In reply to Hi-Angel from comment #2)
> (In reply to Adam Jackson from comment #1)
> > Mesa doesn't implement EGL_EXT_device_enumeration yet, so this isn't
> > entirely surprising.
> 
> Then, shouldn't I be getting either linking or calling errors?

If your libEGL is from libglvnd then no. glvnd has explicit support for
QueryDevicesEXT because it has to aggregate the results from all installed
vendor libraries. Which means eglGetProcAddress will return the glvnd frontend
function, even if no vendors support the extension.

That's arguably a bug in glvnd. It should at minimum return an error if it
enumerates zero devices, I think. But I think your code is already in error in
calling eglQueryDevicesEXT without checking that EGL_EXT_device_enumeration is
in the client extension string (it certainly isn't on my machine, which does
use libglvnd).


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux