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
8ca055f5
Kaydet (Commit)
8ca055f5
authored
Ara 01, 2016
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rename to avoid further misunderstandings
Change-Id: Ibcfae1b3ec118d74921312a80eb56c97c623f4a9
üst
9d902e26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
TransitionImpl.cxx
slideshow/source/engine/opengl/TransitionImpl.cxx
+2
-2
TransitionImpl.hxx
slideshow/source/engine/opengl/TransitionImpl.hxx
+1
-1
No files found.
slideshow/source/engine/opengl/TransitionImpl.cxx
Dosyayı görüntüle @
8ca055f5
...
...
@@ -111,7 +111,7 @@ static std::vector<int> uploadPrimitives(const Primitives_t& primitives)
{
int
size
=
0
;
for
(
const
Primitive
&
primitive
:
primitives
)
size
+=
primitive
.
getVerticesSize
();
size
+=
primitive
.
getVertices
Byte
Size
();
CHECK_GL_ERROR
();
glBufferData
(
GL_ARRAY_BUFFER
,
size
,
nullptr
,
GL_STATIC_DRAW
);
...
...
@@ -1998,7 +1998,7 @@ void GlitterTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int3
// Upload the center of each hexagon.
const
Primitive
&
primitive
=
getScene
().
getLeavingSlide
()[
0
];
int
nbVertices
=
primitive
.
getVerticesSize
()
/
sizeof
(
Vertex
);
int
nbVertices
=
primitive
.
getVertices
Byte
Size
()
/
sizeof
(
Vertex
);
std
::
vector
<
ThreeFloats
>
vertices
;
for
(
int
i
=
2
;
i
<
nbVertices
;
i
+=
18
)
{
const
glm
::
vec3
&
center
=
primitive
.
getVertex
(
i
);
...
...
slideshow/source/engine/opengl/TransitionImpl.hxx
Dosyayı görüntüle @
8ca055f5
...
...
@@ -340,7 +340,7 @@ public:
@return
the size in bytes of the Vertices data
*/
int
getVerticesSize
()
const
{
return
Vertices
.
size
()
*
sizeof
(
Vertex
);}
int
getVertices
Byte
Size
()
const
{
return
Vertices
.
size
()
*
sizeof
(
Vertex
);}
/** copies all vertices to the C array passed
...
...
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