diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2013-11-29 05:52:27 -0500 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-12-04 06:20:36 -0800 |
commit | 267679be84de5bc9d2bd0fccb1712bc5cddb6be7 (patch) | |
tree | 424c0749c5879f0e8fb79138abf10075e8fbdf89 /src/mesa/main/performance_monitor.h | |
parent | c45cf6199fc493538cef33125c8a97a892e2ca83 (diff) | |
download | external_mesa3d-267679be84de5bc9d2bd0fccb1712bc5cddb6be7.zip external_mesa3d-267679be84de5bc9d2bd0fccb1712bc5cddb6be7.tar.gz external_mesa3d-267679be84de5bc9d2bd0fccb1712bc5cddb6be7.tar.bz2 |
mesa: don't leak performance monitors on context destroy
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/mesa/main/performance_monitor.h')
-rw-r--r-- | src/mesa/main/performance_monitor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/performance_monitor.h b/src/mesa/main/performance_monitor.h index a852a41..76234e5 100644 --- a/src/mesa/main/performance_monitor.h +++ b/src/mesa/main/performance_monitor.h @@ -35,6 +35,9 @@ extern void _mesa_init_performance_monitors(struct gl_context *ctx); +extern void +_mesa_free_performance_monitors(struct gl_context *ctx); + extern void GLAPIENTRY _mesa_GetPerfMonitorGroupsAMD(GLint *numGroups, GLsizei groupsSize, GLuint *groups); |