diff options
Diffstat (limited to 'src/gbm/backends/dri/gbm_driint.h')
-rw-r--r-- | src/gbm/backends/dri/gbm_driint.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gbm/backends/dri/gbm_driint.h b/src/gbm/backends/dri/gbm_driint.h index f4043683f11..4b619a0e59e 100644 --- a/src/gbm/backends/dri/gbm_driint.h +++ b/src/gbm/backends/dri/gbm_driint.h @@ -30,6 +30,8 @@ #include "gbmint.h" +#include "libkms.h" + #include "common.h" #include "common_drm.h" @@ -41,6 +43,9 @@ struct gbm_dri_surface; struct gbm_dri_device { struct gbm_drm_device base; + /* Only used for cursors */ + struct kms_driver *kms; + void *driver; __DRIscreen *screen; @@ -72,6 +77,9 @@ struct gbm_dri_bo { struct gbm_drm_bo base; __DRIimage *image; + + /* Only used for cursors */ + struct kms_bo *bo; }; struct gbm_dri_surface { |