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
302f567e
Kaydet (Commit)
302f567e
authored
Eyl 11, 2012
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make conditionally-compiled code easier to read
Change-Id: I6e855fd09ded2afc14379b75a7ab66b99588dd6b
üst
89488e43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
OGLTrans_TransitionerImpl.cxx
.../source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx
+14
-4
No files found.
slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx
Dosyayı görüntüle @
302f567e
...
...
@@ -212,6 +212,8 @@ protected:
private
:
static
void
impl_initializeOnce
(
bool
const
bGLXPresent
);
void
impl_createTexture
(
bool
useMipmap
,
uno
::
Sequence
<
sal_Int8
>&
data
,
const
OGLFormat
*
pFormat
);
bool
initWindowFromSlideShowView
(
const
uno
::
Reference
<
presentation
::
XSlideShowView
>&
xView
);
/** After the window has been created, and the slides have been set, we'll initialize the slides with OpenGL.
*/
...
...
@@ -905,7 +907,19 @@ void OGLTransitionerImpl::createTexture( unsigned int* texID,
glTexParameteri
(
GL_TEXTURE_2D
,
GL_TEXTURE_MIN_FILTER
,
GL_NEAREST
);
}
}
else
{
impl_createTexture
(
useMipmap
,
data
,
pFormat
);
}
#else
impl_createTexture
(
useMipmap
,
data
,
pFormat
);
#endif
SAL_WARN_IF
(
!
glIsTexture
(
*
texID
),
"slideshow.opengl"
,
"Can't generate Leaving slide textures in OpenGL"
);
}
void
OGLTransitionerImpl
::
impl_createTexture
(
bool
useMipmap
,
uno
::
Sequence
<
sal_Int8
>&
data
,
const
OGLFormat
*
pFormat
)
{
if
(
!
pFormat
)
{
// force-convert color to ARGB8888 int color space
...
...
@@ -943,10 +957,6 @@ void OGLTransitionerImpl::createTexture( unsigned int* texID,
glTexParameterf
(
GL_TEXTURE_2D
,
GL_TEXTURE_MAX_ANISOTROPY_EXT
,
largest_supported_anisotropy
);
}
}
#if defined( GLX_VERSION_1_3 ) && defined( GLX_EXT_texture_from_pixmap )
}
#endif
SAL_WARN_IF
(
!
glIsTexture
(
*
texID
),
"slideshow.opengl"
,
"Can't generate Leaving slide textures in OpenGL"
);
}
void
OGLTransitionerImpl
::
prepareEnvironment
()
...
...
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