MantisBT - Open CASCADE
View Issue Details
0032433Open CASCADE[OCCT] OCCT:Visualizationpublic2021-06-10 20:552021-06-13 11:56
kgv 
bugmaster 
normalfeature 
verifiedfixed 
 
[OCCT] 7.6.0* 
Not required
0032433: Visualization, TKService - introduce Wasm_Window implementing Aspect_Window interface using Emscripten SDK
Currently applications targeting Emscripten SDK has to implement Aspect_Window on their own or Aspect_NeutralWindow (like WebGL sample does).

It would be helpful introducing Wasm_Window wrapping class as a part of TKService.
N/A
No tags attached.
related to 0032303new kgv Open CASCADE Draw Harness - fix compilation issues when using Emscripten SDK 
child of 0032306verified kgv Open CASCADE Draw Harness, ViewerTest - move window message processing to TKService 
Issue History
2021-06-10 20:55kgvNew Issue
2021-06-10 20:55kgvAssigned To => kgv
2021-06-10 22:05kgvRelationship addedrelated to 0032303
2021-06-10 22:05kgvRelationship addedchild of 0031070
2021-06-10 22:06gitNote Added: 0101763
2021-06-11 00:15gitNote Added: 0101766
2021-06-11 00:26kgvRelationship addedchild of 0032306
2021-06-11 00:42gitNote Added: 0101767
2021-06-11 00:57gitNote Added: 0101768
2021-06-11 08:38gitNote Added: 0101769
2021-06-11 08:40kgvNote Added: 0101770
2021-06-11 08:40kgvAssigned Tokgv => bugmaster
2021-06-11 08:40kgvStatusnew => resolved
2021-06-11 08:40kgvStatusresolved => reviewed
2021-06-12 11:52gitNote Added: 0101800
2021-06-13 11:13bugmasterNote Added: 0101811
2021-06-13 11:13bugmasterStatusreviewed => tested
2021-06-13 11:32bugmasterTest case number => Not required
2021-06-13 11:41bugmasterChangeset attached => occt master f9ab9f7f
2021-06-13 11:41bugmasterStatustested => verified
2021-06-13 11:41bugmasterResolutionopen => fixed
2021-06-13 11:56gitNote Added: 0101817

Notes
(0101763)
git   
2021-06-10 22:06   
Branch CR32433 has been created by kgv.

SHA-1: b57c5460006616d2f04a0c261c1f7b4807a34c7e


Detailed log of new commits:

Author: kgv
Date: Sun Apr 25 17:51:49 2021 +0300

    0032433: Visualization, TKService - introduce Wasm_Window implementing Aspect_Window interface using Emscripten SDK
    
    Introduced Wasm_Window implementing Aspect_Window interface.
    
    Aspect_WindowInputListener has been extended by touch input callbacks (moved from AIS_ViewController),
    which now implements redirection of single taps to UpdateMouseClick().
    
    AIS_ViewController::FetchNavigationKeys() now requests more frames even if Delta is zero,
    but navigation keys are pressed - indicated by a new flag AIS_WalkDelta::IsDefined().
    
    Fixed missing implementation of Xw_Window::DisplayConnection() getter.
    The property has been moved to the base class Aspect_Window.
    
    Removed unused Aspect_Convert.hxx.
    
    DRAWEXE targeting Wasm:
    - added exposing of FS interface so that it is possible uploading/downloading files to/from emulated file system on JavaScript level;
    - added printer redirecting messages to Module.printMessage callback accepting message gravity;
    - Run_Appli() now skips std::cin when Module.noExitRuntime is set.
(0101766)
git   
2021-06-11 00:15   
Branch CR32433 has been updated forcibly by kgv.

SHA-1: 677939911b393afb933d326a4e311426a581715f
(0101767)
git   
2021-06-11 00:42   
Branch CR32433 has been updated forcibly by kgv.

SHA-1: 737b6452300016cd5d6c2dbe7411ddb5df40234e
(0101768)
git   
2021-06-11 00:57   
Branch CR32433 has been updated forcibly by kgv.

SHA-1: d91c4384b3705f2c86b574e923e100b1f6699cc9
(0101769)
git   
2021-06-11 08:38   
Branch CR32433 has been updated forcibly by kgv.

SHA-1: c25cbbb0321145ccd83913391bb2261aafadfaa2
(0101770)
kgv   
2021-06-11 08:40   
Please raise the patch
- OCCT: branch CR32433.

http://jenkins-test-occt.nnov.opencascade.com/view/CR32433-master-KGV/ [^]
(0101800)
git   
2021-06-12 11:52   
Branch CR32433 has been updated by kgv.

SHA-1: daf351ba731ea947db46f5476d3da7d6542d9d3e


Detailed log of new commits:

Author: kgv
Date: Sat Jun 12 11:52:24 2021 +0300

    # fix compilation on obsolete compilers

(0101811)
bugmaster   
2021-06-13 11:13   
Combination -
OCCT branch : IR-2021-06-11
master SHA - f9ab9f7f1c949c9da13f42443208a6e9b0e41d70
a87b7ddc8cb44606b91e3f37113847c3f5f50fdc
Products branch : IR-2021-06-11 SHA - d56d13cc84edf3d8321cc5373683872ec5a9fe74
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17450.34000000035 / 17504.380000000427 [-0.31%]
Products
Total CPU difference: 11477.360000000128 / 11532.860000000106 [-0.48%]
Windows-64-VC14:
OCCT
Total CPU difference: 19191.5625 / 19141.46875 [+0.26%]
Products
Total CPU difference: 12904.59375 / 12831.25 [+0.57%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0101817)
git   
2021-06-13 11:56   
Branch CR32433 has been deleted by mnt.

SHA-1: daf351ba731ea947db46f5476d3da7d6542d9d3e