diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-09-20 16:26:36 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-09-20 16:26:36 -0400 |
commit | 6520293e1e1f57bafbcf99592e766f810ce3ad2d (patch) | |
tree | 2b1d01a62f35b92aa5be6be7421b707cc04aa1f3 /src | |
parent | 7f0b820d919eb944eae201de03b186bd247b0324 (diff) |
Make the checks for composite and a8 return FALSE for Xspice
They depend on the PCI revision which is not available for Xspice.
Diffstat (limited to 'src')
-rw-r--r-- | src/qxl_driver.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c index 531c761..f52fec6 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -1385,17 +1385,27 @@ can_accelerate_picture (PicturePtr pict) static Bool qxl_has_composite (qxl_screen_t *qxl) { +#ifndef XSPICE return qxl->pci->revision >= 4 && QXL_HAS_CAP (qxl, SPICE_DISPLAY_CAP_COMPOSITE); +#else + /* FIXME */ + return FALSE; +#endif } static Bool qxl_has_a8_surfaces (qxl_screen_t *qxl) { +#ifndef XSPICE return qxl->pci->revision >= 4 && QXL_HAS_CAP (qxl, SPICE_DISPLAY_CAP_A8_SURFACE); +#else + /* FIXME */ + return FALSE; +#endif } static Bool |