diff options
-rw-r--r-- | src/gallium/targets/egl-static/egl_pipe.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/egl_pipe.c b/src/gallium/targets/egl-static/egl_pipe.c index a61cde81ee8..1c369199674 100644 --- a/src/gallium/targets/egl-static/egl_pipe.c +++ b/src/gallium/targets/egl-static/egl_pipe.c @@ -29,27 +29,43 @@ #include "egl_pipe.h" /* for i915 */ +#if _EGL_PIPE_I915 #include "i915/drm/i915_drm_public.h" #include "i915/i915_public.h" #include "target-helpers/inline_wrapper_sw_helper.h" +#endif /* for ilo */ +#if _EGL_PIPE_ILO #include "intel/intel_winsys.h" #include "ilo/ilo_public.h" +#endif /* for nouveau */ +#if _EGL_PIPE_NOUVEAU #include "nouveau/drm/nouveau_drm_public.h" +#endif /* for r300 */ +#if _EGL_PIPE_R300 #include "radeon/drm/radeon_winsys.h" #include "radeon/drm/radeon_drm_public.h" #include "r300/r300_public.h" +#endif /* for r600 */ +#if _EGL_PIPE_R600 #include "r600/r600_public.h" +#endif /* for radeonsi */ +#if _EGL_PIPE_RADEONSI #include "radeonsi/si_public.h" +#endif /* for vmwgfx */ +#if _EGL_PIPE_VMWGFX #include "svga/drm/svga_drm_public.h" #include "svga/svga_public.h" +#endif /* for freedreno */ +#if _EGL_PIPE_FREEDRENO #include "freedreno/drm/freedreno_drm_public.h" +#endif static struct pipe_screen * pipe_i915_create_screen(int fd) |