summaryrefslogtreecommitdiff
path: root/src/sna
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-20 10:57:40 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-20 10:57:40 +0100
commit1c0bb8c4c93a43e2932429a9f6c23d91f1be2060 (patch)
treeb29b98eac806fb0344104bc7ed392746802976a4 /src/sna
parentb238f64e8a53883cfe7c568e37ef18bbee77996e (diff)
sna/gen7: Keep using RENDER paths for large pixmaps
As the 3D pipeline is quite versatile and we only need to force BLT if we cannot extract the subregion. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r--src/sna/gen7_render.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index bea358ec..915e9281 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -2438,21 +2438,6 @@ try_blt(struct sna *sna,
return TRUE;
}
- if (too_large(dst->pDrawable->width, dst->pDrawable->height)) {
- DBG(("%s: dst too large for 3D pipe (%d, %d)\n",
- __FUNCTION__,
- dst->pDrawable->width, dst->pDrawable->height));
- return TRUE;
- }
-
- if (src->pDrawable &&
- too_large(src->pDrawable->width, src->pDrawable->height)) {
- DBG(("%s: src too large for 3D pipe (%d, %d)\n",
- __FUNCTION__,
- src->pDrawable->width, src->pDrawable->height));
- return TRUE;
- }
-
if (can_switch_rings(sna)) {
if (sna_picture_is_solid(src, NULL))
return TRUE;