egl-helpers: add dmabuf import support
commit86c0522c63e84ee9a98b9cd9cf6588faba1bac23
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Oct 2017 13:54:51 +0000 (10 15:54 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Oct 2017 08:25:42 +0000 (17 10:25 +0200)
treed079090e808f20fcd9c19cbf5917ac5c9e283432
parent2e1d70b9e03ca3f1c6185b54010bc9e47e0a0d0c
egl-helpers: add dmabuf import support

Add helper function to import a dma-buf as opengl texture.
Also add a helper to release the texture again.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20171010135453.6704-5-kraxel@redhat.com
include/ui/egl-helpers.h
ui/egl-helpers.c