glcontext: pass display to implentation's _new()
authorMatthew Waters <matthew@centricular.com>
Fri, 24 Jul 2015 06:11:38 +0000 (16:11 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:06 +0000 (19:32 +0000)
commit9587eb477d9ba51a334ad157a097fec16b430072
tree89f1026d841ece01a9ac916b3b38889393d726a8
parent738ed418adc76f490abce49dc7a8d7ec8417c2e0
glcontext: pass display to implentation's _new()

This allows the context to fail creation based on incompatible
display type's. e.g. glx context with an wayland display handle.

https://bugzilla.gnome.org/show_bug.cgi?id=752743
gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m
gst-libs/gst/gl/eagl/gstglcontext_eagl.h
gst-libs/gst/gl/eagl/gstglcontext_eagl.m
gst-libs/gst/gl/egl/gstglcontext_egl.c
gst-libs/gst/gl/egl/gstglcontext_egl.h
gst-libs/gst/gl/gstglcontext.c
gst-libs/gst/gl/win32/gstglcontext_wgl.c
gst-libs/gst/gl/x11/gstglcontext_glx.c
gst-libs/gst/gl/x11/gstglcontext_glx.h