summaryrefslogtreecommitdiff
path: root/vmwgfx/vmwgfx_saa_priv.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-07-07 22:02:15 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2011-07-07 22:07:59 +0200
commiteea96a6f5ccc6a3a1e2bb2737f211076de443462 (patch)
tree973ac1e2b6e653814d11ef26529bdd6456849a2d /vmwgfx/vmwgfx_saa_priv.h
parent9cff0a84308723d9790c6365c0d4b1c107794995 (diff)
vmwgfx: Add boolean flags for different rendering modes
Basically we support three ways of getting data to the screen: 1) Mixed mode: We mix presents and updates. 2) Mixed present optimized: A version of mixed where copies to the front buffer end up as presents, saving a blit. 3) 3D surface mode: We only present from a 3D surface. Software contents are first DMA'd to that surface. This change adds boolean flags to the saa struct to select which mode to use. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'vmwgfx/vmwgfx_saa_priv.h')
-rw-r--r--vmwgfx/vmwgfx_saa_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vmwgfx/vmwgfx_saa_priv.h b/vmwgfx/vmwgfx_saa_priv.h
index 5080047..b48ef18 100644
--- a/vmwgfx/vmwgfx_saa_priv.h
+++ b/vmwgfx/vmwgfx_saa_priv.h
@@ -51,6 +51,8 @@ struct vmwgfx_saa {
RegionRec present_region;
uint32_t src_handle;
Bool can_optimize_dma;
+ Bool use_present_opt;
+ Bool only_hw_presents;
void (*present_flush) (ScreenPtr pScreen);
struct _WsbmListHead sync_x_list;
struct vmwgfx_composite *vcomp;