diff options
Diffstat (limited to 'src/uxa/intel_dri3.c')
-rw-r--r-- | src/uxa/intel_dri3.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/uxa/intel_dri3.c b/src/uxa/intel_dri3.c index 2dd2b55f..6cb23bbf 100644 --- a/src/uxa/intel_dri3.c +++ b/src/uxa/intel_dri3.c @@ -33,7 +33,6 @@ #include "intel_uxa.h" #endif #include "dri3.h" -#include "intel_glamor.h" static int intel_dri3_open(ScreenPtr screen, @@ -66,10 +65,6 @@ static PixmapPtr intel_dri3_pixmap_from_fd(ScreenPtr screen, PixmapPtr pixmap; dri_bo *bo; - pixmap = intel_glamor_pixmap_from_fd(screen, fd, width, height, stride, depth, bpp); - if (pixmap) - return pixmap; - if (depth < 8) return NULL; @@ -118,10 +113,6 @@ static int intel_dri3_fd_from_pixmap(ScreenPtr screen, struct intel_uxa_pixmap *priv; int fd; - fd = intel_glamor_fd_from_pixmap(screen, pixmap, stride, size); - if (fd >= 0) - return fd; - priv = intel_uxa_get_pixmap_private(pixmap); if (!priv) return -1; |