summaryrefslogtreecommitdiff
path: root/uxa/uxa-accel.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-12-28 13:57:09 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-28 13:57:09 +0000
commita5583165da0d2ae5eb1e5a2e11ee6e245d4b5aa4 (patch)
tree1ccce41d9bdaf5fb57e59de541bb5e7e67e14927 /uxa/uxa-accel.c
parent337635ab97bbfc9b4455eadb63214783bb90bb2b (diff)
uxa: Remove concept of global FB ownership made obsolete by GEM and KMS
With the introduction of GEM, we can continue to submit batch buffers irrespective of ownership of the console, so do so. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa/uxa-accel.c')
-rw-r--r--uxa/uxa-accel.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/uxa/uxa-accel.c b/uxa/uxa-accel.c
index 00948b78..53ff24cf 100644
--- a/uxa/uxa-accel.c
+++ b/uxa/uxa-accel.c
@@ -65,7 +65,7 @@ uxa_fill_spans(DrawablePtr pDrawable, GCPtr pGC, int n,
return;
}
- if (uxa_screen->swappedOut || uxa_screen->force_fallback)
+ if (uxa_screen->force_fallback)
goto fallback;
if (pGC->fillStyle != FillSolid)
@@ -133,7 +133,7 @@ uxa_do_put_image(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y,
if (format != ZPixmap || bpp < 8)
return FALSE;
- if (uxa_screen->swappedOut || uxa_screen->force_fallback)
+ if (uxa_screen->force_fallback)
return FALSE;
if (!uxa_screen->info->put_image)
@@ -392,7 +392,7 @@ uxa_copy_n_to_n(DrawablePtr pSrcDrawable,
return;
}
- if (uxa_screen->swappedOut || uxa_screen->force_fallback)
+ if (uxa_screen->force_fallback)
goto fallback;
pSrcPixmap = uxa_get_drawable_pixmap(pSrcDrawable);
@@ -541,7 +541,7 @@ uxa_copy_area(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, GCPtr pGC,
{
uxa_screen_t *uxa_screen = uxa_get_screen(pDstDrawable->pScreen);
- if (uxa_screen->swappedOut || uxa_screen->force_fallback) {
+ if (uxa_screen->force_fallback) {
return uxa_check_copy_area(pSrcDrawable, pDstDrawable, pGC,
srcx, srcy, width, height, dstx,
dsty);
@@ -742,7 +742,7 @@ uxa_poly_fill_rect(DrawablePtr pDrawable,
if (!REGION_NUM_RECTS(pReg))
goto out;
- if (uxa_screen->swappedOut || uxa_screen->force_fallback)
+ if (uxa_screen->force_fallback)
goto fallback;
pPixmap = uxa_get_offscreen_pixmap (pDrawable, &xoff, &yoff);
@@ -1108,7 +1108,7 @@ uxa_get_image(DrawablePtr pDrawable, int x, int y, int w, int h,
return;
}
- if (uxa_screen->swappedOut || uxa_screen->force_fallback)
+ if (uxa_screen->force_fallback)
goto fallback;
pPix = uxa_get_offscreen_pixmap(pDrawable, &xoff, &yoff);