[Merge] lp:~unity-team/qtubuntu/screen-info-without-dpr into lp:qtubuntu

Daniel d'Andrada daniel.dandrada at canonical.com
Wed Apr 27 20:46:33 UTC 2016


> """
> UbuntuScreen::~UbuntuScreen()
> {
>     eglTerminate(mEglDisplay);
> }
> """
> 
> That definitely looks wrong and likely the cause of the issue I'm having. This
> should be called only on application termination, not when some screen goes
> away, as that will invalidate the display for the remaining screens.

So the proper place for calling eglInitialize() and eglTerminate() is in UbuntuClientIntegration::initialize() and UbuntuClientIntegration::~UbuntuClientIntegration() respectively.
-- 
https://code.launchpad.net/~unity-team/qtubuntu/screen-info-without-dpr/+merge/292410
Your team Ubuntu Phablet Team is subscribed to branch lp:qtubuntu.



More information about the Ubuntu-reviews mailing list