svga: only count hardware buffer mappings for HUD
authorBrian Paul <brianp@vmware.com>
Tue, 13 Oct 2015 00:40:27 +0000 (18:40 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 16 Oct 2015 17:44:00 +0000 (11:44 -0600)
commitefe37519b0cb0cadea57455d1d2457af09e2e7dd
tree3593554c7037084bfd3ee51f6a8acc23301830b2
parent9bc7e3105aeadbe360ca9f060c50a181d3fa7a3d
svga: only count hardware buffer mappings for HUD

Don't count client memory buffer mappings since they're basically free.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_resource_buffer.c
src/gallium/drivers/svga/svga_resource_buffer.h