UIWidgets icon indicating copy to clipboard operation
UIWidgets copied to clipboard

Performance in Vulkan

Open shdeng opened this issue 5 years ago • 3 comments
trafficstars

We found the UIWidget view rendering performance dropped significantly when using Vulkan (about 40% lower than that in OpenGLES). Any possible reason we might can check further?

我们发现当在项目中使用Vulkan作为图形API时,和使用OpenGLES时相比,整个UIWidget界面FPS会降低30 - 40%左右。不知道是否有什么方向我们可以进一步检查以确定问题所在?

shdeng avatar Sep 25 '20 07:09 shdeng

Tried to enforce using non-ComputeBuffer shaders in Vulkan but see no difference.

尝试在Vulkan下强制使用非ComputerBuffer的着色器组,但是性能与原来没有区别,依然和OpenGL环境下有明显的差距。

shdeng avatar Sep 26 '20 10:09 shdeng

Thanks for your question!

Sorry we don't have a clear answer to your question, but it might be relevant to issues in Unity (instead of uiwidgets).

btw, we are currently working on a big milestone to address the performance issue as a whole. Maybe you can still use opengles by now and try vulkan later when the milestone is landed.

zhuxingwei avatar Nov 27 '20 02:11 zhuxingwei

Thank you for your information! We have to use vulkan in our project because of critical performance needs in core functionalities. Looking forward to the coming milestone release!

谢谢!由于核心功能相对极端的渲染效率需求,我们的项目中还是继续使用了vulkan。非常期待新版本的发布!

dean-nxa avatar Nov 29 '20 06:11 dean-nxa