From: Jerome Glisse Date: Wed, 19 Dec 2007 17:27:38 +0000 (+0100) Subject: radeon_ms: add sarea & install header X-Git-Tag: submit/1.0/20121108.012404~642^2~318 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8c94a84b7f8da5fdf32a0799eaac72a1fc3007d;p=profile%2Fivi%2Flibdrm.git radeon_ms: add sarea & install header --- diff --git a/shared-core/Makefile.am b/shared-core/Makefile.am index 7193e52..42e08e7 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 842d533..7186030 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