diff options
author | Axel Davy <[email protected]> | 2015-05-01 11:11:20 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-05-11 19:31:44 +0200 |
commit | cdcfe48fb0431184fabb40aa5a244d086f551df5 (patch) | |
tree | 20c02a6164ff7f1487c0d9e1e4a7f9514decb5ec /src/egl/drivers/dri2/egl_dri2.h | |
parent | cd25e52f6bb5279cd7b1992e5907df3966b900ce (diff) |
egl/wayland: Implement swrast support
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index cabeb2dfdc6..adade3db9cc 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -196,6 +196,7 @@ struct dri2_egl_display struct wl_registry *wl_registry; struct wl_drm *wl_server_drm; struct wl_drm *wl_drm; + struct wl_shm *wl_shm; struct wl_event_queue *wl_queue; int authenticated; int formats; @@ -257,6 +258,9 @@ struct dri2_egl_surface __DRIimage *dri_image; /* for is_different_gpu case. NULL else */ __DRIimage *linear_copy; + /* for swrast */ + void *data; + int data_size; #endif #ifdef HAVE_DRM_PLATFORM struct gbm_bo *bo; |