summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-12-06 09:53:16 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2011-12-06 18:22:55 +0100
commit2c438ad8b82f47ac3252403052df16655184acbd (patch)
treeb19ac1b0e2be79ec38014b6f42c028e932a70faf /src
parent1736a76246f0a0dab01f5a1066332168d34b2803 (diff)
vmwgfx: Add an option to enable rendercheck mode
Rendercheck mode is used to enable acceleration of all supported composite operations, regardless of the current data location. The mode is off by default, but could be turned on to test the hardware composite operation implementation. Due to excessive data migration, rendercheck mode will be slow. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'src')
-rw-r--r--src/vmware_bootstrap.c1
-rw-r--r--src/vmware_bootstrap.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/vmware_bootstrap.c b/src/vmware_bootstrap.c
index 92eb3c5..522fec0 100644
--- a/src/vmware_bootstrap.c
+++ b/src/vmware_bootstrap.c
@@ -191,6 +191,7 @@ static const OptionInfoRec VMWAREOptions[] = {
{ OPTION_DRI, "DRI", OPTV_BOOLEAN, {0}, FALSE},
{ OPTION_DIRECT_PRESENTS, "DirectPresents", OPTV_BOOLEAN, {0}, FALSE},
{ OPTION_HW_PRESENTS, "HWPresents", OPTV_BOOLEAN, {0}, FALSE},
+ { OPTION_RENDERCHECK, "RenderCheck", OPTV_BOOLEAN, {0}, FALSE},
{ -1, NULL, OPTV_NONE, {0}, FALSE }
};
diff --git a/src/vmware_bootstrap.h b/src/vmware_bootstrap.h
index 1a1ee9e..172deb8 100644
--- a/src/vmware_bootstrap.h
+++ b/src/vmware_bootstrap.h
@@ -40,7 +40,8 @@ typedef enum {
OPTION_RENDER_ACCEL,
OPTION_DRI,
OPTION_DIRECT_PRESENTS,
- OPTION_HW_PRESENTS
+ OPTION_HW_PRESENTS,
+ OPTION_RENDERCHECK
} VMWAREOpts;
OptionInfoPtr VMWARECopyOptions(void);