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
ca537697
Kaydet (Commit)
ca537697
authored
Eyl 29, 2014
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
chart2: take the mutex to update the chart structures.
Change-Id: I8ee6ec81913c008eeb67cd70a2490b523b0d8177
üst
65277f99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
GL3DBarChart.cxx
chart2/source/view/charttypes/GL3DBarChart.cxx
+3
-0
No files found.
chart2/source/view/charttypes/GL3DBarChart.cxx
Dosyayı görüntüle @
ca537697
...
@@ -128,6 +128,8 @@ void RenderThread::renderFrame()
...
@@ -128,6 +128,8 @@ void RenderThread::renderFrame()
mpChart
->
mpWindow
->
getContext
().
makeCurrent
();
mpChart
->
mpWindow
->
getContext
().
makeCurrent
();
mpChart
->
renderFrame
();
mpChart
->
renderFrame
();
// FIXME: SwapBuffers can take a considerable time, it'd be
// nice if we didn't hold the chart mutex while doing that.
mpChart
->
mpWindow
->
getContext
().
swapBuffers
();
mpChart
->
mpWindow
->
getContext
().
swapBuffers
();
mpChart
->
mpWindow
->
getContext
().
resetCurrent
();
mpChart
->
mpWindow
->
getContext
().
resetCurrent
();
}
}
...
@@ -1176,6 +1178,7 @@ int GL3DBarChart::calcTimeInterval(TimeValue &startTime, TimeValue &endTime)
...
@@ -1176,6 +1178,7 @@ int GL3DBarChart::calcTimeInterval(TimeValue &startTime, TimeValue &endTime)
void
GL3DBarChart
::
updateScreenText
()
void
GL3DBarChart
::
updateScreenText
()
{
{
SharedResourceAccess
(
maCond1
,
maCond2
);
SharedResourceAccess
(
maCond1
,
maCond2
);
osl
::
MutexGuard
aGuard
(
maMutex
);
maScreenTextShapes
.
clear
();
maScreenTextShapes
.
clear
();
mpRenderer
->
ReleaseScreenTextShapes
();
mpRenderer
->
ReleaseScreenTextShapes
();
updateRenderFPS
();
updateRenderFPS
();
...
...
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