[mutter/tintou/annotation-additions: 1/4] cogl/context: Add transfer full annotation to destroy timestamp query
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/tintou/annotation-additions: 1/4] cogl/context: Add transfer full annotation to destroy timestamp query
- Date: Tue, 5 Apr 2022 10:47:40 +0000 (UTC)
commit 279eb69e7140604c43bd55e3d49539cc4906de68
Author: Corentin Noël <corentin noel collabora com>
Date: Tue Apr 5 12:40:12 2022 +0200
cogl/context: Add transfer full annotation to destroy timestamp query
cogl/cogl/cogl-context.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/cogl/cogl/cogl-context.c b/cogl/cogl/cogl-context.c
index 276617554f..1f2ebed637 100644
--- a/cogl/cogl/cogl-context.c
+++ b/cogl/cogl/cogl-context.c
@@ -501,6 +501,13 @@ cogl_context_get_named_pipeline (CoglContext *context,
return g_hash_table_lookup (context->named_pipelines, key);
}
+/**
+ * cogl_context_free_timestamp_query:
+ * @context: a #CoglContext object
+ * @query: (transfer full): the #CoglTimestampQuery to free
+ *
+ * Free the #CoglTimestampQuery
+ */
void
cogl_context_free_timestamp_query (CoglContext *context,
CoglTimestampQuery *query)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]