On 30 March 2017 at 11:55, Tomasz Figa <tf...@chromium.org> wrote: > Android buffer queues can be abandoned, which results in failing to > dequeue next buffer. Currently this would fail somewhere deep within > the DRI stack calling loader's getBuffers*(), without any error > reporting to the client app. However Android framework code relies on > proper signaling of this event, so we move buffer dequeue to > createWindowSurface() and swapBuffers() call, which can generate proper > EGL errors. To keep the performance benefits of delayed buffer handling, > if any, fence wait and DRI image creation is kept delayed until > getBuffers*() is called by the DRI driver. > Thank you Tomasz.
I'm fairly confident that this should resolve the crash [in swap_buffers] that Mauro was seeing. Mauro can you give it a test ? Not that huge of an expert on the Android specifics, so just a humble request: Can we seek the code resuffle (droid_{alloc,free}_local_buffer, other?) separate from the functionality changes ? -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev