diff options
author | Emil Velikov <[email protected]> | 2014-06-16 23:51:12 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-07-10 01:06:48 +0100 |
commit | 3591acacf9579033aeaf3ccade59ad02288236e9 (patch) | |
tree | 3f474f1a9d46a3a7f5d11e5ea58527329b5d301c /src/gallium/auxiliary/target-helpers | |
parent | f48b06f89d62e4b7db3048a778d409f05d3dfc7b (diff) |
targets/dri: Add __driDriverGetExtensions_i915 symbol
Identical to previous commits - will bring us a step closer
to megadrivers.
Cc: Stephane Marchesin <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Tested-by: Rob Clark <[email protected]>
Tested-by: Thomas Helland <thomashelland90 at gmail.com>
Acked-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/target-helpers')
-rw-r--r-- | src/gallium/auxiliary/target-helpers/inline_drm_helper.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h index 6c9f15a830e..48753a63f9d 100644 --- a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h +++ b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h @@ -51,6 +51,18 @@ static char* driver_name = NULL; /* XXX: We need to teardown the winsys if *screen_create() fails. */ #if defined(GALLIUM_I915) +#if defined(DRI_TARGET) +#include "dri_screen.h" + +const __DRIextension **__driDriverGetExtensions_i915(void); + +PUBLIC const __DRIextension **__driDriverGetExtensions_i915(void) +{ + globalDriverAPI = &galliumdrm_driver_api; + return galliumdrm_driver_extensions; +} +#endif + static struct pipe_screen * pipe_i915_create_screen(int fd) { |