svga: Prefer accelerated blits over cpu copy region
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 27 Apr 2017 06:58:47 +0000 (23:58 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 16 Jun 2017 06:40:26 +0000 (08:40 +0200)
commit14f888a2ba506a66754fcdfc7b050bdedf15ac7c
treeb1c9f75e339e7cbac95a8265b670bf12405b2ccc
parent4c3e8f141b6a7e82d91e64b87c0b63f2b12cc437
svga: Prefer accelerated blits over cpu copy region

This reduces the number of cpu copy_region fallbacks on a Nvidia system
running the piglit command

./publish/bin/piglit run  -1 -t copy -t blit tests/quick

from 64789 to 780

Previously this has caused a regression in piglit test
spec@!opengl 1.0@gl-1.0-scissor-copypixels, but I'm currently not able to
reproduce that regression.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_blit.c