i965: Pull query BO reallocation out into a helper function.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 27 Feb 2013 21:35:05 +0000 (13:35 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Mar 2013 06:09:04 +0000 (22:09 -0800)
commitcf0c0a778273d6ada00e9bb8ee15938f3595bd7b
tree27ef962140b364f72517f6ad04358e782003c091
parent961c9b8cac6c438b74d8328a5e8c61215a16ea40
i965: Pull query BO reallocation out into a helper function.

We'll want to reuse this for non-occlusion queries in the future.

Plus, it's a single logical task, so having it as a helper function
clarifies the code somewhat.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_queryobj.c