gl: fix some GIR annotations

Mostly related to out and array parameters
diff --git a/gst-libs/gst/gl/gstgldisplay.c b/gst-libs/gst/gl/gstgldisplay.c
index f272571..e108073 100644
--- a/gst-libs/gst/gl/gstgldisplay.c
+++ b/gst-libs/gst/gl/gstgldisplay.c
@@ -465,7 +465,7 @@
 /**
  * gst_context_get_gl_display:
  * @context: a #GstContext
- * @display: (transfer full): resulting #GstGLDisplay
+ * @display: (out) (transfer full): resulting #GstGLDisplay
  *
  * Returns: Whether @display was in @context
  *
diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c
index 76d7034..30d5f5e 100644
--- a/gst-libs/gst/gl/gstglmemory.c
+++ b/gst-libs/gst/gl/gstglmemory.c
@@ -1425,8 +1425,10 @@
  * @allocator: the @GstGLMemoryAllocator to allocate from
  * @buffer: a #GstBuffer to setup
  * @params: the #GstGLVideoAllocationParams to allocate with
- * @tex_formats: (allow-none): a list of #GstGLFormat's to allocate with.
- * @wrapped_data: a list of wrapped data pointers
+ * @tex_formats: (allow-none) (array length=n_wrapped_pointers):
+ *     a list of #GstGLFormat's to allocate with.
+ * @wrapped_data: (array length=n_wrapped_pointers) (element-type gpointer):
+ *     a list of wrapped data pointers
  * @n_wrapped_pointers: the number of elements in @tex_formats and @wrapped_data
  *
  * Returns: whether the buffer was correctly setup
diff --git a/gst-libs/gst/gl/gstglslstage.c b/gst-libs/gst/gl/gstglslstage.c
index 0205f38..4e7374c 100644
--- a/gst-libs/gst/gl/gstglslstage.c
+++ b/gst-libs/gst/gl/gstglslstage.c
@@ -195,7 +195,8 @@
  * @version: the #GstGLSLVersion
  * @profile: the #GstGLSLProfile
  * @n_strings: the number of strings in @str
- * @str: an array of strings concatted together to produce a shader
+ * @str: (array length=n_strings):
+ *     an array of strings concatted together to produce a shader
  *
  * Returns: (transfer floating): a new #GstGLSLStage of the specified @type
  *
@@ -304,7 +305,7 @@
  * @version: a #GstGLSLVersion
  * @profile: a #GstGLSLProfile
  * @n_strings: number of strings in @str
- * @str: (transfer none): a GLSL shader string
+ * @str: (array length=n_strings) (transfer none): a GLSL shader string
  *
  * Replaces the current shader string with @str.
  *
diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c
index 5390cdf..fa4884a 100644
--- a/gst-libs/gst/gl/gstglupload.c
+++ b/gst-libs/gst/gl/gstglupload.c
@@ -1784,7 +1784,7 @@
  * gst_gl_upload_perform_with_buffer:
  * @upload: a #GstGLUpload
  * @buffer: input #GstBuffer
- * @outbuf_ptr: resulting #GstBuffer
+ * @outbuf_ptr: (out): resulting #GstBuffer
  *
  * Uploads @buffer using the transformation specified by
  * gst_gl_upload_set_caps() creating a new #GstBuffer in @outbuf_ptr.