mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
egl: inline CONFIG_OPTIONS usage
this is always supported Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30494>
This commit is contained in:
parent
0c220741e6
commit
7ea0091a19
2 changed files with 4 additions and 5 deletions
|
|
@ -60,6 +60,7 @@
|
|||
#endif
|
||||
|
||||
#include "GL/mesa_glinterop.h"
|
||||
#include "pipe-loader/pipe_loader.h"
|
||||
#include "loader/loader.h"
|
||||
#include "mapi/glapi/glapi.h"
|
||||
#include "pipe/p_screen.h"
|
||||
|
|
@ -693,7 +694,7 @@ dri2_query_driver_config(_EGLDisplay *disp)
|
|||
struct dri2_egl_display *dri2_dpy = dri2_egl_display_lock(disp);
|
||||
char *ret;
|
||||
|
||||
ret = dri2_dpy->configOptions->getXml(dri2_dpy->driver_name);
|
||||
ret = pipe_loader_get_driinfo_xml(dri2_dpy->driver_name);
|
||||
|
||||
mtx_unlock(&dri2_dpy->lock);
|
||||
|
||||
|
|
@ -762,9 +763,7 @@ dri2_setup_screen(_EGLDisplay *disp)
|
|||
disp->Extensions.MESA_gl_interop = EGL_TRUE;
|
||||
}
|
||||
|
||||
if (dri2_dpy->configOptions) {
|
||||
disp->Extensions.MESA_query_driver = EGL_TRUE;
|
||||
}
|
||||
disp->Extensions.MESA_query_driver = EGL_TRUE;
|
||||
|
||||
/* Report back to EGL the bitmask of priorities supported */
|
||||
disp->Extensions.IMG_context_priority =
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ inc_egl_dri2 = include_directories('drivers/dri2')
|
|||
|
||||
c_args_for_egl = [asan_c_args]
|
||||
cpp_args_for_egl = []
|
||||
link_for_egl = []
|
||||
link_for_egl = [libpipe_loader_dynamic]
|
||||
if with_dri
|
||||
link_for_egl += libgallium_dri
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue