constify slideshow.
Change-Id: I548f527be4be76a2bda43dcb5ee14e4f50f3b409
This commit is contained in:
committed by
Markus Mohrhard
parent
e8757c22e3
commit
1af1ff30bd
@@ -446,7 +446,7 @@ void OGLTransitionerImpl::impl_prepareSlides()
|
|||||||
|
|
||||||
#if defined( GLX_EXT_texture_from_pixmap )
|
#if defined( GLX_EXT_texture_from_pixmap )
|
||||||
|
|
||||||
GLWindow& rGLWindow(mpContext->getOpenGLWindow());
|
const GLWindow& rGLWindow(mpContext->getOpenGLWindow());
|
||||||
|
|
||||||
if( GLXEW_EXT_texture_from_pixmap && xLeavingSet.is() && xEnteringSet.is() && mbHasTFPVisual ) {
|
if( GLXEW_EXT_texture_from_pixmap && xLeavingSet.is() && xEnteringSet.is() && mbHasTFPVisual ) {
|
||||||
Sequence< Any > leaveArgs;
|
Sequence< Any > leaveArgs;
|
||||||
@@ -1218,7 +1218,7 @@ void SAL_CALL OGLTransitionerImpl::update( double nTime ) throw (uno::RuntimeExc
|
|||||||
|
|
||||||
if(mpTransition)
|
if(mpTransition)
|
||||||
{
|
{
|
||||||
GLWindow& rGLWindow(mpContext->getOpenGLWindow());
|
const GLWindow& rGLWindow(mpContext->getOpenGLWindow());
|
||||||
mpTransition->display( nTime, maLeavingSlideGL, maEnteringSlideGL,
|
mpTransition->display( nTime, maLeavingSlideGL, maEnteringSlideGL,
|
||||||
maSlideSize.Width, maSlideSize.Height,
|
maSlideSize.Width, maSlideSize.Height,
|
||||||
static_cast<double>(rGLWindow.Width),
|
static_cast<double>(rGLWindow.Width),
|
||||||
@@ -1261,7 +1261,7 @@ void OGLTransitionerImpl::disposeTextures()
|
|||||||
mpContext->makeCurrent();
|
mpContext->makeCurrent();
|
||||||
|
|
||||||
#if defined( GLX_EXT_texture_from_pixmap )
|
#if defined( GLX_EXT_texture_from_pixmap )
|
||||||
GLWindow& rGLWindow(mpContext->getOpenGLWindow());
|
const GLWindow& rGLWindow(mpContext->getOpenGLWindow());
|
||||||
|
|
||||||
if( mbUseLeavingPixmap ) {
|
if( mbUseLeavingPixmap ) {
|
||||||
glXReleaseTexImageEXT( rGLWindow.dpy, maLeavingPixmapGL, GLX_FRONT_LEFT_EXT );
|
glXReleaseTexImageEXT( rGLWindow.dpy, maLeavingPixmapGL, GLX_FRONT_LEFT_EXT );
|
||||||
|
Reference in New Issue
Block a user