vlc_opengl: refactor vlc_gl_t creation
authorFilip Roséen <filip@atch.se>
Mon, 19 Dec 2016 02:07:43 +0000 (03:07 +0100)
committerThomas Guillem <thomas@gllm.fr>
Mon, 19 Dec 2016 13:53:40 +0000 (14:53 +0100)
commit79b2187631f2786f46a8225b538f3ec7ae7d1c9e
tree57489d94150eb888d022fdf630f1b8b2b368d78e
parent10028ddeecc43506194a5a0b264beb8c55cdda5b
vlc_opengl: refactor vlc_gl_t creation

Given that there are places in the codebase that just require a
created object of type vlc_gl_t ("gl"), these changes split the object
creation into two functions:

 - vlc_gl_Create: a simple wrapper around vlc_custom_create
 - vlc_gl_ModuleCreate: creates a vlc_gl_t with an associated
                        module/surface.

refs #17795

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
include/vlc_opengl.h
modules/video_output/opengl/display.c
src/libvlccore.sym
src/video_output/opengl.c