OSDN Git Service

i965: Prefer blorp glBlitFramebuffer() to the glCopyTexSubImage-based blit.
authorEric Anholt <eric@anholt.net>
Thu, 23 May 2013 23:43:58 +0000 (16:43 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 28 May 2013 19:40:35 +0000 (12:40 -0700)
commit48a22340cfdfe5a8d007f37ffbc39b60184c6187
tree09cf9a114a7abff66a9a7829e1430e56aaf79e99
parent9720d436d1b6a0f64d023daf243e56a6d5dee5df
i965: Prefer blorp glBlitFramebuffer() to the glCopyTexSubImage-based blit.

I think we've measured no performance difference from this in the past,
except that the blorp code can do things like multisample resolves.
Prevents piglit regression in the next commit when a testcase started
trying to do a multisampled resolve through the old glCopyTexSubImage()
path.

Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/intel/intel_fbo.c