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 <[email protected]> --- src/egl/drivers/dri2/platform_android.c | 99 +++++++++++++++++++-------------- 1 file changed, 57 insertions(+), 42 deletions(-)
Reviewed-by: Chad Versace <[email protected]> _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
