← Back to team overview

ubuntu-phone team mailing list archive

Re: Qt 5.2 - Events are queued when rendering blocked

 

On Wed, Mar 26, 2014 at 8:51 AM, Alberto Mardegan
<alberto.mardegan@xxxxxxxxxxxxx> wrote:
> On 03/26/2014 09:33 AM, Thomas Voß wrote:
>> Hmmm, I think our lifecycle policy never stated that an application is
>> even running when the screen is off.
>
> When Mir will be used on the desktop as session compositor, will we
> enforce the same policy to all application?

The desktop will certainly feature a different type of lifecycle
policy as far as I can foresee it now.
A related topic, though, is the handling of EGL_CONTEXT_LOST, which is
briefly touched in the bug report.
Qt does not handle that error mode, yet, but in conversations with
sletta, he mentioned that they will start looking into it.

> I'm worried about what will
> happen to Qt applications not explicitly written for Ubuntu: they are
> very likely to misbehave, if we block when the screen is off.
> Or maybe we won't ever make eglSwapBuffers() blocking on the desktop?

I think it comes down to clarifying the semantics/understanding of
eglSwapBuffers and how to handle blocking behavior. I don't think we
should answer the question hastily and based on input of one toolkit
but instead strive for finding the "right" answer here.

Cheers,

  Thomas

>
> Ciao,
>   Alberto
>


References