0032723: Draw Harness, ViewerTest - sloppy animation in WebGL
authorkgv <kgv@opencascade.com>
Tue, 7 Dec 2021 17:07:04 +0000 (20:07 +0300)
committersmoskvin <smoskvin@opencascade.com>
Thu, 9 Dec 2021 22:23:40 +0000 (01:23 +0300)
commite3dae4a9f33a1b478184d3513a1b6f360aef09a7
tree9a02ab20a05be32f5bac9d14c876904b3e48831f
parentf4f9ce4b77e5051b56bacda7c7ea160ac60abb1f
0032723: Draw Harness, ViewerTest - sloppy animation in WebGL

Fixed emscripten_async_call() calls to use requestAnimationFrame() instead of setTimeout().
ViewerTest_EventManager::handleViewRedraw() - fixed queuing new onWasmRedrawView()
before previous one has been processed (leading to multiplying of pending redraws executed at the same time).
RWGltf_TriangulationReader::readDracoBuffer - suppressed CLang compilation warnings.
samples/webgl/WasmOcctView.cpp
samples/webgl/WasmOcctView.h
src/RWGltf/RWGltf_TriangulationReader.cxx
src/Standard/Standard_WarningsDisable.hxx
src/ViewerTest/ViewerTest_EventManager.cxx
src/ViewerTest/ViewerTest_EventManager.hxx