Closed w-pearson closed 4 months ago
What device are you seeing this on?
I've tried on:
All rendered the selection screen whilst background capturing. The Vivo and Samsung presented as OpenGL ES but like yours the Pixel had "API: Vulkan (Not Presenting)" and Warning - Required size changed on image between external/non-external, banning dedicated memory
printed in the log, but it was still displayed.
I'm seeing this on a Samsung development device. It's possible that it's limited to development devices or the driver I have on that development device; I'll check a personal device as well.
Looks like this was an issue with the development device; I could see the selection screen properly after I updated the Vulkan and GLES drivers. It seems unlikely to me that any production devices use the affected drivers. Sorry for not trying that first!
I did test on a personal Galaxy A15, and that one presented as OpenGL ES (and also was unaffected).
Description
Since ade34bb59da916d6fff1846ba1729e18248b2669, Android UI is completely black when capturing with renderdoc, though actual Vulkan rendering works fine.
Steps to reproduce
com.khronos.vulkan_samples/com.khronos.vulkan_samples.SampleLauncherActivity
without any intent arguments.I believe the relevant logcat output is this:
Note that the sample selection screen isn't presented using Vulkan - RenderDoc says "API: Vulkan (Not Presenting)" and the capture buttons are disabled. I'm not entirely sure how it works internally, beyond
SampleListView
usingandroid.view.View
. This might be implemented internally using ANGLE, but I'm not sure of that.I don't expect to be able to capture the selection screen with renderdoc, but being able to see it makes it much easier to select the correct sample.
Environment