summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-12-07 18:38:03 -0700
committerBrian Paul <[email protected]>2015-12-09 09:43:47 -0700
commitab0651ccfd8c8c4bca26a106225e188fe965d8d0 (patch)
tree3e781c4c6be78f0aa9353c956e47649da7531d44 /src/gallium/drivers/svga
parent7d3df58125671bef354f97577c3b50f5b858a42d (diff)
mesa: detect inefficient buffer use and report through debug output
When a buffer is created with GL_STATIC_DRAW, its contents should not be changed frequently. But that's exactly what one application I'm debugging does. This patch adds code to try to detect inefficient buffer use in a couple places. The GL_ARB_debug_output mechanism is used to report the issue. NVIDIA's driver detects these sort of things too. Other types of inefficient buffer use could also be detected in the future. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
0 files changed, 0 insertions, 0 deletions