-
Committer:
Tarmac
-
Author(s):
Cemil Azizoglu
-
Date:
2016-10-11 10:28:10 UTC
-
mfrom:
(3699.3.6 mir-dev)
-
Revision ID:
tarmac-20161011102810-ue4e6mniqxjecgtj
Currently, in order to create an egl native window, we need an EGLNativeSurface*. I.e.
virtual std::shared_ptr<void> create_egl_native_window(EGLNativeSurface* surface) = 0;
Sometimes, as in the case of 'render surfaces', we do not have a native surface at the time when we want to create the native window. In that case, we should still be able to create it without one (i.e. with a nullptr), and "install" the native surface later, before it's needed. This is what this MP does.
Approved by mir-ci-bot, Chris Halse Rogers.