i965: Only put external handles into the handle ht
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 Oct 2017 09:34:51 +0000 (10:34 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 16 Oct 2017 18:52:59 +0000 (11:52 -0700)
commit2c4097aff1b19134d5b03eef4118439336f15b97
tree3373955385d0666b774b05b2f69845939bcc7b5d
parentb05820621dcc4e45115dcc094c5c265448f095db
i965: Only put external handles into the handle ht

We know that we will only ever need to lookup an external handle and so
can defer adding a bo to the external ht until it is ever exported or
imported, keeping that hashtable compact.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_bufmgr.c