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
580c7088
Kaydet (Commit)
580c7088
authored
Haz 23, 2015
tarafından
Pranav Kant
Kaydeden (comit)
Miklos Vajna
Haz 29, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tilebuffer: Add timer to measure paintTile() call
Change-Id: I2645863c7445e17d77e2c4e2dc24e22f8685034e
üst
da49b833
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
tilebuffer.cxx
libreofficekit/source/gtk/tilebuffer.cxx
+4
-1
No files found.
libreofficekit/source/gtk/tilebuffer.cxx
Dosyayı görüntüle @
580c7088
...
...
@@ -91,7 +91,7 @@ Tile& TileBuffer::getTile(int x, int y, float aZoom)
aTileRectangle
.
x
=
pixelToTwip
(
nTileSizePixels
,
aZoom
)
*
y
;
aTileRectangle
.
y
=
pixelToTwip
(
nTileSizePixels
,
aZoom
)
*
x
;
g_
info
(
"Rendering (%d, %d)"
,
x
,
y
);
g_
test_timer_start
(
);
m_pLOKDocument
->
pClass
->
paintTile
(
m_pLOKDocument
,
pBuffer
,
nTileSizePixels
,
nTileSizePixels
,
...
...
@@ -99,6 +99,9 @@ Tile& TileBuffer::getTile(int x, int y, float aZoom)
pixelToTwip
(
nTileSizePixels
,
aZoom
),
pixelToTwip
(
nTileSizePixels
,
aZoom
));
double
elapsedTime
=
g_test_timer_elapsed
();
g_info
(
"Rendered (%d, %d) in %f seconds"
,
x
,
y
,
elapsedTime
);
//create a mapping for it
m_mTiles
[
index
].
setPixbuf
(
pPixBuf
);
m_mTiles
[
index
].
valid
=
true
;
...
...
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