From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 103575] eglQueryDevicesEXT returns 0 devices
Date: Thu, 30 Nov 2017 15:04:30 +0000 [thread overview]
Message-ID: <bug-103575-502-DDCJ38iVuS@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-103575-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1059 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103575
--- Comment #3 from Adam Jackson <ajax@nwnk.net> ---
(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:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1995 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-11-30 15:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-05 1:48 [Bug 103575] eglQueryDevicesEXT returns 0 devices bugzilla-daemon
2017-11-29 20:34 ` bugzilla-daemon
2017-11-29 20:40 ` bugzilla-daemon
2017-11-30 15:04 ` bugzilla-daemon [this message]
2017-11-30 15:30 ` bugzilla-daemon
2017-11-30 16:16 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-103575-502-DDCJ38iVuS@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox