UnityTech / UIWidgets

UIWidget is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.
Other
1.97k stars 256 forks source link

Performance in Vulkan #442

Open shdeng opened 3 years ago

shdeng commented 3 years ago

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 commented 3 years ago

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

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

zhuxingwei commented 3 years ago

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.

dean-nxa commented 3 years ago

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。非常期待新版本的发布!