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
5670184e
Kaydet (Commit)
5670184e
authored
Kas 13, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
no way to construct a MultiScreenGlyph now
üst
74730d4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
36 deletions
+1
-36
gcach_xpeer.cxx
vcl/unx/generic/gdi/gcach_xpeer.cxx
+1
-35
gcach_xpeer.hxx
vcl/unx/generic/gdi/gcach_xpeer.hxx
+0
-1
No files found.
vcl/unx/generic/gdi/gcach_xpeer.cxx
Dosyayı görüntüle @
5670184e
...
...
@@ -42,18 +42,6 @@
// ===========================================================================
// all glyph specific data needed by the XGlyphPeer is quite trivial
// with one exception: if multiple screens are involved and non-antialiased
// glyph rendering is active, then we need screen specific pixmaps
struct
MultiScreenGlyph
{
const
RawBitmap
*
mpRawBitmap
;
Glyph
maXRGlyphId
;
Pixmap
maPixmaps
[
1
];
// [mnMaxScreens]
};
// ===========================================================================
X11GlyphPeer
::
X11GlyphPeer
()
:
mpDisplay
(
GetGenericData
()
->
GetSalDisplay
()
->
GetDisplay
()
)
,
mnMaxScreens
(
0
)
...
...
@@ -96,7 +84,7 @@ X11GlyphPeer::~X11GlyphPeer()
// ===========================================================================
enum
{
INFO_EMPTY
=
0
,
INFO_PIXMAP
,
INFO_XRENDER
,
INFO_RAWBMP
,
INFO_MULTISCREEN
};
enum
{
INFO_EMPTY
=
0
,
INFO_PIXMAP
,
INFO_XRENDER
,
INFO_RAWBMP
};
static
const
Glyph
NO_GLYPHID
=
0
;
static
RawBitmap
*
const
NO_RAWBMP
=
NULL
;
static
const
Pixmap
NO_PIXMAP
=
~
0
;
...
...
@@ -112,9 +100,6 @@ void X11GlyphPeer::RemovingFont( ServerFont& rServerFont )
case
INFO_RAWBMP
:
// nothing to do
break
;
case
INFO_MULTISCREEN
:
// cannot happen...
break
;
case
INFO_XRENDER
:
XRenderPeer
::
GetInstance
().
FreeGlyphSet
(
(
GlyphSet
)
pFontExt
);
...
...
@@ -151,25 +136,6 @@ void X11GlyphPeer::RemovingGlyph( ServerFont& /*rServerFont*/, GlyphData& rGlyph
}
break
;
case
INFO_MULTISCREEN
:
{
MultiScreenGlyph
*
pMSGlyph
=
reinterpret_cast
<
MultiScreenGlyph
*>
(
pGlyphExt
);
for
(
int
i
=
0
;
i
<
mnMaxScreens
;
++
i
)
{
if
(
pMSGlyph
->
maPixmaps
[
i
]
==
NO_PIXMAP
)
continue
;
if
(
pMSGlyph
->
maPixmaps
[
i
]
==
None
)
continue
;
XFreePixmap
(
mpDisplay
,
pMSGlyph
->
maPixmaps
[
i
]
);
mnBytesUsed
-=
nHeight
*
((
nWidth
+
7
)
>>
3
);
}
delete
pMSGlyph
->
mpRawBitmap
;
// Glyph nGlyphId = (Glyph)rGlyphData.GetExtPointer();
// XRenderPeer::GetInstance().FreeGlyph( aGlyphSet, &nGlyphId );
delete
[]
pMSGlyph
;
// it was allocated with new char[]
}
break
;
case
INFO_RAWBMP
:
{
RawBitmap
*
pRawBitmap
=
(
RawBitmap
*
)
pGlyphExt
;
...
...
vcl/unx/generic/gdi/gcach_xpeer.hxx
Dosyayı görüntüle @
5670184e
...
...
@@ -36,7 +36,6 @@
#include "generic/glyphcache.hxx"
class
SalDisplay
;
struct
MultiScreenGlyph
;
class
X11GlyphPeer
:
public
GlyphCachePeer
...
...
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