Difference between revisions of "Mac OS X Porting - OpenGL transitions"
(→Goal) |
(→Timeline) |
||
Line 5: | Line 5: | ||
Make OpenGL transitions work in Impress, on Mac OS X Aqua | Make OpenGL transitions work in Impress, on Mac OS X Aqua | ||
− | === Timeline === | + | === 2) Timeline === |
Expected timeline: october / november 2008 | Expected timeline: october / november 2008 | ||
− | |||
=== Concerned files / ideas === | === Concerned files / ideas === |
Revision as of 12:10, 22 August 2008
Contents
OpenGL transitions on Mac OS X
1) Goal
Make OpenGL transitions work in Impress, on Mac OS X Aqua
2) Timeline
Expected timeline: october / november 2008
Concerned files / ideas
1) Ideas
implement a customized OpenGLView in the vcl/aqua/inc/salframe.h and/or vcl/aqua/inc/salframeview.h
Pb: visibility of the headers from slideshow
2) concerned files
Build the lib
slideshow/source/engine/OGLTrans/makefile.mk
add the case Aqua, modify CFLAGSCXX + add fremaworks OpenGL, GLUT and Cocoa for linking
Deliver the libs / includes:
slideshow/prj/d.lst
deliver the new lib on Aqua ( libOGLTrans.dylib )
New :
slideshow/source/engine/OGLTrans/OglTrans_TransitionImpl.cxx
slideshow/source/engine/OGLTrans/OglTrans_TransitionImpl.hxx
slideshow/source/engine/OGLTrans/OglTrans_TransitionerImpl.cxx
New files (to be confirmed) :
slideshow/source/engine/OGLTrans/aquaOpenGLView.h
slideshow/source/engine/OGLTrans/aquaOpenGLView.m
Issues attached to the task
To do (draft)
- build the OpenGL trans lib, warning free, on Mac OS X
- [DONE] fix warnings and breakages, with empty implementation
- [DONE] fix linking
- [DONE] create customized NSView (skeleton, and pre-implementation)
- [DONE] add the lib to the package
- register the lib
- Design the first implementation
- implement NSOpenGLView or customize an NSView
- manage OpenGL context
- manage OpenGL pixels mapping
- manage events and notifications critical
- initialize the view properly in splitted view
- implement the fullscreen mode
- finalize the transitions integration in Aqua bundle
- make transitions work
- test
- integrate
Concerned modules:
- config_office : make OpenGL default on Mac OS X Aqua => ENABLE_OPENGL=TRUE
- slideshow : where the lib is built. This lib is linked with libvcl ( vcl must be built before slideshow )
- vcl ( add NSOpenGLView* in salframe.h ? / implement it in NSApp + NSApp should receive notifications, maybe an object should be added and managed)
- scp2 : to add the new lib in the package
- other changes ?
Page created Ericb 11:55, 22 August 2008 (CEST)
LINKS
NSView + OpenGLView in Apple database
NSOpenGLView initialisation issue
COMPLETE ME