[vlc-devel] [PATCH 1/4] vlc_opengl: expose vlc_gl_api_type

Thomas Guillem thomas at gllm.fr
Thu Jan 28 12:13:39 UTC 2021


Patch set LGTM.

On Thu, Jan 28, 2021, at 12:11, Alexandre Janniaux wrote:
> It will be used to determine whether we should use OpenGL or OpenGL ES
> during the runtime.
> ---
>  include/vlc_opengl.h | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/include/vlc_opengl.h b/include/vlc_opengl.h
> index 79e165e72b..ffb81a651d 100644
> --- a/include/vlc_opengl.h
> +++ b/include/vlc_opengl.h
> @@ -38,6 +38,11 @@ struct vout_display_cfg;
>   */
>  typedef struct vlc_gl_t vlc_gl_t;
>  
> +enum vlc_gl_api_type {
> +    VLC_OPENGL,
> +    VLC_OPENGL_ES2,
> +};
> +
>  struct vlc_gl_t
>  {
>      struct vlc_object_t obj;
> @@ -77,11 +82,7 @@ struct vlc_gl_t
>              const char *(*getExtensionsString)(vlc_gl_t *);
>          } wgl;
>      };
> -};
>  
> -enum {
> -    VLC_OPENGL,
> -    VLC_OPENGL_ES2,
>  };
>  
>  /**
> -- 
> 2.30.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list