Hi Emil,

On 18 May 2017 at 17:22, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 16 May 2017 at 11:02, Daniel Stone <dani...@collabora.com> wrote:
>> Ideally get_back_bo() failing should store a failure flag inside the
>> surface and cause the next SwapBuffers to fail, but for the meantime,
>> restore the correct behaviour such that get_back_bo() no longer fails.
> JFYI, we already have the egl/main plumbing and egl/android support. See 
> commits
>
> 23c86c74cc450a23848b85cfe914376caede1cdf
> 0212db350407e1331ff23f04136684cf2b7396cf
> e5eace586848511f4ceaffaa2d45131c31c45ae0

Fair enough. My thought was just to fail SwapBuffers, because failure
to acquire one image doesn't necessarily mean we'll never be able to
acquire any more images in future. It's also EGL_BAD_ALLOC rather than
EGL_BAD_NATIVE_WINDOW ...

Cheers,
Daniel
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to