Re: [Mesa-dev] [PATCH v2] gbm/drm: Pick the oldest available buffer in get_back_bo

2017-01-11 Thread Daniel Stone
Hey Emil, On 11 January 2017 at 16:24, Emil Velikov wrote: > On 25 November 2016 at 16:57, Emil Velikov wrote: >> Don't we want to apply this in the platform_wayland as well ? >> One thing that comes to mind is that wayland does purge the >> old/unlocked buffers via update_buffers() thus the sce

Re: [Mesa-dev] [PATCH v2] gbm/drm: Pick the oldest available buffer in get_back_bo

2017-01-11 Thread Emil Velikov
On 25 November 2016 at 16:57, Emil Velikov wrote: > On 23 November 2016 at 22:40, Derek Foreman wrote: >> Applications may query the back buffer age to efficiently perform >> partial updates. Generally the application will keep a fixed length >> damage history, and use this to calculate what need

Re: [Mesa-dev] [PATCH v2] gbm/drm: Pick the oldest available buffer in get_back_bo

2016-11-25 Thread Emil Velikov
On 23 November 2016 at 22:40, Derek Foreman wrote: > Applications may query the back buffer age to efficiently perform > partial updates. Generally the application will keep a fixed length > damage history, and use this to calculate what needs to be redrawn > based on the age of the back buffer it

Re: [Mesa-dev] [PATCH v2] gbm/drm: Pick the oldest available buffer in get_back_bo

2016-11-25 Thread Pekka Paalanen
On Wed, 23 Nov 2016 16:40:42 -0600 Derek Foreman wrote: > Applications may query the back buffer age to efficiently perform > partial updates. Generally the application will keep a fixed length > damage history, and use this to calculate what needs to be redrawn > based on the age of the back buf

[Mesa-dev] [PATCH v2] gbm/drm: Pick the oldest available buffer in get_back_bo

2016-11-23 Thread Derek Foreman
Applications may query the back buffer age to efficiently perform partial updates. Generally the application will keep a fixed length damage history, and use this to calculate what needs to be redrawn based on the age of the back buffer it's about to render to. If presented with a buffer that has