Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
ca82d9e7
Kaydet (Commit)
ca82d9e7
authored
Agu 27, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove that ugly underscore at the end of the method names
Change-Id: I3c81c9d8b89ddf18bdc5ae700b721ca71f2700bb
üst
63f49714
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
OGLTrans_TransitionImpl.cxx
...ource/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+18
-18
OGLTrans_TransitionImpl.hxx
...ource/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
+3
-3
No files found.
slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
Dosyayı görüntüle @
ca82d9e7
...
@@ -84,7 +84,7 @@ void OGLTransitionImpl::prepare( ::sal_Int32 glLeavingSlideTex, ::sal_Int32 glEn
...
@@ -84,7 +84,7 @@ void OGLTransitionImpl::prepare( ::sal_Int32 glLeavingSlideTex, ::sal_Int32 glEn
rSceneObjects
[
i
]
->
prepare
();
rSceneObjects
[
i
]
->
prepare
();
}
}
prepareTransition
_
(
glLeavingSlideTex
,
glEnteringSlideTex
);
prepareTransition
(
glLeavingSlideTex
,
glEnteringSlideTex
);
}
}
void
OGLTransitionImpl
::
finish
()
void
OGLTransitionImpl
::
finish
()
...
@@ -94,7 +94,7 @@ void OGLTransitionImpl::finish()
...
@@ -94,7 +94,7 @@ void OGLTransitionImpl::finish()
rSceneObjects
[
i
]
->
finish
();
rSceneObjects
[
i
]
->
finish
();
}
}
finishTransition
_
();
finishTransition
();
}
}
static
void
blendSlide
(
double
depth
)
static
void
blendSlide
(
double
depth
)
...
@@ -144,15 +144,15 @@ static void slideShadow( double nTime, const Primitive& primitive, double sw, do
...
@@ -144,15 +144,15 @@ static void slideShadow( double nTime, const Primitive& primitive, double sw, do
CHECK_GL_ERROR
();
CHECK_GL_ERROR
();
}
}
void
OGLTransitionImpl
::
prepare
_
(
double
,
double
,
double
,
double
,
double
)
void
OGLTransitionImpl
::
prepare
(
double
,
double
,
double
,
double
,
double
)
{
{
}
}
void
OGLTransitionImpl
::
prepareTransition
_
(
::
sal_Int32
,
::
sal_Int32
)
void
OGLTransitionImpl
::
prepareTransition
(
::
sal_Int32
,
::
sal_Int32
)
{
{
}
}
void
OGLTransitionImpl
::
finishTransition
_
()
void
OGLTransitionImpl
::
finishTransition
()
{
{
}
}
...
@@ -173,7 +173,7 @@ void OGLTransitionImpl::display( double nTime, ::sal_Int32 glLeavingSlideTex, ::
...
@@ -173,7 +173,7 @@ void OGLTransitionImpl::display( double nTime, ::sal_Int32 glLeavingSlideTex, ::
const
double
SlideHeightScale
=
SlideHeight
/
DispHeight
;
const
double
SlideHeightScale
=
SlideHeight
/
DispHeight
;
CHECK_GL_ERROR
();
CHECK_GL_ERROR
();
prepare
_
(
nTime
,
SlideWidth
,
SlideHeight
,
DispWidth
,
DispHeight
);
prepare
(
nTime
,
SlideWidth
,
SlideHeight
,
DispWidth
,
DispHeight
);
CHECK_GL_ERROR
();
CHECK_GL_ERROR
();
glPushMatrix
();
glPushMatrix
();
...
@@ -1132,11 +1132,11 @@ public:
...
@@ -1132,11 +1132,11 @@ public:
{}
{}
private
:
private
:
virtual
void
prepare
_
(
double
nTime
,
double
SlideWidth
,
double
SlideHeight
,
double
DispWidth
,
double
DispHeight
)
SAL_OVERRIDE
;
virtual
void
prepare
(
double
nTime
,
double
SlideWidth
,
double
SlideHeight
,
double
DispWidth
,
double
DispHeight
)
SAL_OVERRIDE
;
// mmPrepare = &OGLTransitionImpl::prepareDiamond;
// mmPrepare = &OGLTransitionImpl::prepareDiamond;
};
};
void
DiamondTransition
::
prepare
_
(
double
nTime
,
double
/* SlideWidth */
,
double
/* SlideHeight */
,
double
/* DispWidth */
,
double
/* DispHeight */
)
void
DiamondTransition
::
prepare
(
double
nTime
,
double
/* SlideWidth */
,
double
/* SlideHeight */
,
double
/* DispWidth */
,
double
/* DispHeight */
)
{
{
Primitive
Slide1
,
Slide2
;
Primitive
Slide1
,
Slide2
;
...
@@ -1390,9 +1390,9 @@ protected:
...
@@ -1390,9 +1390,9 @@ protected:
private
:
private
:
virtual
void
displaySlides_
(
double
nTime
,
::
sal_Int32
glLeavingSlideTex
,
::
sal_Int32
glEnteringSlideTex
,
double
SlideWidthScale
,
double
SlideHeightScale
)
SAL_OVERRIDE
;
virtual
void
displaySlides_
(
double
nTime
,
::
sal_Int32
glLeavingSlideTex
,
::
sal_Int32
glEnteringSlideTex
,
double
SlideWidthScale
,
double
SlideHeightScale
)
SAL_OVERRIDE
;
virtual
void
prepareTransition
_
(
::
sal_Int32
glLeavingSlideTex
,
::
sal_Int32
glEnteringSlideTex
)
SAL_OVERRIDE
;
virtual
void
prepareTransition
(
::
sal_Int32
glLeavingSlideTex
,
::
sal_Int32
glEnteringSlideTex
)
SAL_OVERRIDE
;
virtual
void
finishTransition
_
()
SAL_OVERRIDE
;
virtual
void
finishTransition
()
SAL_OVERRIDE
;
virtual
GLuint
makeShader
_
()
=
0
;
virtual
GLuint
makeShader
()
=
0
;
void
impl_preparePermShader
();
void
impl_preparePermShader
();
...
@@ -1426,14 +1426,14 @@ void ShaderTransition::displaySlides_( double nTime, ::sal_Int32 glLeavingSlideT
...
@@ -1426,14 +1426,14 @@ void ShaderTransition::displaySlides_( double nTime, ::sal_Int32 glLeavingSlideT
CHECK_GL_ERROR
();
CHECK_GL_ERROR
();
}
}
void
ShaderTransition
::
prepareTransition
_
(
::
sal_Int32
/* glLeavingSlideTex */
,
::
sal_Int32
/* glEnteringSlideTex */
)
void
ShaderTransition
::
prepareTransition
(
::
sal_Int32
/* glLeavingSlideTex */
,
::
sal_Int32
/* glEnteringSlideTex */
)
{
{
m_nProgramObject
=
makeShader
_
();
m_nProgramObject
=
makeShader
();
impl_preparePermShader
();
impl_preparePermShader
();
}
}
void
ShaderTransition
::
finishTransition
_
()
void
ShaderTransition
::
finishTransition
()
{
{
CHECK_GL_ERROR
();
CHECK_GL_ERROR
();
if
(
m_nProgramObject
)
{
if
(
m_nProgramObject
)
{
...
@@ -1549,10 +1549,10 @@ public:
...
@@ -1549,10 +1549,10 @@ public:
{}
{}
private
:
private
:
virtual
GLuint
makeShader
_
()
SAL_OVERRIDE
;
virtual
GLuint
makeShader
()
SAL_OVERRIDE
;
};
};
GLuint
StaticNoiseTransition
::
makeShader
_
()
GLuint
StaticNoiseTransition
::
makeShader
()
{
{
return
OpenGLHelper
::
LoadShaders
(
"basicVertexShader"
,
"staticFragmentShader"
);
return
OpenGLHelper
::
LoadShaders
(
"basicVertexShader"
,
"staticFragmentShader"
);
}
}
...
@@ -1600,10 +1600,10 @@ public:
...
@@ -1600,10 +1600,10 @@ public:
{}
{}
private
:
private
:
virtual
GLuint
makeShader
_
()
SAL_OVERRIDE
;
virtual
GLuint
makeShader
()
SAL_OVERRIDE
;
};
};
GLuint
DissolveTransition
::
makeShader
_
()
GLuint
DissolveTransition
::
makeShader
()
{
{
return
OpenGLHelper
::
LoadShaders
(
"basicVertexShader"
,
"dissolveFragmentShader"
);
return
OpenGLHelper
::
LoadShaders
(
"basicVertexShader"
,
"dissolveFragmentShader"
);
}
}
...
...
slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
Dosyayı görüntüle @
ca82d9e7
...
@@ -187,19 +187,19 @@ private:
...
@@ -187,19 +187,19 @@ private:
*
*
* Default implementation does nothing.
* Default implementation does nothing.
*/
*/
virtual
void
prepare
_
(
double
nTime
,
double
SlideWidth
,
double
SlideHeight
,
double
DispWidth
,
double
DispHeight
);
virtual
void
prepare
(
double
nTime
,
double
SlideWidth
,
double
SlideHeight
,
double
DispWidth
,
double
DispHeight
);
/** This function is called after glx context is ready to let the transition prepare GL related things, like GLSL program.
/** This function is called after glx context is ready to let the transition prepare GL related things, like GLSL program.
*
*
* Default implementation does nothing.
* Default implementation does nothing.
*/
*/
virtual
void
prepareTransition
_
(
::
sal_Int32
glLeavingSlideTex
,
::
sal_Int32
glEnteringSlideTex
);
virtual
void
prepareTransition
(
::
sal_Int32
glLeavingSlideTex
,
::
sal_Int32
glEnteringSlideTex
);
/** This function is called when the transition needs to clear after itself, like delete own textures etc.
/** This function is called when the transition needs to clear after itself, like delete own textures etc.
*
*
* Default implementation does nothing.
* Default implementation does nothing.
*/
*/
virtual
void
finishTransition
_
();
virtual
void
finishTransition
();
/** This function is called in display method to display the slides.
/** This function is called in display method to display the slides.
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment