summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-23 19:07:18 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-04-24 12:22:42 +0300
commit4005503177b0525aeb4f440b903cb644bdf2b54c (patch)
tree87cfcb31d448def72d59f6cdea8835c080cdbdca /slideshow
parent2a0444f7ad5178223efcb2870735c6115f30eb89 (diff)
Bin commented-out code
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm42
1 files changed, 0 insertions, 42 deletions
diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
index c173a012e4a6..909f79438039 100644
--- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
+++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
@@ -168,7 +168,6 @@ protected:
return (rBHelper.bDisposed || rBHelper.bInDispose);
}
-// bool createWindow( Window* pPWindow );
void createTexture(GLuint* texID,
bool useMipmap,
uno::Sequence<sal_Int8>& data,
@@ -349,47 +348,6 @@ bool OGLTransitionerImpl::initialize( const Reference< presentation::XSlideShowV
return cbGLXPresent;
}
-/*bool OGLTransitionerImpl::createWindow( Window* pPWindow )
-{
- const SystemEnvData* sysData(pPWindow->GetSystemData());
-
- GLWin.apView = sysData->pView;
-
- NSOpenGLPixelFormat* fmt = [AquaOpenGLView defaultPixelFormat];
- Window *pFrameWindow = pPWindow->GetWindow(WINDOW_FRAME);
- Size aFrameSize( pFrameWindow->GetSizePixel() );
- Point aScreen( pPWindow->OutputToScreenPixel( Point() ) );
- GLWin.aInitFrame = (NSRect){ { aScreen.X(), aFrameSize.Height() - GLWin.Height - aScreen.Y() }, { GLWin.Width, GLWin.Height } };
-
- GLWin.pAquaOpenGLView = [[NSOpenGLView alloc]initWithFrame: GLWin.aInitFrame pixelFormat: fmt];
- OSL_ENSURE(GLWin.pAquaOpenGLView, "Could not create NSOPenGLView");
- if( !GLWin.pAquaOpenGLView )
- return false;
-//
- GLWin.pOpenGLContext = [GLWin.pAquaOpenGLView openGLContext];
- [GLWin.pOpenGLContext retain];
- [GLWin.pAquaOpenGLView setOpenGLContext:GLWin.pOpenGLContext];
- [sysData->pView addSubview:GLWin.pAquaOpenGLView];
-//
- if( pWindow )
- {
- pWindow->SetMouseTransparent( sal_True );
- pWindow->SetParentClipMode( PARENTCLIPMODE_NOCLIP );
- pWindow->EnableEraseBackground( sal_False );
- pWindow->SetControlForeground();
- pWindow->SetControlBackground();
- pWindow->EnablePaint(sal_False);
- pWindow->SetPosSizePixel(pPWindow->GetPosPixel(),pPWindow->GetSizePixel());
- // GLWin.dpy = reinterpret_cast<unx::Display*>(pChildSysData->pDisplay);
-// GLWin.win = pChildSysData->aWindow;
-
- return true;
- }
-
- return false;
-}
-*/
-
bool OGLTransitionerImpl::initWindowFromSlideShowView( const Reference< presentation::XSlideShowView >& xView )
{
osl::MutexGuard const guard( m_aMutex );