<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 13-12-16 10:29 AM, zhigang gong
wrote:<br>
</div>
<blockquote
cite="mid:CAFfUhOXbssW23RKdEmkcPP=QNGaa50eQbZXecGgLDsxy3SjfRw@mail.gmail.com"
type="cite">
<div>IMO, to make the DRI3 support depend on libgbm version 9
should</div>
<div>be good enough currently. I can't think of a case which has
libgbm</div>
<div>version 9 but has an incompatible EGLNativePixmapType. Is
there any</div>
<div>of such real case?</div>
<div><br>
</div>
</blockquote>
I haven't found any such case. After all, there should be only one
"native" type per platform.<br>
<br>
Given we support only mesa for now, I changed the test for
drm_fourcc (libdrm) and EGL_EXT_image_dma_buf_import extension. In
v2 of the patch series, they check for library versions instead.<br>
<blockquote><tt>[PATCH v2 0/3] autoconf: configuration for egl, gbm
and dri3 support</tt><br>
</blockquote>
The tests are now easy to add/remove in a plug & play fashion
without reworking the whole logic.<br>
<br>
<br>
Thanks for the valuable information.<br>
<br>
<br>
<br>
</body>
</html>