aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_resource_buffer.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-10-12 18:40:27 -0600
committerBrian Paul <[email protected]>2015-10-16 11:44:00 -0600
commitefe37519b0cb0cadea57455d1d2457af09e2e7dd (patch)
tree3593554c7037084bfd3ee51f6a8acc23301830b2 /src/gallium/drivers/svga/svga_resource_buffer.c
parent9bc7e3105aeadbe360ca9f060c50a181d3fa7a3d (diff)
svga: only count hardware buffer mappings for HUD
Don't count client memory buffer mappings since they're basically free. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource_buffer.c')
-rw-r--r--src/gallium/drivers/svga/svga_resource_buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer.c b/src/gallium/drivers/svga/svga_resource_buffer.c
index 6a8fff454e4..71f2f4f2779 100644
--- a/src/gallium/drivers/svga/svga_resource_buffer.c
+++ b/src/gallium/drivers/svga/svga_resource_buffer.c
@@ -247,7 +247,6 @@ svga_buffer_transfer_map(struct pipe_context *pipe,
}
svga->hud.map_buffer_time += (os_time_get() - begin);
- svga->hud.num_resources_mapped++;
return map;
}