Francisco Jerez
e136453062
gallium: Add pipe loader for device enumeration and driver multiplexing.
...
The goal is to have a uniform interface to create winsys and
pipe_screen instances for any driver, exposing the device enumeration
capabilities that might be supported by the operating system (for now
there's a "drm" back-end using udev and a "sw" back-end that always
returns the same built-in devices).
The typical use case of this library will be:
>
> struct pipe_loader_device devs[n];
> struct pipe_screen *screen;
>
> pipe_loader_probe(&devs, n);
>[pick some device from the array...]
>
> screen = pipe_loader_create_screen(dev, library_search_path);
>[do something with screen...]
>
> screen->destroy(screen);
> pipe_loader_release(&devs, N);
>
A part of the code was taken from targets/gbm/pipe_loader.c, which
will be removed and replaced with calls into this library by a future
commit.
2012-05-11 12:39:43 +02:00
..
2007-12-07 14:34:27 -08:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-20 08:25:25 +01:00
2011-09-19 07:39:19 -06:00
2011-09-20 08:25:25 +01:00
2012-05-11 12:39:43 +02:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2012-04-23 16:17:39 -07:00
2008-03-10 16:03:29 -07:00
2008-03-10 16:03:29 -07:00
2012-03-16 17:01:46 -07:00
2012-05-07 07:30:04 -06:00
2011-09-19 07:39:19 -06:00
2012-01-20 15:54:08 -05:00
2008-02-19 14:06:11 +09:00
2008-02-19 14:06:11 +09:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-07-14 17:35:05 +01:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-07-14 17:35:05 +01:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2010-04-10 16:05:54 +01:00
2012-02-29 11:52:40 -08:00
2012-01-20 15:54:08 -05:00
2012-01-21 22:43:54 -05:00
2008-10-01 10:25:41 +09:00
2012-01-20 15:54:08 -05:00
2012-01-20 15:54:08 -05:00
2011-10-04 11:19:48 -07:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-08-15 13:37:09 -07:00
2011-10-04 11:19:48 -07:00
2009-12-18 11:17:06 -07:00
2012-02-29 11:52:40 -08:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-20 08:25:25 +01:00
2011-07-14 17:35:05 +01:00
2007-09-28 18:18:50 +01:00
2008-02-19 14:06:11 +09:00
2011-09-19 07:39:19 -06:00
2008-10-01 10:25:41 +09:00
2008-02-19 14:06:11 +09:00
2009-05-01 12:51:01 -04:00
2007-09-28 18:18:50 +01:00
2011-09-20 08:25:25 +01:00
2007-09-28 18:18:50 +01:00
2011-09-20 08:25:25 +01:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00
2011-09-19 07:39:19 -06:00