<div dir="ltr"><div dir="ltr"><div></div>Hi Everyone,<div><br></div><div>we can obtain DRM device file from <span style="color:rgb(0,0,0);white-space:pre-wrap">eglQueryDeviceStringEXT </span><span style="white-space:pre-wrap"><font color="#444444">fun of EGL_EXT_device_query extension</font><font color="#666666">. But, how to retrieve name, configs from that?</font></span></div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div>Can we get the name of the matched driver for a particular display from any of the EGLDriver->API ?? (EGL API dispatch table)</div><div><br></div><div>And looking at x11 implementation of getDrvierConfig, I finally reached this file <a href="https://gitlab.freedesktop.org/mesa/mesa/blob/master/include/GL/internal/dri_interface.h#L1828">https://gitlab.freedesktop.org/mesa/mesa/blob/master/include/GL/internal/dri_interface.h#L1828</a> and unable to find the implementation of that getXml function. Can we use the same function here?</div><div><br></div><div>Please let me know what do you think about this.</div><div><br></div><div>Thanks, <font color="#000000"><span style="white-space:pre-wrap"><br></span></font>Veluri.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Dec 15, 2018 at 10:25 PM Veluri Mithun <<a href="mailto:velurimithun38@gmail.com">velurimithun38@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Veluri Mithun <<a href="mailto:velurimithun38@gmail.com" target="_blank">velurimithun38@gmail.com</a>><br>
---<br>
docs/specs/EGL_MESA_query_driver.txt | 54 ++++++++++++++++++++++++++++<br>
1 file changed, 54 insertions(+)<br>
create mode 100644 docs/specs/EGL_MESA_query_driver.txt<br>
<br>
diff --git a/docs/specs/EGL_MESA_query_driver.txt b/docs/specs/EGL_MESA_query_driver.txt<br>
new file mode 100644<br>
index 0000000000..315f02920f<br>
--- /dev/null<br>
+++ b/docs/specs/EGL_MESA_query_driver.txt<br>
@@ -0,0 +1,54 @@<br>
+Name<br>
+<br>
+ MESA_query_driver<br>
+<br>
+Name Strings<br>
+<br>
+ EGL_MESA_query_driver<br>
+<br>
+Contact<br>
+<br>
+ Rob Clark <robdclark 'at' <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>><br>
+ Nicolai Hähnle <Nicolai.Haehnle 'at' <a href="http://amd.com" rel="noreferrer" target="_blank">amd.com</a>><br>
+<br>
+Contibutors<br>
+<br>
+ Veluri Mithun <velurimithun38 'at' <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>><br>
+<br>
+Status<br>
+<br>
+ XXX - Not complete yet!!! (draft)<br>
+<br>
+Version<br>
+<br>
+ Version 1, 2018-11-05<br>
+<br>
+Number<br>
+<br>
+ EGL Extension ###<br>
+<br>
+Dependencies<br>
+<br>
+ EGL 1.4 is required.<br>
+<br>
+Overview<br>
+<br>
+ When an application had to query the name of a DRI driver and for<br>
+ obtaining driver's option list (UTF-8 encoded XML) of a DRI<br>
+ driver the below functions are useful.<br>
+<br>
+New Procedures and Functions<br>
+<br>
+ const char* eglGetDriverConfig(EGLDisplay *dpy, EGLDeviceEXT device,<br>
+ const char *driverName);<br>
+ const char* eglGetDisplayDriverName(EGLDisplay *dpy, EGLDeviceEXT device);<br>
+<br>
+New Tokens<br>
+<br>
+<br>
+<br>
+Issues<br>
+<br>
+<br>
+<br>
+Revision History<br>
-- <br>
2.17.1<br>
<br>
</blockquote></div>