diff options
author | Emil Velikov <[email protected]> | 2014-02-22 03:21:40 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-22 03:26:29 +0000 |
commit | 969e8d15b77434a0505e883557529ed1073583a6 (patch) | |
tree | 25f0e0249f79d5ca294fbe1ceca9bb4e09a43316 /src/gallium/auxiliary/pipe-loader/pipe_loader.h | |
parent | cc3aeacab64a6928a903f1dbfeaa7c880a8de5a6 (diff) |
pipe-loader: introduce pipe_loader_sw_probe_dri helper
Will be used in the following commits.
v2: Link gallium tests against the library.
v3: Handle dri_create_sw_winsys failure
v4: Rebase on top of the targets/xa changes
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]> (v2)
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader.h')
-rw-r--r-- | src/gallium/auxiliary/pipe-loader/pipe_loader.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.h b/src/gallium/auxiliary/pipe-loader/pipe_loader.h index 315ab32fde0..9a461608d99 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader.h +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.h @@ -44,6 +44,7 @@ extern "C" { #endif struct pipe_screen; +struct drisw_loader_funcs; enum pipe_loader_device_type { PIPE_LOADER_DEVICE_SOFTWARE, @@ -119,6 +120,18 @@ pipe_loader_sw_probe_xlib(struct pipe_loader_device **devs, Display *display); #endif /** + * Initialize sw dri device give the drisw_loader_funcs. + * + * This function is platform-specific. + * + * \sa pipe_loader_probe + */ +bool +pipe_loader_sw_probe_dri(struct pipe_loader_device **devs, + struct drisw_loader_funcs *drisw_lf); + + +/** * Get a list of known software devices. * * This function is platform-specific. |