diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-04 08:29:51 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-05 12:28:22 +0100 |
commit | 8369166349c92a20d9a2e7d0256e63f66fe2682b (patch) | |
tree | d8474a46e9b4fad974f36b1ddb0826d26555734b /src/sna/sna_render.c | |
parent | 08148896196443a8582c30b47ff546acca78d69c (diff) |
sna/dri2: Enable immediate buffer exchanges
The primary benefit of this is avoid the extra blit when using a
compositor and instead propagate the compositor flip on the frontbuffer
to the scanout, or equivalently allows a fullscreen game to flip onto
the scanout without intervention by TearFree.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r-- | src/sna/sna_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index bf170690..b03134d6 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -777,7 +777,7 @@ static int sna_render_picture_downsample(struct sna *sna, goto fixup; } - if (!sna_pixmap_force_to_gpu(pixmap, MOVE_SOURCE_HINT | MOVE_READ)) { + if (!sna_pixmap_move_to_gpu(pixmap, MOVE_SOURCE_HINT | MOVE_READ)) { fixup: DBG(("%s: unable to create GPU bo for target or temporary pixmaps\n", __FUNCTION__)); |