[Mesa-dev] [PATCH v2 2/7] egl/android: Respect buffer mask in droid_image_get_buffers (v2)

Chad Versace chad at kiwitree.net
Tue Aug 2 20:18:28 UTC 2016


On 08/02/2016 04:07 AM, Tomasz Figa wrote:
> Drivers can request different set of buffers depending on the buffer
> mask they pass to the get_buffers callback. This patch makes
> droid_image_get_buffers() respect this mask.
>
> v2: Return error only in case of real error condition and ignore requests
>     of unavailable buffers.
>
> Signed-off-by: Tomasz Figa <tfiga at chromium.org>
> ---
>  src/egl/drivers/dri2/platform_android.c | 20 +++++++++++++++-----
>  1 file changed, 15 insertions(+), 5 deletions(-)

Reviewed-by: Chad Versace <chad at kiwitree.net>



More information about the mesa-dev mailing list