diff options
author | Jerome Glisse <glisse@freedesktop.org> | 2007-12-19 18:27:38 +0100 |
---|---|---|
committer | Jerome Glisse <glisse@freedesktop.org> | 2007-12-19 18:27:38 +0100 |
commit | d8c94a84b7f8da5fdf32a0799eaac72a1fc3007d (patch) | |
tree | d5b2f362b9d4990974c6db52237d6c2d5d9d9ac0 /shared-core | |
parent | 629231c62675fe09f4eb948861a21980a9b79a5a (diff) |
radeon_ms: add sarea & install header
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/Makefile.am | 1 | ||||
-rw-r--r-- | shared-core/radeon_ms_drm.h | 8 |
2 files changed, 9 insertions, 0 deletions
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 |