mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
iris: Free intel_perf_config and intel_perf_context
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29077>
This commit is contained in:
parent
137021fbe0
commit
eb97d813c2
2 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include "util/format/u_format.h"
|
||||
#include "util/u_upload_mgr.h"
|
||||
#include "iris_context.h"
|
||||
#include "iris_perf.h"
|
||||
#include "iris_resource.h"
|
||||
#include "iris_screen.h"
|
||||
#include "iris_utrace.h"
|
||||
|
|
@ -218,6 +219,7 @@ iris_destroy_context(struct pipe_context *ctx)
|
|||
|
||||
blorp_finish(&ice->blorp);
|
||||
|
||||
intel_perf_free_context(ice->perf_ctx);
|
||||
if (ctx->stream_uploader)
|
||||
u_upload_destroy(ctx->stream_uploader);
|
||||
if (ctx->const_uploader)
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
#include "iris_context.h"
|
||||
#include "iris_defines.h"
|
||||
#include "iris_fence.h"
|
||||
#include "iris_perf.h"
|
||||
#include "iris_pipe.h"
|
||||
#include "iris_resource.h"
|
||||
#include "iris_screen.h"
|
||||
|
|
@ -662,6 +663,7 @@ iris_get_timestamp(struct pipe_screen *pscreen)
|
|||
void
|
||||
iris_screen_destroy(struct iris_screen *screen)
|
||||
{
|
||||
intel_perf_free(screen->perf_cfg);
|
||||
iris_destroy_screen_measure(screen);
|
||||
util_queue_destroy(&screen->shader_compiler_queue);
|
||||
glsl_type_singleton_decref();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue