[Mesa-dev] [PATCH v2 4/7] egl/android: Refactor image creation to separate flink and prime paths (v2)

Chad Versace chad at kiwitree.net
Tue Aug 2 20:26:39 UTC 2016


On 08/02/2016 04:07 AM, Tomasz Figa wrote:
> This patch splits current dri2_create_image_android_native_buffer() into
> main entry point and two additional functions, one for creating an image
> from flink name and one for handling prime FDs using the generic DMA-buf
> path. This makes the code cleaner and also prepares for disabling flink
> path more easily in the future.
>
> v2: Split into separate patch.
>     Add error messages.
>
> Signed-off-by: Tomasz Figa <tfiga at chromium.org>
> ---
>  src/egl/drivers/dri2/platform_android.c | 99 +++++++++++++++++++--------------
>  1 file changed, 57 insertions(+), 42 deletions(-)

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



More information about the mesa-dev mailing list