melowntech / vts-browser-js

JavaScript WebGL 3D map rendering engine
BSD 2-Clause "Simplified" License
218 stars 42 forks source link

Error while integrating vts-browser-js in QT webengine on MacOS. #186

Open SukanyaGavhane opened 4 years ago

SukanyaGavhane commented 4 years ago

I am trying to integrate Vts-browser-js( v2.22.7) in QtwebEngine(Qt5.12.3) on Mac OS(Catalina) but getting the following errors.

[52886:83459:0609/174212.245657:ERROR:gles2_cmd_decoder.cc(10371)] [.WebGL-0x7ff08d83b600]PERFORMANCE WARNING: Attribute 0 is disabled. This has significant performance penalty js: [.WebGL-0x7ff08d83b600]PERFORMANCE WARNING: Attribute 0 is disabled. This has significant performance penalty.

according to the warning:- Somehow while setting up the GPU buffers, the enableVertexAttribArray is not gettings called.

Could you please suggest some methods to resolve the same?

Any inputs would be really appreciated!

davidmtech commented 4 years ago

Unfortunately I do not have required setup to replicate these results.