aboutsummaryrefslogtreecommitdiff
path: root/linux/mga_drm.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2000-12-30 23:28:53 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2000-12-30 23:28:53 +0000
commitc7c6156aecdee2838dd0e193a3d529ecbb797ae7 (patch)
tree1150ba14a500c5329f8e3f1156c1776afa95b4c7 /linux/mga_drm.h
parentb19c44e4fe01db3efe72e6a130bbd49af151ee95 (diff)
add blit ioctl, fix plnwt handling
Diffstat (limited to 'linux/mga_drm.h')
-rw-r--r--linux/mga_drm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/mga_drm.h b/linux/mga_drm.h
index 52cf7766..53813393 100644
--- a/linux/mga_drm.h
+++ b/linux/mga_drm.h
@@ -271,4 +271,14 @@ typedef struct _drm_mga_indices {
int discard; /* client finished with buffer? */
} drm_mga_indices_t;
+typedef struct _drm_mga_blit {
+ unsigned int planemask;
+ unsigned int source;
+ unsigned int dest;
+ int delta_sx, delta_sy;
+ int delta_dx, delta_dy;
+ int height, ydir; /* flip image vertically */
+ int source_pitch, dest_pitch;
+} drm_mga_blit_t;
+
#endif