i965: Stop making a pointless region for DRI2 to just throw it away.
authorEric Anholt <eric@anholt.net>
Fri, 25 Apr 2014 19:38:01 +0000 (12:38 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 1 May 2014 22:12:26 +0000 (15:12 -0700)
commitc0bf5a7eff6e556cf1ecfed213cf70d9f3bd676d
tree05a2023646dae46901711bbf74f2df853bb088e7
parent3a7a20752fb410075a26b4fa95de0a00e49742b1
i965: Stop making a pointless region for DRI2 to just throw it away.

I noticed that we were doing this while changing the DRI3 path to not use
regions, which involved changing the signature of
intel_update_winsys_renderbuffer_miptree() this way.

v2: Replace my comment with Chad's version.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> (v1)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h