#Why is WebGL so slow? I need to enable some parameter or option in Tauri?

17 messages · Page 1 of 1 (latest)

sand vessel
#

Title. I am trying to port a electron "app" that it heavily depends of WebGL (1 or 2) so I tried running some WebGL benchmarks on Tauri before porting it and the score is very, very low compared to the Chromium Engine.

Tauri: https://i.ayaya.beauty/mALU.png (When using WebGL either 1 or 2, the results are the same)

fierce nacelle
#

That was in release build? May not matter, anyway.

sand vessel
signal marten
#

We really need more information here

#

What OS, what does tauri info report

#

How are you integrating the benchmark

signal marten
#

I am not familiar with the benching tool. Is this an Intel Mac?

brave compass
#

Linux, which has been known to have poor painting performance but I've never tried testing OpenGL/WebGL.

signal marten
#

I was confused, because it says apple GPU in the first screenshot

brave compass
#

Good point, I forgot that it's possible to install Linux on Apple devices. I think "Apple GPU" only shows up for their own "M" series chips.

fierce nacelle
#

Since Tauri uses webkit2gtk and it is using WebKit, so yes, result will be like this.

#

It is tauri application running on Linux

signal marten
#

thanks for the insight

#

would a pure webgl window help you here?