ui/gtk: Create a common release_dmabuf helper
commit89faed62af70283d5b6d38a58a1cf40535242c51
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Tue, 14 Sep 2021 21:18:33 +0000 (14 14:18 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Sep 2021 06:41:59 +0000 (15 08:41 +0200)
tree4f4e6ba25d3f70736b89a85ce2bc1fdc0ee88467
parenteb94846280df3f1e2a91b6179fc05f9890b7e384
ui/gtk: Create a common release_dmabuf helper

Since the texture release mechanism is same for both gtk-egl
and gtk-glarea, move the helper from gtk-egl to common gtk
code so that it can be shared by both gtk backends.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210914211837.3229977-2-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/gtk.h
ui/gtk-egl.c
ui/gtk.c