MantisBT - Open CASCADE
View Issue Details
0023243Open CASCADE[OCCT] OCCT:Visualizationpublic2012-07-04 12:132015-05-25 11:55
kgv 
bugmaster 
normalfeature 
closedfixed 
MacOSX
[OCCT] 6.5.3 
[OCCT] 6.6.0[OCCT] 6.6.0 
0023243: Adapt OpenGL viewer for using in Cocoa applications on Mac OS X
Currently OCCT 3D Viewer requires X11 server on UNIX systems.
However X11 in Mac OS X provided for compatibility using optional XQuartz component with significant limitations.

This is suggested to implement GL window using Cocoa:
- TKService, new class should provide minimal support for low-level window manipulations (as an alternative to Xw_Window).
- TKOpenGL should be linked against system OpenGL framework instead of GLX and implement appropriate low-level GL context manipulations.
- TKViewTest should implement new event loop to use new window class on Mac OS X.

Notice that GLX implementation should be still optionally available (using special compilation macros MACOSX_USE_GLX).
No tags attached.
parent of 0023629closed bugmaster Open CASCADE Add support for Cocoa frameworks dependencies in EXTERNLIB 
parent of 0023841closed dbv Community Redundant assignment to itself. 
related to 0023656closed bugmaster Open CASCADE Samples - create new sample application based on Cocoa 
related to 0023682closed dbv Open CASCADE Implement Draw_Window with Cocoa framework 
related to 0023712closed dbv Open CASCADE Remove the dependency on the Aspect_GraphicDevice from Aspect_Window 
Issue History
2012-07-04 12:13kgvNew Issue
2012-07-04 12:13kgvAssigned To => dbv
2012-10-02 11:29abvTarget Version6.5.4 => 6.6.0
2012-12-11 11:34kgvRelationship addedparent of 0023629
2012-12-18 19:32dbvStatusnew => assigned
2012-12-18 20:33dbvNote Added: 0022752
2012-12-18 20:33dbvStatusassigned => resolved
2012-12-18 20:36dbvNote Added: 0022753
2012-12-18 20:36dbvAssigned Todbv => bugmaster
2012-12-18 20:36dbvStatusresolved => reviewed
2012-12-19 12:27mkvAssigned Tobugmaster => mkv
2012-12-20 00:24kgvRelationship addedrelated to 0023656
2012-12-20 10:36bugmasterNote Added: 0022781
2012-12-20 10:36bugmasterAssigned Tomkv => dbv
2012-12-20 10:36bugmasterStatusreviewed => assigned
2012-12-21 16:40bugmasterStatusassigned => resolved
2012-12-21 16:41bugmasterStatusresolved => reviewed
2012-12-21 16:41bugmasterNote Added: 0022804
2012-12-21 16:41bugmasterStatusreviewed => tested
2012-12-24 17:59bugmasterChangeset attached => occt master 4fe56619
2012-12-24 17:59bugmasterAssigned Todbv => bugmaster
2012-12-24 17:59bugmasterStatustested => verified
2012-12-24 17:59bugmasterResolutionopen => fixed
2013-01-14 14:00kgvRelationship addedrelated to 0023682
2013-01-18 13:10kgvRelationship addedrelated to 0023712
2013-03-20 12:35abvRelationship addedparent of 0023841
2013-04-23 13:35aivStatusverified => closed
2013-04-29 15:24aivFixed in Version => 6.6.0
2015-05-25 11:55pkvRelationship addedparent of 0026263
2015-05-25 11:56pkvRelationship deletedparent of 0026263

Notes
(0022752)
dbv   
2012-12-18 20:33   
Class Cocoa_Window has been implemented for drawing windows on Mac OS with Cocoa framework
Implemented event manager for Cocoa_Window
OpenGl_Context and OpenGl_Window - added support for Cocoa OpenGL context
TKV3d - accept Cocoa_Window

Changes have been pushed to the git branch CR23243_1
(0022753)
dbv   
2012-12-18 20:36   
Dear bugmaster,

Please test
(0022781)
bugmaster   
2012-12-20 10:36   
Windows and Linux: compilation and testing is OK.

MacOS : problems of compilation
http://jenkins-test-01.nnov.opencascade.com/user/mnt/my-views/view/CR23243_1/job/mnt-CR23243_1-master_prepare_occt_MacOS/1/parsed_console/? [^]
(0022804)
bugmaster   
2012-12-21 16:41   
Branch CR23243 (and products from GIT master) was compiled on Linux and Windows platforms and tested.

Regressions:
Not detected

Improvements:
Not detected

Testing cases:
Not needed