diff options
author | Thomas Hellstrom <[email protected]> | 2011-10-12 10:29:24 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-10-14 09:53:05 +0200 |
commit | ec7d5b8c021f655d49df4ba1ed2038ee423f9d5e (patch) | |
tree | 26b5dac14cdc8160585b2cebf780c41d09726242 /src/gallium/targets/gbm | |
parent | 5a6ca7e9f24939cfacf2e8cd163a4efa9550ce1f (diff) |
drm_driver: Add a configuration function to the driver descriptor.
Adds a possibility for the state tracker manager to query the
target for a specific configuration.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/targets/gbm')
-rw-r--r-- | src/gallium/targets/gbm/pipe_i915.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/gbm/pipe_i965.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/gbm/pipe_nouveau.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/gbm/pipe_r300.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/gbm/pipe_r600.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/gbm/pipe_swrast.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/gbm/pipe_vmwgfx.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/targets/gbm/pipe_i915.c b/src/gallium/targets/gbm/pipe_i915.c index cd74044d8c1..85662cb85b5 100644 --- a/src/gallium/targets/gbm/pipe_i915.c +++ b/src/gallium/targets/gbm/pipe_i915.c @@ -24,4 +24,4 @@ create_screen(int fd) } PUBLIC -DRM_DRIVER_DESCRIPTOR("i915", "i915", create_screen) +DRM_DRIVER_DESCRIPTOR("i915", "i915", create_screen, NULL) diff --git a/src/gallium/targets/gbm/pipe_i965.c b/src/gallium/targets/gbm/pipe_i965.c index f810ecffb0a..1eece9ce4b4 100644 --- a/src/gallium/targets/gbm/pipe_i965.c +++ b/src/gallium/targets/gbm/pipe_i965.c @@ -27,4 +27,4 @@ create_screen(int fd) } PUBLIC -DRM_DRIVER_DESCRIPTOR("i965", "i965", create_screen) +DRM_DRIVER_DESCRIPTOR("i965", "i965", create_screen, NULL) diff --git a/src/gallium/targets/gbm/pipe_nouveau.c b/src/gallium/targets/gbm/pipe_nouveau.c index 0c9081bc713..65425e8d456 100644 --- a/src/gallium/targets/gbm/pipe_nouveau.c +++ b/src/gallium/targets/gbm/pipe_nouveau.c @@ -18,4 +18,4 @@ create_screen(int fd) } PUBLIC -DRM_DRIVER_DESCRIPTOR("nouveau", "nouveau", create_screen) +DRM_DRIVER_DESCRIPTOR("nouveau", "nouveau", create_screen, NULL) diff --git a/src/gallium/targets/gbm/pipe_r300.c b/src/gallium/targets/gbm/pipe_r300.c index 09940f0a194..055685996e6 100644 --- a/src/gallium/targets/gbm/pipe_r300.c +++ b/src/gallium/targets/gbm/pipe_r300.c @@ -24,4 +24,4 @@ create_screen(int fd) } PUBLIC -DRM_DRIVER_DESCRIPTOR("r300", "radeon", create_screen) +DRM_DRIVER_DESCRIPTOR("r300", "radeon", create_screen, NULL) diff --git a/src/gallium/targets/gbm/pipe_r600.c b/src/gallium/targets/gbm/pipe_r600.c index 9f61a51404a..5d89aca6ec3 100644 --- a/src/gallium/targets/gbm/pipe_r600.c +++ b/src/gallium/targets/gbm/pipe_r600.c @@ -23,4 +23,4 @@ create_screen(int fd) } PUBLIC -DRM_DRIVER_DESCRIPTOR("r600", "radeon", create_screen) +DRM_DRIVER_DESCRIPTOR("r600", "radeon", create_screen, NULL) diff --git a/src/gallium/targets/gbm/pipe_swrast.c b/src/gallium/targets/gbm/pipe_swrast.c index b2e3289c5d3..092abf07a52 100644 --- a/src/gallium/targets/gbm/pipe_swrast.c +++ b/src/gallium/targets/gbm/pipe_swrast.c @@ -7,7 +7,7 @@ PUBLIC struct pipe_screen * swrast_create_screen(struct sw_winsys *ws); PUBLIC -DRM_DRIVER_DESCRIPTOR("swrast", NULL, NULL) +DRM_DRIVER_DESCRIPTOR("swrast", NULL, NULL, NULL) struct pipe_screen * swrast_create_screen(struct sw_winsys *ws) diff --git a/src/gallium/targets/gbm/pipe_vmwgfx.c b/src/gallium/targets/gbm/pipe_vmwgfx.c index 22a28fa858a..bfe665be6eb 100644 --- a/src/gallium/targets/gbm/pipe_vmwgfx.c +++ b/src/gallium/targets/gbm/pipe_vmwgfx.c @@ -24,4 +24,4 @@ create_screen(int fd) } PUBLIC -DRM_DRIVER_DESCRIPTOR("vmwgfx", "vmwgfx", create_screen) +DRM_DRIVER_DESCRIPTOR("vmwgfx", "vmwgfx", create_screen, NULL) |