diff options
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader.h')
-rw-r--r-- | src/gallium/auxiliary/pipe-loader/pipe_loader.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.h b/src/gallium/auxiliary/pipe-loader/pipe_loader.h index caef6c16bec..8ff00b1e1e1 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader.h +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.h @@ -34,6 +34,7 @@ #define PIPE_LOADER_H #include "pipe/p_compiler.h" +#include "state_tracker/drm_driver.h" #ifdef HAVE_PIPE_LOADER_XLIB #include <X11/Xlib.h> @@ -94,6 +95,16 @@ pipe_loader_create_screen(struct pipe_loader_device *dev, const char *library_paths); /** + * Query the configuration parameters for the specified device. + * + * \param dev Device that will be queried. + * \param conf The drm_conf id of the option to be queried. + */ +const struct drm_conf_ret * +pipe_loader_configuration(struct pipe_loader_device *dev, + enum drm_conf conf); + +/** * Release resources allocated for a list of devices. * * Should be called when the specified devices are no longer in use to |