diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-04-22 21:21:24 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-04-30 11:47:27 +0100 |
commit | 734522aceeb5120de28a081d997ef705d9137d73 (patch) | |
tree | fc5f15569e7878928508459d2703e7102bf132cb /src/gallium/targets/xorg-vmwgfx/vmw_driver.h | |
parent | f67b020a942911f80b7b774c6d64701d1981c608 (diff) |
xorg-vmwgfx: Add vmwctrl proto
Diffstat (limited to 'src/gallium/targets/xorg-vmwgfx/vmw_driver.h')
-rw-r--r-- | src/gallium/targets/xorg-vmwgfx/vmw_driver.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/targets/xorg-vmwgfx/vmw_driver.h b/src/gallium/targets/xorg-vmwgfx/vmw_driver.h index ba754b51e4..d6e3620cd3 100644 --- a/src/gallium/targets/xorg-vmwgfx/vmw_driver.h +++ b/src/gallium/targets/xorg-vmwgfx/vmw_driver.h @@ -40,6 +40,14 @@ struct vmw_dma_buffer; +struct vmw_rect +{ + int32_t x; + int32_t y; + uint32_t w; + uint32_t h; +}; + struct vmw_customizer { CustomizerRec base; @@ -59,6 +67,12 @@ vmw_customizer(CustomizerPtr cust) return cust ? (struct vmw_customizer *) cust : NULL; } +/*********************************************************************** + * vmw_ctrl.c + */ + +void vmw_ctrl_ext_init(struct vmw_customizer *vmw); + /*********************************************************************** * vmw_video.c @@ -99,5 +113,7 @@ int vmw_ioctl_unref_stream(struct vmw_customizer *vmw, uint32_t stream_id); int vmw_ioctl_claim_stream(struct vmw_customizer *vmw, uint32_t *out); +int vmw_ioctl_update_layout(struct vmw_customizer *vmw, uint32_t num, struct vmw_rect *rects); + #endif |