mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
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.
This commit is contained in:
@@ -249,7 +249,7 @@ private:
|
||||
TCollection_AsciiString myCanvasId; //!< canvas element id on HTML page
|
||||
Graphic3d_Vec2i myWinSizeOld;
|
||||
float myDevicePixelRatio; //!< device pixel ratio for handling high DPI displays
|
||||
unsigned int myUpdateRequests; //!< counter for unhandled update requests
|
||||
unsigned int myNbUpdateRequests; //!< counter for unhandled update requests
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user