projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
332f174
)
vkswapper: add inherit support
author
Matthew Waters
<matthew@centricular.com>
Thu, 17 Oct 2019 12:25:14 +0000
(23:25 +1100)
committer
Matthew Waters
<matthew@centricular.com>
Mon, 11 Nov 2019 00:04:59 +0000
(11:04 +1100)
Used on android
gst-libs/gst/vulkan/gstvkswapper.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/vulkan/gstvkswapper.c
b/gst-libs/gst/vulkan/gstvkswapper.c
index
ba34711
..
e7911d2
100644
(file)
--- a/
gst-libs/gst/vulkan/gstvkswapper.c
+++ b/
gst-libs/gst/vulkan/gstvkswapper.c
@@
-777,6
+777,9
@@
_allocate_swapchain (GstVulkanSwapper * swapper, GstCaps * caps,
} else if ((priv->surf_props.supportedCompositeAlpha &
VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR) != 0) {
alpha_flags = VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR;
+ } else if ((priv->surf_props.supportedCompositeAlpha &
+ VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR) != 0) {
+ alpha_flags = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR;
} else {
g_set_error (error, GST_VULKAN_ERROR,
VK_ERROR_INITIALIZATION_FAILED,