From d8c94a84b7f8da5fdf32a0799eaac72a1fc3007d Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Wed, 19 Dec 2007 18:27:38 +0100 Subject: [PATCH] radeon_ms: add sarea & install header --- shared-core/Makefile.am | 1 + shared-core/radeon_ms_drm.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/shared-core/Makefile.am b/shared-core/Makefile.am index 7193e527..42e08e75 100644 --- a/shared-core/Makefile.am +++ b/shared-core/Makefile.am @@ -32,6 +32,7 @@ klibdrminclude_HEADERS = \ nouveau_drm.h \ r128_drm.h \ radeon_drm.h \ + radeon_ms_drm.h \ savage_drm.h \ sis_drm.h \ via_drm.h \ diff --git a/shared-core/radeon_ms_drm.h b/shared-core/radeon_ms_drm.h index 842d5331..7186030c 100644 --- a/shared-core/radeon_ms_drm.h +++ b/shared-core/radeon_ms_drm.h @@ -57,4 +57,12 @@ struct drm_radeon_execbuffer { struct drm_fence_arg fence_arg; }; +#define RADEON_MS_MAX_SAREA_CLIPRECTS 16 + +struct drm_radeon_ms_sarea { + /* the cliprects */ + struct drm_clip_rect boxes[RADEON_MS_MAX_SAREA_CLIPRECTS]; + unsigned int nbox; +}; + #endif