Difference between revisions of "Mac OS X Porting - OpenGL transitions"

From Apache OpenOffice Wiki
Jump to: navigation, search
(2) Timeline)
(3) Concerned files / ideas)
Line 8: Line 8:
 
Expected timeline: october / november 2008
 
Expected timeline: october / november 2008
  
=== 3) Concerned files / ideas ===
+
=== Concerned files / ideas ===
  
==== '''3.1) Ideas''' ====
+
==== '''1) Ideas''' ====
  
 
implement a customized OpenGLView in the vcl/aqua/inc/salframe.h and/or vcl/aqua/inc/salframeview.h
 
implement a customized OpenGLView in the vcl/aqua/inc/salframe.h and/or vcl/aqua/inc/salframeview.h
Line 16: Line 16:
 
Pb:  visibility of the headers from slideshow
 
Pb:  visibility of the headers from slideshow
  
==== 3.2) concerned files ====
+
==== 2) concerned files ====
  
 
Build the lib
 
Build the lib
Line 46: Line 46:
 
slideshow/source/engine/OGLTrans/aquaOpenGLView.m
 
slideshow/source/engine/OGLTrans/aquaOpenGLView.m
  
==== '''Issues attached to the task''' ====
+
=== '''Issues attached to the task''' ===
  
 
[http://www.openoffice.org/issues/show_bug.cgi?id=93013 issue 93013]
 
[http://www.openoffice.org/issues/show_bug.cgi?id=93013 issue 93013]
 
  
 
==='''4) To do (draft)'''===
 
==='''4) To do (draft)'''===

Revision as of 12:13, 22 August 2008

OpenGL transitions on Mac OS X

Goal

Make OpenGL transitions work in Impress, on Mac OS X Aqua

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

issue 93013

4) 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


5) 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

Apple OpenGL Documentation

Cocoa OpenGL

Custom GLView

NSView + OpenGLView in Apple database

NSOpenGLView initialisation issue

COMPLETE ME

Personal tools