Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bfb7199b authored by Ian Elliott's avatar Ian Elliott
Browse files

Vulkan: Work-around Android start-up race condition

Work-around a race condition during Android start-up, while the
`service.sf.present_timestamp` property is asynchronously working its
way from HWC to other processes (especially render engine).  This can
cause the two successive calls to EnumerateDeviceExtensionProperties
to have different numbers of extensions.  That causes the second call
to return VK_INCOMPLETE, which can cause vkCreateDevice() to fail.
The work-around is to add 1 to the "count" returned by the first call.

Test: Manual test with additional logging
Bug: b/206733351
Change-Id: I7b29998d670196d2af772f19be30b2e9498acfe0
parent 38a12996
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment