radeon_ms: add sarea & install header

main
Jerome Glisse 2007-12-19 18:27:38 +01:00
parent 629231c626
commit d8c94a84b7
2 changed files with 9 additions and 0 deletions

View File

@ -32,6 +32,7 @@ klibdrminclude_HEADERS = \
nouveau_drm.h \ nouveau_drm.h \
r128_drm.h \ r128_drm.h \
radeon_drm.h \ radeon_drm.h \
radeon_ms_drm.h \
savage_drm.h \ savage_drm.h \
sis_drm.h \ sis_drm.h \
via_drm.h \ via_drm.h \

View File

@ -57,4 +57,12 @@ struct drm_radeon_execbuffer {
struct drm_fence_arg fence_arg; 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 #endif