GNOME Bugzilla – Bug 739608
gl/ios: Create a GL subview internally
Last modified: 2018-11-03 11:32:07 UTC
Currently we require the application to provide us with a UIView that has a CEAGLLayer as its layer. This is not very obvious to users and we really don't have to require that. The alternative would be to do the same we do on OSX already: create a UIView with a CEAGLLayer as layer internally, and then add it as a subview to the UIView that is passed by the application. This change should also be backwards compatible.
It has to be UIView-based, it doesn't necessarily have to be a UIView. It is perhaps good to document this approach but it is also perfectly OK to use a GLKView I believe: https://developer.apple.com/library/ios/documentation/glkit/reference/glkview_classreference/index.html
True, but ideally we wouldn't care about what kind of UIView it is and just add an appropriate subview to whatever UIView the application passes to us :)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/139.