summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader/pipe_loader.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-30 11:06:06 +0200
committerNicolai Hähnle <[email protected]>2017-08-02 09:50:58 +0200
commitb4ff5e90e9ab3471a5f5c7a403826c9af952b594 (patch)
treee7b62510bd9f95398b0c09ecebfcc3bf53a22d5c /src/gallium/auxiliary/pipe-loader/pipe_loader.h
parentaa222e21c288887348cf52e14696559a58dec13c (diff)
st/dri: implement v2 of DRI_ConfigOptions
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader.h')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.h b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
index a4502ae2586..b6e81cf3915 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader.h
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
@@ -114,6 +114,14 @@ void
pipe_loader_load_options(struct pipe_loader_device *dev);
/**
+ * Get the driinfo XML string used by the given driver.
+ *
+ * The returned string is heap-allocated.
+ */
+char *
+pipe_loader_get_driinfo_xml(const char *driver_name);
+
+/**
* Release resources allocated for a list of devices.
*
* Should be called when the specified devices are no longer in use to
@@ -197,6 +205,14 @@ pipe_loader_drm_probe(struct pipe_loader_device **devs, int ndev);
bool
pipe_loader_drm_probe_fd(struct pipe_loader_device **dev, int fd);
+/**
+ * Get the driinfo XML used for the DRM driver of the given name, if any.
+ *
+ * The returned string is heap-allocated.
+ */
+char *
+pipe_loader_drm_get_driinfo_xml(const char *driver_name);
+
extern const char gallium_driinfo_xml[];
#ifdef __cplusplus